Skip to content
GitLab
Menu
Projects
Groups
Snippets
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
Valentin Platzgummer
qgroundcontrol
Commits
ba0e2459
Commit
ba0e2459
authored
Jul 21, 2015
by
Don Gagne
Browse files
Warn if using generic flight stack
parent
29365f96
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/AutoPilotPlugins/AutoPilotPluginManager.cc
View file @
ba0e2459
...
...
@@ -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
<
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."
);
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
.
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment