From ba0e245988a2f3d444b19acb08e4b1bba9d00d76 Mon Sep 17 00:00:00 2001 From: Don Gagne Date: Tue, 21 Jul 2015 09:45:30 -0700 Subject: [PATCH] Warn if using generic flight stack --- src/AutoPilotPlugins/AutoPilotPluginManager.cc | 4 ++++ 1 file changed, 4 insertions(+) diff --git a/src/AutoPilotPlugins/AutoPilotPluginManager.cc b/src/AutoPilotPlugins/AutoPilotPluginManager.cc index 80172536b..e16447032 100644 --- a/src/AutoPilotPlugins/AutoPilotPluginManager.cc +++ b/src/AutoPilotPlugins/AutoPilotPluginManager.cc @@ -28,6 +28,7 @@ #include "PX4/PX4AutoPilotPlugin.h" #include "Generic/GenericAutoPilotPlugin.h" #include "QGCApplication.h" +#include "QGCMessageBox.h" #include "UASManager.h" IMPLEMENT_QGC_SINGLETON(AutoPilotPluginManager, AutoPilotPluginManager) @@ -81,6 +82,9 @@ void AutoPilotPluginManager::_uasCreated(UASInterface* uas) plugin = new GenericAutoPilotPlugin(uas, this); Q_CHECK_PTR(plugin); _pluginMap[MAV_AUTOPILOT_GENERIC][uasId] = QSharedPointer(plugin); + QGCMessageBox::warning("Partial Support AutoPilot", + "Warning: You have connected QGroundControl to a firmware flight stack which is only partially supported. " + "If you are using the APM Flight Stack it is currently recommended to use Mission Planner, APM Planner or Tower as your ground control station."); } } -- 2.22.0