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

TranslationalVelocityConstraint

class TranslationalVelocityConstraint : TrajectoryVelocityConstraint (source)

Constraint limiting translational velocity.

Constructors

<init>

Constraint limiting translational velocity.

TranslationalVelocityConstraint(maxTranslationalVel: Double)

Functions

get

Returns the maximum profile velocity.

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