splineToLinearHeading

Adds a spline segment with linear heading interpolation.

Parameters

endPose

end pose

endTangent

end tangent


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

Adds a spline segment with linear heading interpolation.

Parameters

endPose

end pose

endTangent

end tangent

constraintsOverride

segment-specific constraints