orca-robotics INTRODUCTION Overview Download and Install Quick Start Documentation Publications REPOSITORY Interfaces Components Libraries Utilities Software Map DEVELOPER Tutorials Examples Dev Guide Dashboard Wiki login/pass: orca/orca PEOPLE Contributors Users Project Download Mailing lists
|
orca::PathPlanner2d Interface ReferencePlanning a path in 2D.
More...
|
Public Member Functions | |
int | setTask (PathPlanner2dTask task) throws BusyException, RequiredInterfaceFailedException |
idempotent PathPlanner2dData | getData () |
Returns the most-recently-computed computed path. | |
void | subscribe (PathPlanner2dConsumer *subscriber) throws SubscriptionFailedException |
idempotent void | unsubscribe (PathPlanner2dConsumer *subscriber) |
PathPlanner is an interface that accepts a task consisting of a coarse path with the first entry being the starting waypoint. It serves the computed fine-grained path to the consumer via proxy. "setTask" returns the number of tasks in queue ahead of this new task.
The second method of accessing the computed path is to use the getData method. The third method is via subscribe. These two methods are used when a component wants direct access to the currently computed path rather than a one-shot task-specific result (e.g. a GUI).
|
Set a task. Returns the number of tasks currently in the queue (not including the one which was just set). |
|
Mimics IceStorm's subscribe(). The implementation may choose to implement the push directly or use IceStorm. This choice is transparent to the subscriber.
|
|
Unsubscribe the given [subscriber].
|
Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)