core / com.acmerobotics.roadrunner.trajectory.constraints / ProfileAccelerationConstraint

ProfileAccelerationConstraint

class ProfileAccelerationConstraint : TrajectoryAccelerationConstraint (source)

Constraint limiting profile acceleration.

Constructors

<init>

Constraint limiting profile acceleration.

ProfileAccelerationConstraint(maxProfileAccel: Double)

Functions

get

Returns the maximum profile acceleration.

fun get(s: Double, pose: Pose2d, deriv: Pose2d, baseRobotVel: Pose2d): Double