aboutsummaryrefslogtreecommitdiff
path: root/src/modules/fixedwing_backside
diff options
context:
space:
mode:
authorTickTock- <lukecell@safe-mail.net>2014-04-27 14:06:00 -0700
committerTickTock- <lukecell@safe-mail.net>2014-04-27 14:06:00 -0700
commit269800b48c31d78fec900b4beaf3f655a8c18730 (patch)
tree02d5e68319c9b4cce0ca3a169d9c2a32d5d0844e /src/modules/fixedwing_backside
parent6a7b104c2baad7527d35736979ddd1352bf4119d (diff)
downloadpx4-firmware-269800b48c31d78fec900b4beaf3f655a8c18730.tar.gz
px4-firmware-269800b48c31d78fec900b4beaf3f655a8c18730.tar.bz2
px4-firmware-269800b48c31d78fec900b4beaf3f655a8c18730.zip
renamed EASY to POSHOLD and SEATBELT to ALTHOLD
Diffstat (limited to 'src/modules/fixedwing_backside')
-rw-r--r--src/modules/fixedwing_backside/fixedwing.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/modules/fixedwing_backside/fixedwing.cpp b/src/modules/fixedwing_backside/fixedwing.cpp
index cfae07275..fafab9bfe 100644
--- a/src/modules/fixedwing_backside/fixedwing.cpp
+++ b/src/modules/fixedwing_backside/fixedwing.cpp
@@ -229,8 +229,8 @@ void BlockMultiModeBacksideAutopilot::update()
_actuators.control[CH_RDR] = _manual.yaw;
_actuators.control[CH_THR] = _manual.throttle;
- } else if (_status.main_state == MAIN_STATE_SEATBELT ||
- _status.main_state == MAIN_STATE_EASY /* TODO, implement easy */) {
+ } else if (_status.main_state == MAIN_STATE_ALTHOLD ||
+ _status.main_state == MAIN_STATE_POSHOLD /* TODO, implement easy */) {
// calculate velocity, XXX should be airspeed, but using ground speed for now
// for the purpose of control we will limit the velocity feedback between