core / com.acmerobotics.roadrunner.trajectory.constraints

Package com.acmerobotics.roadrunner.trajectory.constraints

Specific constraints for trajectories and different drive types.

Types

DriveConstraints

open class DriveConstraints : TrajectoryConstraints

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.

MecanumConstraints

open class MecanumConstraints : DriveConstraints

Mecanum-specific drive constraints that also limit maximum wheel velocities.

SwerveConstraints

open class SwerveConstraints : DriveConstraints

Mecanum-specific drive constraints that also limit maximum wheel velocities.

TankConstraints

open class TankConstraints : DriveConstraints

Tank-specific drive constraints that also limit maximum wheel velocities.

TrajectoryConstraints

interface TrajectoryConstraints

Trajectory-specific constraints for motion profile generation.