Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Support
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Q
qgroundcontrol
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Boards
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
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
Options
Browse Files
Download
Plain Diff
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
Showing
1 changed file
with
5 additions
and
4 deletions
+5
-4
APMAutoPilotPlugin.cc
src/AutoPilotPlugins/APM/APMAutoPilotPlugin.cc
+5
-4
No files found.
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
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