Turn

class Turn

Utility constructor for creating RoadRunner turn constraints.

Author

Lucas Bubner, 2024

Since

6.0.0

Properties

Link copied to clipboard
Specified maximum angular acceleration in radians per second squared.
Link copied to clipboard
Specified maximum angular velocity in radians per second.
Link copied to clipboard
Specified minimum angular acceleration in radians per second squared.

Functions

Link copied to clipboard
open fun andMaxAccel(maxAngAccel: Double, @NonNull unit: Velocity<Velocity<Angle>>): Turn
Compose this Turn object with a maximum angular acceleration constraint.
Link copied to clipboard
open fun andMaxVel(maxAngVel: Double, @NonNull unit: Velocity<Angle>): Turn
Compose this Turn object with a maximum angular velocity constraint.
Link copied to clipboard
open fun andMinAccel(minAngAccel: Double, @NonNull unit: Velocity<Velocity<Angle>>): Turn
Compose this Turn object with a minimum angular acceleration constraint.
Link copied to clipboard
open fun getOrDefault(@NonNull defaultConstraints: TurnConstraints): TurnConstraints
Get a built TurnConstraints object with the specified constraints.
Link copied to clipboard
open fun ofMaxAccel(maxAngAccel: Double, @NonNull unit: Velocity<Velocity<Angle>>): Turn
Create a new Turn object with the specified maximum angular acceleration.
Link copied to clipboard
open fun ofMaxVel(maxAngVel: Double, @NonNull unit: Velocity<Angle>): Turn
Create a new Turn object with the specified maximum angular velocity.
Link copied to clipboard
open fun ofMinAccel(minAngAccel: Double, @NonNull unit: Velocity<Velocity<Angle>>): Turn
Create a new Turn object with the specified minimum angular acceleration.