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

splineToConstantHeading

fun splineToConstantHeading(endPosition: Vector2d, endTangent: Double): T (source)

Adds a spline segment with constant heading interpolation.

Parameters

endPosition - end position

endTangent - end tangent