core / com.acmerobotics.roadrunner.trajectory.constraints

Package com.acmerobotics.roadrunner.trajectory.constraints

Specific constraints for trajectories and different drive types.

Types

AngularVelocityConstraint

Constraint limiting angular velocity.

class AngularVelocityConstraint : TrajectoryVelocityConstraint

MecanumVelocityConstraint

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

open class MecanumVelocityConstraint : TrajectoryVelocityConstraint

MinAccelerationConstraint

Composite constraint representing the minimum of its constituent acceleration constraints.

class MinAccelerationConstraint : TrajectoryAccelerationConstraint

MinVelocityConstraint

Composite constraint representing the minimum of its constituent velocity constraints.

class MinVelocityConstraint : TrajectoryVelocityConstraint

ProfileAccelerationConstraint

Constraint limiting profile acceleration.

class ProfileAccelerationConstraint : TrajectoryAccelerationConstraint

SwerveVelocityConstraint

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

open class SwerveVelocityConstraint : TrajectoryVelocityConstraint

TankVelocityConstraint

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

open class TankVelocityConstraint : TrajectoryVelocityConstraint

TrajectoryAccelerationConstraint

interface TrajectoryAccelerationConstraint

TrajectoryVelocityConstraint

interface TrajectoryVelocityConstraint

TranslationalVelocityConstraint

Constraint limiting translational velocity.

class TranslationalVelocityConstraint : TrajectoryVelocityConstraint

Exceptions

UnsatisfiableConstraint

Exception thrown when no velocity or acceleration combination exists that satisfies the constraint.

class UnsatisfiableConstraint : RuntimeException

Functions

<no name provided>

Motion profile acceleration constraint.

fun <no name provided>(): Unit