core / com.acmerobotics.roadrunner.trajectory.constraints / SwerveVelocityConstraint / <init>
<init>
SwerveVelocityConstraint(maxWheelVel: Double, trackWidth: Double, wheelBase: Double = trackWidth)
Mecanum-specific drive constraints that also limit maximum wheel velocities.
Parameters
maxWheelVel
- maximum wheel velocity
trackWidth
- track width
wheelBase
- wheel base