of Acceleration
open fun ofAcceleration(translationalAcceleration: Measure<Velocity<Velocity<Distance>>>, drive: RoadRunnerDrive): TrajectoryAccelerationConstraint
Returns a TrajectoryAccelerationConstraint based on the given DriveConstants and translational acceleration.
Return
A TrajectoryAccelerationConstraint based on the given parameters.
Parameters
translational Acceleration
The translational acceleration to use.
drive
The DriveConstants to use.