ProfileAccelConstraint

class ProfileAccelConstraint(val minAccel: Double, val maxAccel: Double) : AccelConstraint

Acceleration constraint defined by constant minimum and maximum acceleration values.

This constraint enforces fixed acceleration limits throughout the entire path. The minimum acceleration (for deceleration) must be negative, and the maximum acceleration must be positive.

Throws

if minAccel is not negative or maxAccel is not positive

Constructors

Link copied to clipboard
constructor(minAccel: Double, maxAccel: Double)

Properties

Link copied to clipboard

The maximum acceleration value (must be positive)

Link copied to clipboard

The minimum acceleration value (must be negative)

Functions

Link copied to clipboard
open override fun minMaxProfileAccel(robotState: RobotState, path: PosePath, s: Double): MinMax

Returns the minimum and maximum profile acceleration at the specified state and path position.