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

<init>

TankVelocityConstraint(maxWheelVel: Double, trackWidth: Double)

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

Parameters

maxWheelVel - maximum wheel velocity

trackWidth - track width