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
ee06661a
Commit
ee06661a
authored
Nov 17, 2015
by
Lorenz Meier
Browse files
VTOL support: Add reserve airframes
parent
c8297d2e
Changes
2
Show whitespace changes
Inline
Side-by-side
src/AutoPilotPlugins/PX4/SensorsComponent.cc
View file @
ee06661a
...
...
@@ -92,6 +92,10 @@ QStringList SensorsComponent::setupCompleteChangedTriggerList(void) const
case
MAV_TYPE_VTOL_DUOROTOR
:
case
MAV_TYPE_VTOL_QUADROTOR
:
case
MAV_TYPE_VTOL_TILTROTOR
:
case
MAV_TYPE_VTOL_RESERVED2
:
case
MAV_TYPE_VTOL_RESERVED3
:
case
MAV_TYPE_VTOL_RESERVED4
:
case
MAV_TYPE_VTOL_RESERVED5
:
triggers
<<
"SENS_DPRES_OFF"
;
break
;
default:
...
...
src/AutoPilotPlugins/PX4/SensorsComponentController.cc
View file @
ee06661a
...
...
@@ -450,6 +450,10 @@ bool SensorsComponentController::fixedWing(void)
case
MAV_TYPE_VTOL_DUOROTOR
:
case
MAV_TYPE_VTOL_QUADROTOR
:
case
MAV_TYPE_VTOL_TILTROTOR
:
case
MAV_TYPE_VTOL_RESERVED2
:
case
MAV_TYPE_VTOL_RESERVED3
:
case
MAV_TYPE_VTOL_RESERVED4
:
case
MAV_TYPE_VTOL_RESERVED5
:
return
true
;
default:
return
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