fun lineTo(endPosition: Vector2d, velConstraintOverride: TrajectoryVelocityConstraint?, accelConstraintOverride: TrajectoryAccelerationConstraint?): TrajectoryBuilder
Adds a line segment with tangent heading interpolation.
endPosition - end position
endPosition
constraintsOverride - segment-specific constraints
constraintsOverride