get Velocity Constraint
open fun getVelocityConstraint(maxVel: Double, maxAngularVel: Double, trackWidth: Double): TrajectoryVelocityConstraint
Get a velocity constraint for the drive. Override this method to use a custom velocity constraint.
Return
A velocity constraint for the drive.
Parameters
max Vel
The maximum velocity of the drive.
max Angular Vel
The maximum angular velocity of the drive.
track Width
The track width of the drive.