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