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
98c850b5
Commit
98c850b5
authored
Jul 09, 2019
by
Tomaz Canabrava
Committed by
Daniel Agar
Jul 10, 2019
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
More appends to lists
parent
b44e9355
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
21 additions
and
22 deletions
+21
-22
ArduPlaneFirmwarePlugin.cc
src/FirmwarePlugin/APM/ArduPlaneFirmwarePlugin.cc
+21
-22
No files found.
src/FirmwarePlugin/APM/ArduPlaneFirmwarePlugin.cc
View file @
98c850b5
...
...
@@ -15,28 +15,27 @@ FirmwarePlugin::remapParamNameMajorVersionMap_t ArduPlaneFirmwarePlugin::_remapP
APMPlaneMode
::
APMPlaneMode
(
uint32_t
mode
,
bool
settable
)
:
APMCustomMode
(
mode
,
settable
)
{
QMap
<
uint32_t
,
QString
>
enumToString
;
enumToString
.
insert
(
MANUAL
,
"Manual"
);
enumToString
.
insert
(
CIRCLE
,
"Circle"
);
enumToString
.
insert
(
STABILIZE
,
"Stabilize"
);
enumToString
.
insert
(
TRAINING
,
"Training"
);
enumToString
.
insert
(
ACRO
,
"Acro"
);
enumToString
.
insert
(
FLY_BY_WIRE_A
,
"FBW A"
);
enumToString
.
insert
(
FLY_BY_WIRE_B
,
"FBW B"
);
enumToString
.
insert
(
CRUISE
,
"Cruise"
);
enumToString
.
insert
(
AUTOTUNE
,
"Autotune"
);
enumToString
.
insert
(
AUTO
,
"Auto"
);
enumToString
.
insert
(
RTL
,
"RTL"
);
enumToString
.
insert
(
LOITER
,
"Loiter"
);
enumToString
.
insert
(
GUIDED
,
"Guided"
);
enumToString
.
insert
(
INITIALIZING
,
"Initializing"
);
enumToString
.
insert
(
QSTABILIZE
,
"QuadPlane Stabilize"
);
enumToString
.
insert
(
QHOVER
,
"QuadPlane Hover"
);
enumToString
.
insert
(
QLOITER
,
"QuadPlane Loiter"
);
enumToString
.
insert
(
QLAND
,
"QuadPlane Land"
);
enumToString
.
insert
(
QRTL
,
"QuadPlane RTL"
);
setEnumToStringMapping
(
enumToString
);
setEnumToStringMapping
({
{
MANUAL
,
"Manual"
},
{
CIRCLE
,
"Circle"
},
{
STABILIZE
,
"Stabilize"
},
{
TRAINING
,
"Training"
},
{
ACRO
,
"Acro"
},
{
FLY_BY_WIRE_A
,
"FBW A"
},
{
FLY_BY_WIRE_B
,
"FBW B"
},
{
CRUISE
,
"Cruise"
},
{
AUTOTUNE
,
"Autotune"
},
{
AUTO
,
"Auto"
},
{
RTL
,
"RTL"
},
{
LOITER
,
"Loiter"
},
{
GUIDED
,
"Guided"
},
{
INITIALIZING
,
"Initializing"
},
{
QSTABILIZE
,
"QuadPlane Stabilize"
},
{
QHOVER
,
"QuadPlane Hover"
},
{
QLOITER
,
"QuadPlane Loiter"
},
{
QLAND
,
"QuadPlane Land"
},
{
QRTL
,
"QuadPlane RTL"
},
});
}
ArduPlaneFirmwarePlugin
::
ArduPlaneFirmwarePlugin
(
void
)
...
...
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