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