예제 #1
0
        private async void _connectButton_Click(object sender, Windows.UI.Xaml.RoutedEventArgs e)
        {
            _telloCommandReponse.Insert(0, "connecting to tello");
            try
            {
                _tello.Connect();
            }
            catch (Exception ex)
            {
                _telloCommandReponse.Insert(0, ex.ToString());
            }

            await SendMessageAsync("command", (response) =>
            {
                _stateReceiver.Start();
                _frameServer.Start();
            });
        }
예제 #2
0
 public void Start()
 {
     _frameComposer.Start();
     _udpReceiver.Start();
 }