splineToConstantHeading

open fun splineToConstantHeading(endPosition: Vector2d, distanceUnit: Distance, endTangent: Double, angleUnit: Angle): PurePursuit.PathMaker

Adds a spline segment with constant heading interpolation.

Return

this

Parameters

endPosition

the end position

distanceUnit

units of the supplied vector

endTangent

the end tangent

angleUnit

units of the supplied angle