Exemple #1
0
        private void ConnectWorkers()
        {
            // The connect sequence is important since the command sender waits for the navigation data retriever

            if (!videoDataRetriever.Connected)
            {
                videoDataRetriever.Connect();
            }
            if (!navigationDataRetriever.Connected)
            {
                navigationDataRetriever.Connect();
            }
            if (!commandSender.Connected)
            {
                commandSender.Connect();
            }

            ResetFlightVariables();
        }