Builder
Builder class to assist in creating a DriveProfile.
Functions
Link copied to clipboard
Build the drive profile.
Link copied to clipboard
Set the acceleration feedforward gain in tick units.
Link copied to clipboard
Set the static feedforward gain in tick units.
Link copied to clipboard
Set the velocity feedforward gain in tick units.
Link copied to clipboard
open fun setMaxAngAccel(@NonNull maxAngAccel: Measure<Velocity<Velocity<Angle>>>): MotionProfile.Builder
Set the maximum angular acceleration.
Set the maximum angular acceleration in radians per second squared.
Link copied to clipboard
Set the maximum angular velocity.
Set the maximum angular velocity in radians per second.
Link copied to clipboard
open fun setMaxProfileAccel(@NonNull maxAccel: Measure<Velocity<Velocity<Distance>>>): MotionProfile.Builder
Set the upper acceleration profile limit.
Set the upper acceleration profile limit in inches per second squared.
Link copied to clipboard
Set the maximum wheel velocity.
Set the maximum wheel velocity in inches per second.
Link copied to clipboard
open fun setMinProfileAccel(@NonNull minAccel: Measure<Velocity<Velocity<Distance>>>): MotionProfile.Builder
Set the lower acceleration profile limit.
Set the lower acceleration profile limit in inches per second squared.