mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-06-06 06:43:21 +08:00
Disable pusher assist for quadchute failsafe
This commit is contained in:
@@ -401,6 +401,13 @@ void Standard::update_mc_state()
|
|||||||
return;
|
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(matrix::Quatf(_v_att->q));
|
||||||
matrix::Dcmf R_sp(matrix::Quatf(_v_att_sp->q_d));
|
matrix::Dcmf R_sp(matrix::Quatf(_v_att_sp->q_d));
|
||||||
matrix::Eulerf euler(R);
|
matrix::Eulerf euler(R);
|
||||||
|
|||||||
Reference in New Issue
Block a user