lineToLinearHeading

open fun lineToLinearHeading(endPose: Pose2d, vectorUnit: Distance, angleUnit: Angle): PurePursuit.PathMaker

Adds a line segment with linear heading interpolation.

Return

this

Parameters

endPose

the end pose

vectorUnit

units of the supplied vector

angleUnit

units of the supplied angle