core / com.acmerobotics.roadrunner.path / QuinticSpline / <init>

<init>

QuinticSpline(start: QuinticSpline.Waypoint, end: QuinticSpline.Waypoint, maxDeltaK: Double = 0.01, maxSegmentLength: Double = 0.25)

Combination of two quintic polynomials into a 2D quintic spline. See this short paper for some motivation and implementation details.

Parameters

start - start waypoint

end - end waypoint

maxDeltaK - maximum change in curvature between arc length param segments

maxSegmentLength - maximum length of a single param segment