aboutsummaryrefslogtreecommitdiff
path: root/apps
diff options
context:
space:
mode:
authorSimon Wilks <sjwilks@gmail.com>2013-03-09 21:58:30 +0100
committerSimon Wilks <sjwilks@gmail.com>2013-03-09 22:11:31 +0100
commita8a74fda96826f3fafa0a5ee4e3d8397ed4ca1e7 (patch)
tree8f9824ea21deeaa3e213c61b27a36373275293f6 /apps
parent6fca5c10231c9c844730b464ea291ddd72d7792e (diff)
downloadpx4-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.cpp2
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();