spline To Linear Heading
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
end Pose
the end pose
vector Unit
units of the supplied vector in the end pose
angle Unit
units of the supplied angle in the end pose
end Tangent
the end tangent
end Tangent Unit
units of the supplied angle for the end tangent