Skip to content
Snippets Groups Projects
Commit 33efd89e authored by sanderux's avatar sanderux Committed by Lorenz Meier
Browse files

Disable pusher assist for quadchute failsafe

parent 66bb7adc
No related branches found
No related tags found
No related merge requests found
......@@ -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);
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment