class PathSegment
Path segment composed of a parametric curve and heading interpolator.
interpolator
- heading interpolator
reversed
- if true, the segment is interpolated in reverse
PathSegment(curve: ParametricCurve, interpolator: HeadingInterpolator = TangentInterpolator(), reversed: Boolean = false)
Path segment composed of a parametric curve and heading interpolator. |
val curve: ParametricCurve
parametric curve |
|
val interpolator: HeadingInterpolator
heading interpolator |
|
val reversed: Boolean
if true, the segment is interpolated in reverse |
fun deriv(s: Double, t: Double = reparam(s)): Pose2d |
|
fun end(): Pose2d
Returns the end pose. |
|
fun endDeriv(): Pose2d
Returns the end pose derivative. |
|
fun endSecondDeriv(): Pose2d
Returns the end pose second derivative. |
|
operator fun get(s: Double, t: Double = reparam(s)): Pose2d |
|
fun length(): Double |
|
fun reparam(s: Double): Double |
|
fun secondDeriv(s: Double, t: Double = reparam(s)): Pose2d |
|
fun start(): Pose2d
Returns the start pose. |
|
fun startDeriv(): Pose2d
Returns the start pose derivative. |
|
fun startSecondDeriv(): Pose2d
Returns the start pose second derivative. |