wpimath.spline Package

CubicHermiteSpline(xInitialControlVector, ...)

Represents a hermite spline of degree 3.

QuinticHermiteSpline(xInitialControlVector, ...)

Represents a hermite spline of degree 5.

Spline3()

Represents a two-dimensional parametric spline that interpolates between two points.

Spline5()

Represents a two-dimensional parametric spline that interpolates between two points.

SplineHelper()

Helper class that is used to generate cubic and quintic splines from user provided waypoints.

SplineParameterizer

Class used to parameterize a spline by its arc length.