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
d27a4cc8
Commit
d27a4cc8
authored
Feb 15, 2016
by
Lorenz Meier
Browse files
PX4: Rename auto loiter to auto pause
parent
ad4aa9a1
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/FirmwarePlugin/PX4/PX4FirmwarePlugin.cc
View file @
d27a4cc8
...
@@ -68,7 +68,7 @@ struct Modes2Name {
...
@@ -68,7 +68,7 @@ struct Modes2Name {
};
};
/// Tranlates from PX4 custom modes to flight mode names
/// Tranlates from PX4 custom modes to flight mode names
// FIXME: Doens't handle fixed-wing/multi-rotor name differences
static
const
struct
Modes2Name
rgModes2Name
[]
=
{
static
const
struct
Modes2Name
rgModes2Name
[]
=
{
{
PX4_CUSTOM_MAIN_MODE_MANUAL
,
0
,
"Manual"
,
true
},
{
PX4_CUSTOM_MAIN_MODE_MANUAL
,
0
,
"Manual"
,
true
},
{
PX4_CUSTOM_MAIN_MODE_ACRO
,
0
,
"Acro"
,
true
},
{
PX4_CUSTOM_MAIN_MODE_ACRO
,
0
,
"Acro"
,
true
},
...
@@ -77,12 +77,12 @@ static const struct Modes2Name rgModes2Name[] = {
...
@@ -77,12 +77,12 @@ static const struct Modes2Name rgModes2Name[] = {
{
PX4_CUSTOM_MAIN_MODE_ALTCTL
,
0
,
"Altitude Control"
,
true
},
{
PX4_CUSTOM_MAIN_MODE_ALTCTL
,
0
,
"Altitude Control"
,
true
},
{
PX4_CUSTOM_MAIN_MODE_POSCTL
,
0
,
"Position Control"
,
true
},
{
PX4_CUSTOM_MAIN_MODE_POSCTL
,
0
,
"Position Control"
,
true
},
{
PX4_CUSTOM_MAIN_MODE_OFFBOARD
,
0
,
"Offboard Control"
,
true
},
{
PX4_CUSTOM_MAIN_MODE_OFFBOARD
,
0
,
"Offboard Control"
,
true
},
{
PX4_CUSTOM_MAIN_MODE_AUTO
,
PX4_CUSTOM_SUB_MODE_AUTO_READY
,
"Auto Ready"
,
false
},
{
PX4_CUSTOM_MAIN_MODE_AUTO
,
PX4_CUSTOM_SUB_MODE_AUTO_READY
,
"Auto
:
Ready"
,
false
},
{
PX4_CUSTOM_MAIN_MODE_AUTO
,
PX4_CUSTOM_SUB_MODE_AUTO_TAKEOFF
,
"
Taking O
ff"
,
false
},
{
PX4_CUSTOM_MAIN_MODE_AUTO
,
PX4_CUSTOM_SUB_MODE_AUTO_TAKEOFF
,
"
Auto: Takeo
ff"
,
false
},
{
PX4_CUSTOM_MAIN_MODE_AUTO
,
PX4_CUSTOM_SUB_MODE_AUTO_LOITER
,
"
Loiter
"
,
true
},
{
PX4_CUSTOM_MAIN_MODE_AUTO
,
PX4_CUSTOM_SUB_MODE_AUTO_LOITER
,
"
Auto: Pause
"
,
true
},
{
PX4_CUSTOM_MAIN_MODE_AUTO
,
PX4_CUSTOM_SUB_MODE_AUTO_MISSION
,
"Mission"
,
true
},
{
PX4_CUSTOM_MAIN_MODE_AUTO
,
PX4_CUSTOM_SUB_MODE_AUTO_MISSION
,
"
Auto:
Mission"
,
true
},
{
PX4_CUSTOM_MAIN_MODE_AUTO
,
PX4_CUSTOM_SUB_MODE_AUTO_RTL
,
"Return To Land"
,
true
},
{
PX4_CUSTOM_MAIN_MODE_AUTO
,
PX4_CUSTOM_SUB_MODE_AUTO_RTL
,
"
Auto:
Return To Land"
,
true
},
{
PX4_CUSTOM_MAIN_MODE_AUTO
,
PX4_CUSTOM_SUB_MODE_AUTO_LAND
,
"Landing"
,
false
},
{
PX4_CUSTOM_MAIN_MODE_AUTO
,
PX4_CUSTOM_SUB_MODE_AUTO_LAND
,
"
Auto:
Landing"
,
false
},
};
};
...
...
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