of Velocity
open fun ofVelocity(translationalVelocity: Measure<Velocity<Distance>>, drive: RoadRunnerDrive): TrajectoryVelocityConstraint
Returns a TrajectoryVelocityConstraint based on the given DriveConstants and translational velocity.
Return
A TrajectoryVelocityConstraint based on the given parameters.
Parameters
translational Velocity
The translational velocity to use.
drive
The DriveConstants to use.