Browse Source

AP_Motors: esc calibration outputs to throttleRight and throttleLeft

master
Randy Mackay 6 years ago
parent
commit
db9ce0064b
  1. 3
      libraries/AP_Motors/AP_MotorsMulticopter.cpp

3
libraries/AP_Motors/AP_MotorsMulticopter.cpp

@ -615,6 +615,9 @@ void AP_MotorsMulticopter::set_throttle_passthrough_for_esc_calibration(float th @@ -615,6 +615,9 @@ void AP_MotorsMulticopter::set_throttle_passthrough_for_esc_calibration(float th
rc_write(i, pwm_out);
}
}
// send pwm output to channels used by bicopter
SRV_Channels::set_output_pwm(SRV_Channel::k_throttleRight, pwm_out);
SRV_Channels::set_output_pwm(SRV_Channel::k_throttleLeft, pwm_out);
}
}

Loading…
Cancel
Save