splineToLinearHeading

open fun splineToLinearHeading(endPose: Pose2d, vectorUnit: Distance, angleUnit: Angle, endTangent: Double, endTangentUnit: Angle): PurePursuit.PathMaker

Adds a spline segment with linear heading interpolation.

Return

this

Parameters

endPose

the end pose

vectorUnit

units of the supplied vector in the end pose

angleUnit

units of the supplied angle in the end pose

endTangent

the end tangent

endTangentUnit

units of the supplied angle for the end tangent