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

back

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

Adds a line straight backward.

Parameters

distance - distance to travel backward

constraintsOverride - segment-specific constraints