core / com.acmerobotics.roadrunner.trajectory.constraints / DriveConstraints / <init>

<init>

DriveConstraints(maxVel: Double, maxAccel: Double, maxJerk: Double, maxAngVel: Double, maxAngAccel: Double, maxAngJerk: Double)

This class describes general robot trajectory constraints. More specifically, for paths, the robot velocity, robot acceleration, and robot angular velocity are limited. For point turns, the angular velocity and angular acceleration are limited.

Parameters

maxVel - maximum robot velocity

maxAccel - maximum robot acceleration

maxJerk - maximum robot jerk (ignored by dynamic profiles)

maxAngVel - maximum angular velocity

maxAngAccel - maximum angular acceleration (ignored by path-based trajectories)

maxAngJerk - maximum angular jerk (ignored by path-based trajectories)