diff options
author | Lorenz Meier <lm@inf.ethz.ch> | 2013-03-09 13:20:39 -0800 |
---|---|---|
committer | Lorenz Meier <lm@inf.ethz.ch> | 2013-03-09 13:20:39 -0800 |
commit | ed2f35fa533f11e635ff7658dd72d2f411ebb333 (patch) | |
tree | 8f9824ea21deeaa3e213c61b27a36373275293f6 | |
parent | 6fca5c10231c9c844730b464ea291ddd72d7792e (diff) | |
parent | a8a74fda96826f3fafa0a5ee4e3d8397ed4ca1e7 (diff) | |
download | px4-firmware-ed2f35fa533f11e635ff7658dd72d2f411ebb333.tar.gz px4-firmware-ed2f35fa533f11e635ff7658dd72d2f411ebb333.tar.bz2 px4-firmware-ed2f35fa533f11e635ff7658dd72d2f411ebb333.zip |
Merge pull request #219 from sjwilks/master-hotfix
Invert aileron actuator for correct aileron response in auto
-rw-r--r-- | apps/controllib/fixedwing.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/apps/controllib/fixedwing.cpp b/apps/controllib/fixedwing.cpp index d9637b4a7..b84a54fee 100644 --- a/apps/controllib/fixedwing.cpp +++ b/apps/controllib/fixedwing.cpp @@ -322,7 +322,7 @@ void BlockMultiModeBacksideAutopilot::update() _att.roll, _att.pitch, _att.yaw, _att.rollspeed, _att.pitchspeed, _att.yawspeed ); - _actuators.control[CH_AIL] = - _backsideAutopilot.getAileron(); + _actuators.control[CH_AIL] = _backsideAutopilot.getAileron(); _actuators.control[CH_ELV] = - _backsideAutopilot.getElevator(); _actuators.control[CH_RDR] = _backsideAutopilot.getRudder(); _actuators.control[CH_THR] = _backsideAutopilot.getThrottle(); |