core / com.acmerobotics.roadrunner.trajectory.constraints / MecanumVelocityConstraint / <init>

<init>

MecanumVelocityConstraint(maxWheelVel: Double, trackWidth: Double, wheelBase: Double = trackWidth, lateralMultiplier: Double = 1.0)

Mecanum-specific drive constraints that also limit maximum wheel velocities.

Parameters

maxWheelVel - maximum wheel velocity

trackWidth - track width

wheelBase - wheel base

lateralMultiplier - lateral multiplier