core / com.acmerobotics.roadrunner.trajectory / BaseTrajectoryBuilder / splineToLinearHeading

splineToLinearHeading

fun splineToLinearHeading(endPose: Pose2d, endTangent: Double): T (source)

Adds a spline segment with linear heading interpolation.

Parameters

endPose - end pose

endTangent - end tangent