Exemplo n.º 1
0
        private void LeaveHoverMode()
        {
            Command leaveHoverModeCommand = new HoverModeCommand(DroneHoverMode.StopHovering);

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

            droneControl.SendCommand(leaveHoverModeCommand);
            UpdateUIAsync("Leaving hover mode");
        }
Exemplo n.º 2
0
        private void EnterHoverMode()
        {
            Command enterHoverModeCommand = new HoverModeCommand(DroneHoverMode.Hover);

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

            droneControl.SendCommand(enterHoverModeCommand);
            UpdateUIAsync("Entering hover mode");
        }
Exemplo n.º 3
0
        public void LeaveHoverMode()
        {
            Command leaveHoverModeCommand = new HoverModeCommand( DroneHoverMode.StopHovering );

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

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

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

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

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

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

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

            droneXontrol.SendCommand(enterHoverModeCommand);
        }