Vel

class Vel

Utility constructor for creating simple RoadRunner translation velocity constraints.

Author

Lucas Bubner, 2024

Since

6.0.0

Properties

Link copied to clipboard
Specified maximum angular velocity in radians per second.
Link copied to clipboard
Specified maximum translation velocity in inches per second.

Functions

Link copied to clipboard
open fun andMax(maxVel: Double, @NonNull unit: Velocity<Distance>): Vel
Compose this Vel object with a maximum translation velocity constraint.
Link copied to clipboard
open fun andMaxAng(maxAngVel: Double, @NonNull unit: Velocity<Angle>): Vel
Compose this Vel object with a maximum angular velocity constraint.
Link copied to clipboard
open fun getOrDefault(@NonNull defaultVelConstraint: VelConstraint, @NonNull defaultAngVelConstraint: VelConstraint): MinVelConstraint
Get a built MinVelConstraint object with the specified constraints.
Link copied to clipboard
open fun ofMax(maxVel: Double, @NonNull unit: Velocity<Distance>): Vel
Create a new Vel object with the specified maximum translation velocity.
Link copied to clipboard
open fun ofMaxAng(maxAngVel: Double, @NonNull unit: Velocity<Angle>): Vel
Create a new Vel object with the specified maximum angular velocity.