splineToSplineHeading

open fun splineToSplineHeading(endPose: Pose2d, endHeading: Double): TrajectorySequenceBuilder
open fun splineToSplineHeading(endPose: Pose2d, endHeading: Double, velConstraint: TrajectoryVelocityConstraint, accelConstraint: TrajectoryAccelerationConstraint): TrajectorySequenceBuilder

For documentation on this function, see the Roadrunner documentation.