splineToConstantHeading
fun splineToConstantHeading(pos: Vector2d, tangent: Rotation2d, velConstraintOverride: VelConstraint? = null, accelConstraintOverride: AccelConstraint? = null): TrajectoryBuilder
fun splineToConstantHeading(pos: Vector2d, tangent: Double, velConstraintOverride: VelConstraint? = null, accelConstraintOverride: AccelConstraint? = null): TrajectoryBuilder
Adds a curved path segment using quintic Hermite splines that goes to pos with an end tangent of tangent. The shape of the curve is based off of the starting position and tangent as well as the ending pos and tangent. The robot's heading remains constant as opposed to matching the tangent.