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
01f6ea7c
Commit
01f6ea7c
authored
Jan 18, 2016
by
Tomaz Canabrava
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
Const-correctness
Signed-off-by:
Tomaz Canabrava
<
tomaz.canabrava@intel.com
>
parent
0d601900
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
10 deletions
+10
-10
APMAutoPilotPlugin.h
src/AutoPilotPlugins/APM/APMAutoPilotPlugin.h
+8
-8
APMFlightModesComponentController.h
src/AutoPilotPlugins/APM/APMFlightModesComponentController.h
+2
-2
No files found.
src/AutoPilotPlugins/APM/APMAutoPilotPlugin.h
View file @
01f6ea7c
...
...
@@ -49,14 +49,14 @@ public:
// Overrides from AutoPilotPlugin
const
QVariantList
&
vehicleComponents
(
void
)
final
;
APMAirframeComponent
*
airframeComponent
(
void
)
{
return
_airframeComponent
;
}
APMCameraComponent
*
cameraComponent
(
void
)
{
return
_cameraComponent
;
}
APMFlightModesComponent
*
flightModesComponent
(
void
)
{
return
_flightModesComponent
;
}
APMPowerComponent
*
powerComponent
(
void
)
{
return
_powerComponent
;
}
APMRadioComponent
*
radioComponent
(
void
)
{
return
_radioComponent
;
}
APMSafetyComponent
*
safetyComponent
(
void
)
{
return
_safetyComponent
;
}
APMSensorsComponent
*
sensorsComponent
(
void
)
{
return
_sensorsComponent
;
}
APMTuningComponent
*
tuningComponent
(
void
)
{
return
_tuningComponent
;
}
APMAirframeComponent
*
airframeComponent
(
void
)
const
{
return
_airframeComponent
;
}
APMCameraComponent
*
cameraComponent
(
void
)
const
{
return
_cameraComponent
;
}
APMFlightModesComponent
*
flightModesComponent
(
void
)
const
{
return
_flightModesComponent
;
}
APMPowerComponent
*
powerComponent
(
void
)
const
{
return
_powerComponent
;
}
APMRadioComponent
*
radioComponent
(
void
)
const
{
return
_radioComponent
;
}
APMSafetyComponent
*
safetyComponent
(
void
)
const
{
return
_safetyComponent
;
}
APMSensorsComponent
*
sensorsComponent
(
void
)
const
{
return
_sensorsComponent
;
}
APMTuningComponent
*
tuningComponent
(
void
)
const
{
return
_tuningComponent
;
}
public
slots
:
// FIXME: This is public until we restructure AutoPilotPlugin/FirmwarePlugin/Vehicle
...
...
src/AutoPilotPlugins/APM/APMFlightModesComponentController.h
View file @
01f6ea7c
...
...
@@ -47,8 +47,8 @@ public:
Q_PROPERTY
(
QVariantList
channelOptionEnabled
READ
channelOptionEnabled
NOTIFY
channelOptionEnabledChanged
)
Q_PROPERTY
(
bool
fixedWing
MEMBER
_fixedWing
CONSTANT
)
int
activeFlightMode
(
void
)
{
return
_activeFlightMode
;
}
QVariantList
channelOptionEnabled
(
void
)
{
return
_rgChannelOptionEnabled
;
}
int
activeFlightMode
(
void
)
const
{
return
_activeFlightMode
;
}
QVariantList
channelOptionEnabled
(
void
)
const
{
return
_rgChannelOptionEnabled
;
}
signals:
void
activeFlightModeChanged
(
int
activeFlightMode
);
...
...
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