splineToLinearHeading

fun splineToLinearHeading(endPose: Pose2d, endTangent: Angle, velConstraintOverride: TrajectoryVelocityConstraint, accelConstraintOverride: TrajectoryAccelerationConstraint = baseAccelConstraint): TrajectoryBuilder

Adds a spline segment with linear heading interpolation.

Parameters

endPose

end pose

endTangent

end tangent

constraintsOverride

segment-specific constraints