mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +08:00
Disable pusher assist for quadchute failsafe
This commit is contained in:
parent
66bb7adc4c
commit
33efd89ef8
@ -401,6 +401,13 @@ void Standard::update_mc_state()
|
||||
return;
|
||||
}
|
||||
|
||||
// Do not engage pusher assist during a failsafe event
|
||||
// There could be a problem with the fixed wing drive
|
||||
if (_attc->get_vtol_vehicle_status()->vtol_transition_failsafe) {
|
||||
_pusher_throttle = 0.0f;
|
||||
return;
|
||||
}
|
||||
|
||||
matrix::Dcmf R(matrix::Quatf(_v_att->q));
|
||||
matrix::Dcmf R_sp(matrix::Quatf(_v_att_sp->q_d));
|
||||
matrix::Eulerf euler(R);
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user