lineToXSplineHeading

fun lineToXSplineHeading(posX: Double, posUnit: Distance = Inches, heading: Rotation2d): TaskBuilder
fun lineToXSplineHeading(posX: Double, posUnit: Distance = Inches, heading: Double, headingUnit: Angle = Radians): TaskBuilder

Move to the specified posX coordinate in the direction of the current heading while spline interpolating the heading to heading.