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

lineToConstantHeading

fun lineToConstantHeading(endPosition: Vector2d): T (source)

Adds a line segment with constant heading interpolation.

Parameters

endPosition - end position