public class TranslationalVelocityConstraint implements TrajectoryVelocityConstraint
Constraint limiting translational velocity.
public TranslationalVelocityConstraint(double maxTranslationalVel)
public double get(double s, @NotNull Pose2d pose, @NotNull Pose2d deriv, @NotNull Pose2d baseRobotVel)
Returns the maximum profile velocity.
s
pose
deriv
baseRobotVel