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");
        }
Beispiel #3
0
        public void LeaveHoverMode()
        {
            Command leaveHoverModeCommand = new HoverModeCommand( DroneHoverMode.StopHovering );

            if( !_droneControl.IsCommandPossible( leaveHoverModeCommand ) )
                return;

            _droneControl.SendCommand( leaveHoverModeCommand );
        }
Beispiel #4
0
        public void EnterHoverMode()
        {
            Command enterHoverModeCommand = new HoverModeCommand( DroneHoverMode.Hover );

            if( !_droneControl.IsCommandPossible( enterHoverModeCommand ) )
                return;

            _droneControl.SendCommand( enterHoverModeCommand );
        }
Beispiel #5
0
        private void LeaveHoverMode()
        {
            Command leaveHoverModeCommand = new HoverModeCommand(DroneHoverMode.StopHovering);

            if (!droneXontrol.IsCommandPossible(leaveHoverModeCommand))
                return;

            droneXontrol.SendCommand(leaveHoverModeCommand);
        }
Beispiel #6
0
        private void EnterHoverMode()
        {
            Command enterHoverModeCommand = new HoverModeCommand(DroneHoverMode.Hover);

            if (!droneXontrol.IsCommandPossible(enterHoverModeCommand))
                return;

            droneXontrol.SendCommand(enterHoverModeCommand);
        }