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

strafeTo

fun strafeTo(endPosition: Vector2d, velConstraintOverride: TrajectoryVelocityConstraint?, accelConstraintOverride: TrajectoryAccelerationConstraint?): TrajectoryBuilder (source)

Adds a strafe path segment.

Parameters

endPosition - end position

constraintsOverride - segment-specific constraints