spline To
open fun splineTo(endPositionInches: Vector2d, endHeadingRad: Double, velConstraint: TrajectoryVelocityConstraint, accelConstraint: TrajectoryAccelerationConstraint): RoadRunner.RoadRunnerTrajectoryTaskBuilder
Spline to a given position with a given heading and custom velocity and acceleration constraints.
Return
The builder
Parameters
end Position Inches
The end position (inches)
end Heading Rad
The end heading (radians)
vel Constraint
The velocity constraint (inches/sec)
accel Constraint
The acceleration constraint (inches/sec^2)