lineToConstantHeading

open fun lineToConstantHeading(endPosition: Vector2d, unit: Distance): PurePursuit.PathMaker

Adds a line segment with constant heading interpolation.

Return

this

Parameters

endPosition

the end position

unit

units of the supplied vector