예제 #1
0
 /// <summary>
 /// Gets the actual Yaw of the drone
 /// </summary>
 public float getYawVel()
 {
     return(nSpeed.getNoise(yawVel));
 }
예제 #2
0
 /// <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)));
 }
예제 #3
0
 /// <summary>
 /// Gets the actual Yaw of the drone
 /// </summary>
 public float getYaw()
 {
     return(nYaw.getNoise(yaw));
 }