ManualSmoothing: direction change with maximum acceleration

This commit is contained in:
Dennis Mannhart 2018-05-28 09:40:35 +02:00 committed by Lorenz Meier
parent a5e8eb23ad
commit b9d5189fe5

View File

@ -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;
}