Class Spline

java.lang.Object
edu.wpi.first.math.spline.Spline
Direct Known Subclasses:
CubicHermiteSpline, QuinticHermiteSpline

public abstract class Spline
extends Object
Represents a two-dimensional parametric spline that interpolates between two points.
  • Method Details

    • getCoefficients

      protected abstract org.ejml.simple.SimpleMatrix getCoefficients()
      Returns the coefficients of the spline.
      Returns:
      The coefficients of the spline.
    • getPoint

      public PoseWithCurvature getPoint​(double t)
      Gets the pose and curvature at some point t on the spline.
      Parameters:
      t - The point t
      Returns:
      The pose and curvature at that point.