예제 #1
0
        private void LeaveHoverMode()
        {
            Command leaveHoverModeCommand = new HoverModeCommand(DroneHoverMode.StopHovering);

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

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

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

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

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

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

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

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

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

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

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

            droneXontrol.SendCommand(enterHoverModeCommand);
        }