makePath

Start constructing a new Pure Pursuit path that will start from the current drive pose which is captured when the path is built (may be delegated if not using a task build method).

Return

the Pure Pursuit path and task builder


open fun makePath(staticStartPose: Pose2d): PurePursuit.PathMaker

Start constructing a new Pure Pursuit path that starts from this static pose.

Return

the Pure Pursuit path and task builder

Parameters

staticStartPose

the pose to start from


open fun makePath(startPose: Supplier<Pose2d>): PurePursuit.PathMaker

Start constructing a new Pure Pursuit path that will start from the pose supplied by this pose supplier when the path is built (may be delegated if not using a task build method).

Return

the Pure Pursuit path and task builder

Parameters

startPose

the pose to use as the path starting pose when this path is started