|
|
|
@ -208,7 +208,7 @@ void Tiltrotor::update_vtol_state()
@@ -208,7 +208,7 @@ void Tiltrotor::update_vtol_state()
|
|
|
|
|
|
|
|
|
|
// check if we have reached airspeed to switch to fw mode
|
|
|
|
|
// also allow switch if we are not armed for the sake of bench testing
|
|
|
|
|
if (_airspeed->indicated_airspeed_m_s >= _params_tiltrotor.airspeed_trans || !_armed->armed) { |
|
|
|
|
if (_airspeed->indicated_airspeed_m_s >= _params_tiltrotor.airspeed_trans || can_transition_on_ground()) { |
|
|
|
|
_vtol_schedule.flight_mode = TRANSITION_FRONT_P2; |
|
|
|
|
_vtol_schedule.transition_start = hrt_absolute_time(); |
|
|
|
|
} |
|
|
|
|