fun lineToSplineHeading(endPose: Pose2d): PathBuilder
Adds a line segment with spline heading interpolation.
endPose - end pose
endPose