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

strafeLeft

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

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

Parameters

distance - distance to strafe left

constraintsOverride - segment-specific constraints