public class HeadingInterpolator
Interpolator for specifying the heading for holonomic paths.
@NotNull protected ParametricCurve curve
Base parametric curve
public HeadingInterpolator()
Interpolator for specifying the heading for holonomic paths.
@NotNull protected ParametricCurve getCurve()
Base parametric curve
protected void setCurve(@NotNull ParametricCurve p)
Base parametric curve
public void init(@NotNull ParametricCurve curve)
Initialize the interpolator with a curve
.
curve
- parametric curvecurve
@JvmOverloads public double get(double s, double t)
Returns the heading at the specified s
.
s
@JvmOverloads public double deriv(double s, double t)
Returns the heading derivative at the specified s
.
s
@JvmOverloads public double deriv(double s)
Returns the heading derivative at the specified s
.
s
@JvmOverloads public double secondDeriv(double s, double t)
Returns the heading second derivative at the specified s
.
s
@JvmOverloads public double secondDeriv(double s)
Returns the heading second derivative at the specified s
.
s
public double start()
Returns the start heading.
public double startDeriv()
Returns the start heading derivative.
public double startSecondDeriv()
Returns the start heading second derivative.
public double end()
Returns the end heading.
public double endDeriv()
Returns the end heading derivative.
public double endSecondDeriv()
Returns the end heading second derivative.