private void LeaveHoverMode() { Command leaveHoverModeCommand = new HoverModeCommand(DroneHoverMode.StopHovering); if (!droneControl.IsCommandPossible(leaveHoverModeCommand)) return; droneControl.SendCommand(leaveHoverModeCommand); UpdateUIAsync("Leaving hover mode"); }
private void EnterHoverMode() { Command enterHoverModeCommand = new HoverModeCommand(DroneHoverMode.Hover); if (!droneControl.IsCommandPossible(enterHoverModeCommand)) return; droneControl.SendCommand(enterHoverModeCommand); UpdateUIAsync("Entering hover mode"); }
public void LeaveHoverMode() { Command leaveHoverModeCommand = new HoverModeCommand( DroneHoverMode.StopHovering ); if( !_droneControl.IsCommandPossible( leaveHoverModeCommand ) ) return; _droneControl.SendCommand( leaveHoverModeCommand ); }
public void EnterHoverMode() { Command enterHoverModeCommand = new HoverModeCommand( DroneHoverMode.Hover ); if( !_droneControl.IsCommandPossible( enterHoverModeCommand ) ) return; _droneControl.SendCommand( enterHoverModeCommand ); }
private void LeaveHoverMode() { Command leaveHoverModeCommand = new HoverModeCommand(DroneHoverMode.StopHovering); if (!droneXontrol.IsCommandPossible(leaveHoverModeCommand)) return; droneXontrol.SendCommand(leaveHoverModeCommand); }
private void EnterHoverMode() { Command enterHoverModeCommand = new HoverModeCommand(DroneHoverMode.Hover); if (!droneXontrol.IsCommandPossible(enterHoverModeCommand)) return; droneXontrol.SendCommand(enterHoverModeCommand); }