Limit

class Limit

Utility methods for RoadRunner velocity and acceleration constraints.

Author

Lucas Bubner, 2024

Since

2.0.0

Functions

Link copied to clipboard
open fun ofAcceleration(translationalAcceleration: Measure<Velocity<Velocity<Distance>>>, drive: RoadRunnerDrive): TrajectoryAccelerationConstraint
Returns a TrajectoryAccelerationConstraint based on the given DriveConstants and translational acceleration.
Link copied to clipboard
open fun ofAngularVelocity(angularVelocity: Measure<Velocity<Angle>>, drive: RoadRunnerDrive): TrajectoryVelocityConstraint
Returns a TrajectoryVelocityConstraint based on the given DriveConstants and angular velocity.
Link copied to clipboard
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.
Link copied to clipboard
open fun ofVelocity(translationalVelocity: Measure<Velocity<Distance>>, drive: RoadRunnerDrive): TrajectoryVelocityConstraint
Returns a TrajectoryVelocityConstraint based on the given DriveConstants and translational velocity.