forward

fun forward(distance: Double, velConstraintOverride: TrajectoryVelocityConstraint, accelConstraintOverride: TrajectoryAccelerationConstraint = baseAccelConstraint): TrajectoryBuilder

Adds a line straight forward.

Parameters

distance

distance to travel forward

constraintsOverride

segment-specific constraints