getAccelerationConstraint

open fun getAccelerationConstraint(maxAccel: Double): TrajectoryAccelerationConstraint

Get an acceleration constraint for the drive. Override this method to use a custom acceleration constraint.

Return

An acceleration constraint for the drive.

Parameters

maxAccel

The maximum acceleration of the drive.