splineToConstantHeading
Adds a bézier curve to the path defined by the lastPose, controlPoses, and the endPose. The heading will be held constant at the lastPose's heading throughout the segment, regardless of the direction of travel.