mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-04-14 10:07:39 +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:
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) {
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user