lineToSplineHeading

Adds a line segment with spline heading interpolation.

Parameters

endPose

end pose


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

Adds a line segment with spline heading interpolation.

Parameters

endPose

end pose

constraintsOverride

segment-specific constraints