splineToSplineHeading

open fun splineToSplineHeading(endPoseInchRad: Pose2d, endHeadingRad: Double, velConstraint: TrajectoryVelocityConstraint, accelConstraint: TrajectoryAccelerationConstraint): RoadRunner.RoadRunnerTrajectoryTaskBuilder

Spline to a given position with a spline heading and custom velocity and acceleration constraints.

Return

The builder

Parameters

endPoseInchRad

The end pose (in, in, radians)

endHeadingRad

The end heading (radians)

velConstraint

The velocity constraint (inches/sec)

accelConstraint

The acceleration constraint (inches/sec^2)