mirror of
https://github.com/PX4/PX4-Autopilot.git
synced 2026-05-22 22:32:11 +08:00
Merge pull request #11288 from PX4/pr-tiltrotor_noairspeed_transition_check
tiltrotor: fix transition check when airspeed is invalid
This commit is contained in:
committed by
Daniel Agar
parent
664674c36b
commit
34717f7005
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user