ManualSmoothing: direction change with maximum acceleration

This commit is contained in:
Dennis Mannhart
2018-07-20 09:26:18 +02:00
committed by Lorenz Meier
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, // Because previous setpoint is equal to current setpoint,
// slewrate will have no effect. Nonetheless, just set // slewrate will have no effect. Nonetheless, just set
// acceleration to maximum. // acceleration to maximum.
_acc_state_dependent = _acc_xy_max.get(); _acc_state_dependent = _acc_hover.get();
break; break;
} }