core / com.acmerobotics.roadrunner.trajectory.constraints / TrajectoryVelocityConstraint

TrajectoryVelocityConstraint

interface TrajectoryVelocityConstraint (source)

Functions

get

Returns the maximum profile velocity.

abstract operator fun get(s: Double, pose: Pose2d, deriv: Pose2d, baseRobotVel: Pose2d): Double

Inheritors

AngularVelocityConstraint

Constraint limiting angular velocity.

class AngularVelocityConstraint : TrajectoryVelocityConstraint

MecanumVelocityConstraint

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

open class MecanumVelocityConstraint : TrajectoryVelocityConstraint

MinVelocityConstraint

Composite constraint representing the minimum of its constituent velocity constraints.

class MinVelocityConstraint : TrajectoryVelocityConstraint

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

TranslationalVelocityConstraint

Constraint limiting translational velocity.

class TranslationalVelocityConstraint : TrajectoryVelocityConstraint