Plane: setup failsafe trim values for if FMU firmware dies
This commit is contained in:
parent
594c5c07b3
commit
41100a13c3
@ -54,6 +54,9 @@ static void init_rc_out()
|
|||||||
// Initialization of servo outputs
|
// Initialization of servo outputs
|
||||||
RC_Channel::output_trim_all();
|
RC_Channel::output_trim_all();
|
||||||
|
|
||||||
|
// setup PWM values to send if the FMU firmware dies
|
||||||
|
RC_Channel::setup_failsafe_trim_all();
|
||||||
|
|
||||||
// setup PX4 to output the min throttle when safety off if arming
|
// setup PX4 to output the min throttle when safety off if arming
|
||||||
// is setup for min on disarm
|
// is setup for min on disarm
|
||||||
if (arming.arming_required() == AP_Arming::YES_MIN_PWM) {
|
if (arming.arming_required() == AP_Arming::YES_MIN_PWM) {
|
||||||
|
Loading…
Reference in New Issue
Block a user