core / com.acmerobotics.roadrunner.path

Package com.acmerobotics.roadrunner.path

Type hierarchy for representing 2D holonomic robot paths (x, y, and heading components).

Types

LineSegment

class LineSegment : ParametricCurve

Parametric representation of a line.

NthDegreePolynomial

class NthDegreePolynomial

Nth-degree polynomial interpolated according to the provided derivatives. Note that this implementation is less performant than QuinticPolynomial as it uses general matrix operations for derivative computations.

NthDegreeSplineSegment

class NthDegreeSplineSegment : ParametricCurve

Combination of two quintic polynomials into a 2D spline.

ParametricCurve

abstract class ParametricCurve

Parametric curve with two components (x and y).

Path

class Path

Path composed of a parametric curve and a heading interpolator.

PathBuilder

class PathBuilder

Easy-to-use builder for creating Path instances.

QuinticPolynomial

class QuinticPolynomial

Quintic polynomial interpolated according to the provided derivatives.

QuinticSplineSegment

class QuinticSplineSegment : ParametricCurve

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