lineToLinearHeading

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

Adds a line segment with linear heading interpolation.

Parameters

endPose

end pose

constraintsOverride

segment-specific constraints