ofAngularVelocity

open fun ofAngularVelocity(angularVelocity: Measure<Velocity<Angle>>, drive: RoadRunnerDrive): TrajectoryVelocityConstraint

Returns a TrajectoryVelocityConstraint based on the given DriveConstants and angular velocity.

Return

A TrajectoryVelocityConstraint based on the given parameters.

Parameters

angularVelocity

The angular velocity to use.

drive

The DriveConstants to use.