aboutsummaryrefslogtreecommitdiff
path: root/src/modules/fixedwing_backside/fixedwing.cpp
diff options
context:
space:
mode:
authorAnton Babushkin <anton.babushkin@me.com>2014-05-11 13:35:05 +0200
committerAnton Babushkin <anton.babushkin@me.com>2014-05-11 13:35:05 +0200
commit88b18bbad1be31cf31ff964c6cf6f3123948488d (patch)
tree90e402ea54cc6c7d6d0cd35435fcef8f75a1904d /src/modules/fixedwing_backside/fixedwing.cpp
parent808badb34d3b88ad40aac60f817960c51cb499c5 (diff)
downloadpx4-firmware-88b18bbad1be31cf31ff964c6cf6f3123948488d.tar.gz
px4-firmware-88b18bbad1be31cf31ff964c6cf6f3123948488d.tar.bz2
px4-firmware-88b18bbad1be31cf31ff964c6cf6f3123948488d.zip
ALTCTRL/POSCTRL renamed to ALTCTL/POSCTL
Diffstat (limited to 'src/modules/fixedwing_backside/fixedwing.cpp')
-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 596e286a4..bbb39f20f 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_ALTCTRL ||
- _status.main_state == MAIN_STATE_POSCTRL /* TODO, implement pos control */) {
+ } else if (_status.main_state == MAIN_STATE_ALTCTL ||
+ _status.main_state == MAIN_STATE_POSCTL /* TODO, implement pos control */) {
// calculate velocity, XXX should be airspeed, but using ground speed for now
// for the purpose of control we will limit the velocity feedback between