mirror of
https://gitee.com/xiaohuolufeihua/bizhang_-obav.git
synced 2026-05-21 09:22:18 +00:00
Widen pusher throttle constraint
This commit is contained in:
@@ -355,7 +355,7 @@ void Standard::update_transition_state()
|
||||
if (_params_handles_standard.reverse_output > FLT_EPSILON) {
|
||||
_pusher_throttle = _params_standard.reverse_throttle * (float)hrt_elapsed_time(&_vtol_schedule.transition_start) /
|
||||
(_params_standard.front_trans_dur * 1000000.0f);
|
||||
_pusher_throttle = math::constrain(_pusher_throttle, 0.0f, _params_standard.reverse_throttle);
|
||||
_pusher_throttle = math::constrain(_pusher_throttle, -1.0f, _params_standard.reverse_throttle);
|
||||
}
|
||||
|
||||
// continually increase mc attitude control as we transition back to mc mode
|
||||
|
||||
Reference in New Issue
Block a user