core / com.acmerobotics.roadrunner.trajectory / TrajectoryBuilder / splineToSplineHeading

splineToSplineHeading

fun splineToSplineHeading(endPose: Pose2d, endTangent: Double, velConstraintOverride: TrajectoryVelocityConstraint?, accelConstraintOverride: TrajectoryAccelerationConstraint?): TrajectoryBuilder (source)

Adds a spline segment with spline heading interpolation.

Parameters

endPose - end pose

constraintsOverride - segment-specific constraints