fun lineToConstantHeading(endPosition: Vector2d, velConstraintOverride: TrajectoryVelocityConstraint?, accelConstraintOverride: TrajectoryAccelerationConstraint?): TrajectoryBuilder
Adds a line segment with constant heading interpolation.
endPosition - end position
endPosition
constraintsOverride - segment-specific constraints
constraintsOverride