mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-10-18 04:23:33 +08:00
VTOL: remove pusher reverse feature
Signed-off-by: Silvan Fuhrer <silvan@auterion.com>
This commit is contained in:
@@ -348,10 +348,9 @@ MissionBlock::is_mission_item_reached_or_completed()
|
||||
_navigator->get_local_position()->vy * _navigator->get_local_position()->vy);
|
||||
|
||||
const float back_trans_dec = _navigator->get_vtol_back_trans_deceleration();
|
||||
const float reverse_delay = _navigator->get_vtol_reverse_delay();
|
||||
|
||||
if (back_trans_dec > FLT_EPSILON && velocity > FLT_EPSILON) {
|
||||
acceptance_radius = ((velocity / back_trans_dec / 2) * velocity) + reverse_delay * velocity;
|
||||
acceptance_radius = (velocity / back_trans_dec / 2) * velocity;
|
||||
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user