lineToConstantHeading

fun lineToConstantHeading(endPosition: Vector2d, velConstraintOverride: TrajectoryVelocityConstraint, accelConstraintOverride: TrajectoryAccelerationConstraint = baseAccelConstraint): TrajectoryBuilder

Adds a line segment with constant heading interpolation.

Parameters

endPosition

end position

constraintsOverride

segment-specific constraints