fun lineToSplineHeading(endPose: Pose2d, velConstraintOverride: TrajectoryVelocityConstraint?, accelConstraintOverride: TrajectoryAccelerationConstraint?): TrajectoryBuilder
Adds a line segment with spline heading interpolation.
endPose - end pose
endPose
constraintsOverride - segment-specific constraints
constraintsOverride