예제 #1
0
        private void Disconnect()
        {
            if (!droneControl.IsConnected)
            {
                return;
            }

            timerVideoUpdate.Stop();

            droneControl.Disconnect();
            UpdateUISync("Disconnecting from the drone");
        }
예제 #2
0
        private void Disconnect()
        {
            timerHudStatusUpdate.Stop();
            timerVideoUpdate.Stop();

            if (videoRecorder != null && videoRecorder.IsVideoCaptureRunning)
            {
                videoRecorder.EndVideo();
            }

            droneControl.Disconnect();
            UpdateUISync("Disconnecting from drone");
        }
예제 #3
0
        private void Disconnect()
        {
            if (!droneControl.IsConnected)
            {
                return;
            }

            if (droneInAir)
            {
                Land();
            }

            //timerVideoUpdate.Stop();
            currentStatusMsg = "Disconnecting from Drone...";
            droneControl.Disconnect();
            //UpdateUISync("Disconnecting from the drone");
        }