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:
Andreas Antener
2016-08-02 21:09:45 +02:00
parent 92ddc30b69
commit 6f1eda2b18
5 changed files with 22 additions and 19 deletions
+1 -1
View File
@@ -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");
}
}