public class LinearInterpolator
extends HeadingInterpolator
Linear heading interpolator for time-optimal transitions between poses.
parametricCurve
Constructor and Description |
---|
LinearInterpolator(double startHeading,
double angle)
Linear heading interpolator for time-optimal transitions between poses.
|
Modifier and Type | Method and Description |
---|---|
protected double |
internalDeriv(double s,
double t) |
protected double |
internalGet(double s,
double t) |
protected double |
internalSecondDeriv(double s,
double t) |
boolean |
respectsDerivativeContinuity()
Returns true if the heading interpolator respects derivative continuity at path segment endpoints. That is,
the start and end heading derivatives match those of the
class TangentInterpolator . |
deriv, deriv, end, endDeriv, endSecondDeriv, get, get, getParametricCurve, init, internalDeriv, internalGet, internalSecondDeriv, respectsDerivativeContinuity, secondDeriv, secondDeriv, setParametricCurve, start, startDeriv, startSecondDeriv
public LinearInterpolator(double startHeading, double angle)
Linear heading interpolator for time-optimal transitions between poses.
startHeading
- start headingangle
- angle to sweep through (can be greater than a revolution)public boolean respectsDerivativeContinuity()
Returns true if the heading interpolator respects derivative continuity at path segment endpoints. That is,
the start and end heading derivatives match those of the class TangentInterpolator
.
class TangentInterpolator
class TangentInterpolator
protected double internalGet(double s, double t)
protected double internalDeriv(double s, double t)
protected double internalSecondDeriv(double s, double t)