class TangentInterpolator : HeadingInterpolator
Tangent (system) interpolator for tank/differential and other nonholonomic drives.
TangentInterpolator()
Tangent (system) interpolator for tank/differential and other nonholonomic drives. |
lateinit var parametricCurve: ParametricCurve |
fun deriv(displacement: Double): Double
Returns the heading derivative at the specified displacement. |
|
fun get(displacement: Double): Double
Returns the heading at the specified displacement. |
|
fun respectsDerivativeContinuity(): Boolean
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 TangentInterpolator. |
|
fun secondDeriv(displacement: Double): Double
Returns the heading second derivative at the specified displacement. |
fun end(): Double
Returns the end heading. |
|
fun endDeriv(): Double
Returns the end heading derivative. |
|
fun endSecondDeriv(): Double
Returns the end heading second derivative. |
|
open fun init(parametricCurve: ParametricCurve): Unit
Initialize the interpolator with a parametricCurve. |
|
fun start(): Double
Returns the start heading. |
|
fun startDeriv(): Double
Returns the start heading derivative. |
|
fun startSecondDeriv(): Double
Returns the start heading second derivative. |