splineTo

fun splineTo(pos: Vector2d, tangent: Rotation2d, velConstraintOverride: VelConstraint? = null, accelConstraintOverride: AccelConstraint? = null): TrajectoryBuilder
fun splineTo(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.