allow direct transition in standard vtol when landed

This commit is contained in:
Andreas Antener
2016-05-11 17:29:50 +02:00
committed by Lorenz Meier
parent 42a9d5651f
commit af0c42d3d7
5 changed files with 35 additions and 1 deletions
+1 -1
View File
@@ -183,7 +183,7 @@ void Standard::update_vtol_state()
if ((_airspeed->indicated_airspeed_m_s >= _params_standard.airspeed_trans &&
(float)hrt_elapsed_time(&_vtol_schedule.transition_start)
> (_params_standard.front_trans_time_min * 1000000.0f)) ||
!_armed->armed) {
can_transition_on_ground()) {
_vtol_schedule.flight_mode = FW_MODE;
// we can turn off the multirotor motors now
_flag_enable_mc_motors = false;