Skip to content

Commit

Permalink
Merge pull request #219 from sjwilks/master-hotfix
Browse files Browse the repository at this point in the history
Invert aileron actuator for correct aileron response in auto
  • Loading branch information
LorenzMeier committed Mar 9, 2013
2 parents 6fca5c1 + a8a74fd commit ed2f35f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion apps/controllib/fixedwing.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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();
Expand Down

0 comments on commit ed2f35f

Please sign in to comment.