core / com.acmerobotics.roadrunner.trajectory / TrajectoryBuilder / strafeRight

strafeRight

fun strafeRight(distance: Double, velConstraintOverride: TrajectoryVelocityConstraint?, accelConstraintOverride: TrajectoryAccelerationConstraint?): TrajectoryBuilder (source)

Adds a segment that strafes right in the robot reference frame.

Parameters

distance - distance to strafe right

constraintsOverride - segment-specific constraints