mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-30 21:33:35 +08:00
added single point to decide if we need quadchute, let the reason be passed from the source where we know what's going on
This commit is contained in:
@@ -285,7 +285,7 @@ void Standard::update_transition_state()
|
||||
if (_params_standard.front_trans_timeout > FLT_EPSILON) {
|
||||
if ((float)hrt_elapsed_time(&_vtol_schedule.transition_start) > (_params_standard.front_trans_timeout * 1000000.0f)) {
|
||||
// transition timeout occured, abort transition
|
||||
_attc->abort_front_transition();
|
||||
_attc->abort_front_transition("Transition timeout");
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user