CentripetalAccelerationConstraint

class wpimath.trajectory.constraint.CentripetalAccelerationConstraint(maxCentripetalAcceleration: meters_per_second_squared)

Bases: 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.

static fromFps(maxCentripetalAcceleration: feet_per_second_squared) wpimath._controls._controls.constraint.CentripetalAccelerationConstraint
maxVelocity(pose: wpimath.geometry._geometry.Pose2d, curvature: radians_per_meter, velocity: meters_per_second) meters_per_second
minMaxAcceleration(pose: wpimath.geometry._geometry.Pose2d, curvature: radians_per_meter, speed: meters_per_second) wpimath._controls._controls.constraint.TrajectoryConstraint.MinMax