TurnPath

class TurnPath(val position: Vector2d, val headingPath: HeadingPath) : PosePath

Constructors

Link copied to clipboard
constructor(start: Pose2d, endAngle: Rotation2d)
constructor(position: Vector2d, headingPath: HeadingPath)

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun begin(n: Int): Pose2dDual<Arclength>

Evaluates the pose path at the beginning (arc length = 0).

Link copied to clipboard
open fun end(n: Int): Pose2dDual<Arclength>

Evaluates the pose path at the end (arc length = length).

Link copied to clipboard
open operator override fun get(s: Double, n: Int): Pose2dDual<Arclength>
Link copied to clipboard
open override fun length(): Double

Returns the total arc length of the path.

Link copied to clipboard
open fun map(map: PoseMap): MappedPosePath

Applies a pose transformation map to this path.

Link copied to clipboard
open operator fun plus(other: PosePath): CompositePosePath

Combines this path with another path to create a composite path.

Link copied to clipboard
open fun project(query: Vector2d, init: Double = 0.0): Double

Projects a query position onto the path using Newton's method.