splineToConstantHeading

open fun splineToConstantHeading(endPositionInches: Vector2d, endHeadingRad: Double, velConstraint: TrajectoryVelocityConstraint, accelConstraint: TrajectoryAccelerationConstraint): RoadRunner.RoadRunnerTrajectoryTaskBuilder

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

Return

The builder

Parameters

endPositionInches

The end position (inches)

endHeadingRad

The end heading (radians)

velConstraint

The velocity constraint (inches/sec)

accelConstraint

The acceleration constraint (inches/sec^2)