class Path
Path composed of a list of parametric curves and heading interpolators.
segments
- list of path segments
Path(segment: PathSegment) Path(segments: List<PathSegment>)
Path composed of a list of parametric curves and heading interpolators. |
val segments: List<PathSegment>
list of path segments |
fun deriv(s: Double, t: Double = reparam(s)): Pose2d
Returns the pose derivative s units along the path. |
|
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
Returns the pose s units along the path. |
|
fun length(): Double
Returns the length of the path. |
|
fun project(queryPoint: Vector2d, projectGuess: Double = length() / 2.0): Double
Project queryPoint onto the current path using the iterative method described here. |
|
fun secondDeriv(s: Double, t: Double = reparam(s)): Pose2d
Returns the pose second derivative s units along the path. |
|
fun start(): Pose2d
Returns the start pose. |
|
fun startDeriv(): Pose2d
Returns the start pose derivative. |
|
fun startSecondDeriv(): Pose2d
Returns the start pose second derivative. |