Skip to content
Snippets Groups Projects
Commit 34717f70 authored by Julien Lecoeur's avatar Julien Lecoeur Committed by Daniel Agar
Browse files

Merge pull request #11288 from PX4/pr-tiltrotor_noairspeed_transition_check

tiltrotor: fix transition check when airspeed is invalid
parent 664674c3
No related branches found
No related tags found
No related merge requests found
......@@ -149,7 +149,7 @@ void Tiltrotor::update_vtol_state()
// check if airspeed is invalid and transition by time
transition_to_p2 |= _params->airspeed_disabled &&
_tilt_control > _params_tiltrotor.tilt_transition &&
_tilt_control >= _params_tiltrotor.tilt_transition &&
time_since_trans_start > _params->front_trans_time_openloop;
if (transition_to_p2) {
......
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