mirror of
https://gitee.com/mirrors_PX4/PX4-Autopilot.git
synced 2026-05-19 19:59:07 +08:00
ManualSmoothing: direction change with maximum acceleration
This commit is contained in:
parent
a5e8eb23ad
commit
b9d5189fe5
@ -174,8 +174,7 @@ ManualSmoothingXY::_setStateAcceleration(const matrix::Vector2f &vel_sp, const m
|
||||
// Because previous setpoint is equal to current setpoint,
|
||||
// slewrate will have no effect. Nonetheless, just set
|
||||
// acceleration to maximum.
|
||||
_acc_state_dependent = _acc_xy_max.get();
|
||||
|
||||
_acc_state_dependent = _acc_hover.get();
|
||||
break;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user