Browse Source

ArduPlane: add rudder to tailsitter gain scaling

master
Mark Whitehorn 6 years ago committed by Andrew Tridgell
parent
commit
f7bf10fcfc
  1. 3
      ArduPlane/tailsitter.cpp

3
ArduPlane/tailsitter.cpp

@ -310,9 +310,10 @@ void QuadPlane::tailsitter_speed_scaling(void) @@ -310,9 +310,10 @@ void QuadPlane::tailsitter_speed_scaling(void)
}
last_scale = scale;
const SRV_Channel::Aux_servo_function_t functions[4] = {
const SRV_Channel::Aux_servo_function_t functions[5] = {
SRV_Channel::Aux_servo_function_t::k_aileron,
SRV_Channel::Aux_servo_function_t::k_elevator,
SRV_Channel::Aux_servo_function_t::k_rudder,
SRV_Channel::Aux_servo_function_t::k_tiltMotorLeft,
SRV_Channel::Aux_servo_function_t::k_tiltMotorRight};
for (uint8_t i=0; i<ARRAY_SIZE(functions); i++) {

Loading…
Cancel
Save