public void Disconnect() { if (commandSender.Connected) { commandSender.Disconnect(); } if (navigationDataRetriever.Connected) { navigationDataRetriever.Disconnect(); } if (videoDataRetriever.Connected) { videoDataRetriever.Disconnect(); } ResetFlightVariables(); }
public void Disconnect() { if (commandSender.Connected) { commandSender.Disconnect(); } if (controlInfoRetriever.Connected) { controlInfoRetriever.Disconnect(); } if (navigationDataRetriever.Connected) { navigationDataRetriever.Disconnect(); } if (videoDataRetriever.Connected) { videoDataRetriever.Disconnect(); } }