getVelocityConstraint

open fun getVelocityConstraint(maxVel: Double, maxAngularVel: Double, trackWidth: Double): TrajectoryVelocityConstraint

Get the velocity constraint for the drive.

Return

The velocity constraint

Parameters

maxVel

The maximum velocity in inches per second

maxAngularVel

The maximum angular velocity in radians per second

trackWidth

The track width in inches