lineToYConstantHeading
fun lineToYConstantHeading(posY: Double, velConstraintOverride: VelConstraint? = null, accelConstraintOverride: AccelConstraint? = null): TrajectoryBuilder
Adds a line segment that goes to \(y\)-coordinate posY.
The robot will continue traveling in the direction it is currently in; if the robot is perpendicular to the y-axis, this throws an error. Equivalent to lineToY.