fun lineToLinearHeading(endPose: Pose2d, velConstraintOverride: TrajectoryVelocityConstraint?, accelConstraintOverride: TrajectoryAccelerationConstraint?): TrajectoryBuilder
Adds a line segment with linear heading interpolation.
endPose - end pose
endPose
constraintsOverride - segment-specific constraints
constraintsOverride