private void updateInstrument(AttitudeIndicatorInstrumentControl control, DroneData droneData)
 {
     control.BeginInvoke((MethodInvoker) delegate
     {
         control.SetAttitudeIndicatorParameters((droneData.Theta), -(droneData.Phi));
     });
 }
 private void updateInstrument(AttitudeIndicatorInstrumentControl control, ARDrone.Control.ARDroneControl.DroneData droneData)
 {
     control.Invoke((MethodInvoker) delegate
     {
         control.SetAttitudeIndicatorParameters((droneData.Theta / 1000), -(droneData.Phi / 1000));
     });
 }
示例#3
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.BeginInvoke((MethodInvoker)delegate
     {
         control.SetAttitudeIndicatorParameters((droneData.Theta), -(droneData.Phi));
     });
 }
        private void updateInstrument(AttitudeIndicatorInstrumentControl control, ARDrone.Control.ARDroneControl.DroneData droneData)
        {
            control.Invoke((MethodInvoker)delegate
            {

                control.SetAttitudeIndicatorParameters((droneData.Theta / 1000), -(droneData.Phi / 1000));
            });
        }