Skip to content
GitLab
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
58aee2cf
Unverified
Commit
58aee2cf
authored
Oct 02, 2019
by
Don Gagne
Committed by
GitHub
Oct 02, 2019
Browse files
Merge pull request #7852 from DonLakeFlyer/RoverFollow
ArduPilot: Follow page not showing up for Rover
parents
cca155c2
1ae9f30f
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/AutoPilotPlugins/APM/APMAutoPilotPlugin.cc
View file @
58aee2cf
...
...
@@ -10,9 +10,10 @@
#include
"APMAutoPilotPlugin.h"
#include
"UAS.h"
#include
"FirmwarePlugin/APM/APMParameterMetaData.h"
// FIXME: Hack
#include
"FirmwarePlugin/APM/APMFirmwarePlugin.h"
// FIXME: Hack
#include
"FirmwarePlugin/APM/ArduCopterFirmwarePlugin.h"
#include
"APMParameterMetaData.h"
#include
"APMFirmwarePlugin.h"
#include
"ArduCopterFirmwarePlugin.h"
#include
"ArduRoverFirmwarePlugin.h"
#include
"VehicleComponent.h"
#include
"APMAirframeComponent.h"
#include
"APMFlightModesComponent.h"
...
...
@@ -103,7 +104,7 @@ const QVariantList& APMAutoPilotPlugin::vehicleComponents(void)
_safetyComponent
->
setupTriggerSignals
();
_components
.
append
(
QVariant
::
fromValue
((
VehicleComponent
*
)
_safetyComponent
));
if
((
qobject_cast
<
ArduCopterFirmwarePlugin
*>
(
_vehicle
->
firmwarePlugin
())
||
qobject_cast
<
Ardu
Copt
erFirmwarePlugin
*>
(
_vehicle
->
firmwarePlugin
()))
&&
if
((
qobject_cast
<
ArduCopterFirmwarePlugin
*>
(
_vehicle
->
firmwarePlugin
())
||
qobject_cast
<
Ardu
Rov
erFirmwarePlugin
*>
(
_vehicle
->
firmwarePlugin
()))
&&
_vehicle
->
parameterManager
()
->
parameterExists
(
-
1
,
QStringLiteral
(
"FOLL_ENABLE"
)))
{
_followComponent
=
new
APMFollowComponent
(
_vehicle
,
this
);
_followComponent
->
setupTriggerSignals
();
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new 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