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. If maxJerk or maxAngJerk are 0, acceleration-limited fallbacks will be used.

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 trajectories)

maxAngJerk - maximum angular jerk (ignored by trajectories)