|
|
|
@ -28,6 +28,7 @@
@@ -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)
@@ -81,6 +82,9 @@ void AutoPilotPluginManager::_uasCreated(UASInterface* uas)
|
|
|
|
|
plugin = new GenericAutoPilotPlugin(uas, this); |
|
|
|
|
Q_CHECK_PTR(plugin); |
|
|
|
|
_pluginMap[MAV_AUTOPILOT_GENERIC][uasId] = QSharedPointer<AutoPilotPlugin>(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."); |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|