private void updateInstrument(AttitudeIndicatorInstrumentControl control, ARDrone.Control.ARDroneControl.DroneData droneData)
 {
     control.Invoke((MethodInvoker) delegate
     {
         control.SetAttitudeIndicatorParameters((droneData.Theta / 1000), -(droneData.Phi / 1000));
     });
 }
Esempio n. 2
0
 private void updateInstrument(AttitudeIndicatorInstrumentControl control)
 {
     control.Invoke((MethodInvoker) delegate
     {
         if (_navData != null)
         {
             control.SetAttitudeIndicatorParameters(_navData.Pitch, -_navData.Roll);
         }
     });
 }
 private void updateInstrument(AttitudeIndicatorInstrumentControl control, DroneData droneData)
 {
     control.Invoke((MethodInvoker)delegate
     {
         control.SetAttitudeIndicatorParameters((droneData.Theta), -(droneData.Phi));
     });
 }