Class CentripetalAccelerationConstraint

java.lang.Object
edu.wpi.first.math.trajectory.constraint.CentripetalAccelerationConstraint
All Implemented Interfaces:
TrajectoryConstraint

public class CentripetalAccelerationConstraint
extends Object
implements TrajectoryConstraint
A constraint on the maximum absolute centripetal acceleration allowed when traversing a trajectory. The centripetal acceleration of a robot is defined as the velocity squared divided by the radius of curvature.

Effectively, limiting the maximum centripetal acceleration will cause the robot to slow down around tight turns, making it easier to track trajectories with sharp turns.