lineToSplineHeading

fun lineToSplineHeading(endPose: Pose2d, velConstraintOverride: TrajectoryVelocityConstraint, accelConstraintOverride: TrajectoryAccelerationConstraint = baseAccelConstraint): TrajectoryBuilder

Adds a line segment with spline heading interpolation.

Parameters

endPose

end pose

constraintsOverride

segment-specific constraints