mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-23 00:13:34 +08:00
VTOL: introduce new quad-chute check for altitude loss during front transition
By default the threshold is set to 10m. Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
This commit is contained in:
@@ -89,7 +89,7 @@ void Standard::update_vtol_state()
|
||||
|
||||
} else if (_vtol_mode == vtol_mode::FW_MODE) {
|
||||
// Regular backtransition
|
||||
resetTransitionTimer();
|
||||
resetTransitionStates();
|
||||
_vtol_mode = vtol_mode::TRANSITION_TO_MC;
|
||||
_reverse_output = _param_vt_b_rev_out.get();
|
||||
|
||||
@@ -126,7 +126,7 @@ void Standard::update_vtol_state()
|
||||
// start transition to fw mode
|
||||
/* NOTE: The failsafe transition to fixed-wing was removed because it can result in an
|
||||
* unsafe flying state. */
|
||||
resetTransitionTimer();
|
||||
resetTransitionStates();
|
||||
_vtol_mode = vtol_mode::TRANSITION_TO_FW;
|
||||
|
||||
} else if (_vtol_mode == vtol_mode::FW_MODE) {
|
||||
|
||||
Reference in New Issue
Block a user