diff options
author | Simon Wilks <sjwilks@gmail.com> | 2013-03-09 21:58:30 +0100 |
---|---|---|
committer | Simon Wilks <sjwilks@gmail.com> | 2013-03-09 22:11:31 +0100 |
commit | a8a74fda96826f3fafa0a5ee4e3d8397ed4ca1e7 (patch) | |
tree | 8f9824ea21deeaa3e213c61b27a36373275293f6 /apps | |
parent | 6fca5c10231c9c844730b464ea291ddd72d7792e (diff) | |
download | px4-firmware-a8a74fda96826f3fafa0a5ee4e3d8397ed4ca1e7.tar.gz px4-firmware-a8a74fda96826f3fafa0a5ee4e3d8397ed4ca1e7.tar.bz2 px4-firmware-a8a74fda96826f3fafa0a5ee4e3d8397ed4ca1e7.zip |
Invert aileron actuator for correct aileron response in auto
Diffstat (limited to 'apps')
-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(); |