public class SwerveVelocityConstraint implements TrajectoryVelocityConstraint
Mecanum-specific drive constraints that also limit maximum wheel velocities.
@JvmOverloads public SwerveVelocityConstraint(double maxWheelVel, double trackWidth, double wheelBase)
Mecanum-specific drive constraints that also limit maximum wheel velocities.
maxWheelVel
- maximum wheel velocitytrackWidth
- track widthwheelBase
- wheel base@JvmOverloads public SwerveVelocityConstraint(double maxWheelVel, double trackWidth)
Mecanum-specific drive constraints that also limit maximum wheel velocities.
maxWheelVel
- maximum wheel velocitytrackWidth
- track width