/// <summary> /// Gets the actual Yaw of the drone /// </summary> public float getYawVel() { return(nSpeed.getNoise(yawVel)); }
/// <summary> /// Obtain the noise using the value passed as parameter and the past values /// </summary> /// <param name="val">Actual Vector3 which we need to apply the noise to</param> /// <returns></returns> public Vector3 getNoise(Vector3 val) { return(new Vector3(xN.getNoise(val.x), yN.getNoise(val.y), zN.getNoise(val.z))); }
/// <summary> /// Gets the actual Yaw of the drone /// </summary> public float getYaw() { return(nYaw.getNoise(yaw)); }