Plane: Add Q_FWD_THR_GAIN value arming check for tailsitters
This commit is contained in:
parent
04e5f6b5f6
commit
57cfe854b2
@ -218,6 +218,11 @@ bool AP_Arming_Plane::quadplane_checks(bool display_failure)
|
||||
ret = false;
|
||||
}
|
||||
|
||||
if ((plane.quadplane.tailsitter.enable > 0) && is_positive(plane.quadplane.q_fwd_thr_gain)) {
|
||||
check_failed(ARMING_CHECK_PARAMETERS, display_failure, "set Q_FWD_THR_GAIN to 0");
|
||||
ret = false;
|
||||
}
|
||||
|
||||
return ret;
|
||||
}
|
||||
#endif // HAL_QUADPLANE_ENABLED
|
||||
|
Loading…
Reference in New Issue
Block a user