|
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::PathFollower2d Interface ReferenceThe Path Follower.
More...
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Public Member Functions | |
| idempotent PathFollower2dData | getData () |
| idempotent void | setData (PathFollower2dData path, bool activateImmediately) throws MalformedParametersException, OrcaException |
| idempotent void | activateNow () |
| idempotent int | getWaypointIndex () |
| idempotent bool | getAbsoluteActivationTime (out Time activationTime) |
| idempotent bool | getRelativeActivationTime (out double secondsSinceActivation) |
| idempotent void | setEnabled (bool enabled) |
| idempotent bool | enabled () |
| Get the enabled/disabled state. | |
| void | subscribe (PathFollower2dConsumer *subscriber) throws SubscriptionFailedException |
| idempotent void | unsubscribe (PathFollower2dConsumer *subscriber) |
To make the follower follow a path:
|
|
Start following the previously-loaded path. alexm: what happens when none is loaded? Silently ignored? |
|
|
If the PathFollower is active (alexm: what does that mean? has path?)
|
|
|
Returns the path currently being followed, or throws DataNotExistException if none has been set. |
|
|
If the PathFollower is active:
|
|
|
Returns the index of the waypoint which is currently pursued:
|
|
||||||||||||
|
Loads the follower with a path to follow. If
Loading the follower with a new path while it is active over-writes the old path. The activation status of the follower is set to the value of The follower can therefore be stopped by calling setData(emptyPath,false). |
|
|
Disabling the PathFollower stops it from sending any commands to the robot. It says, "Take your hands off the wheel!". No commands can be send until it is re-enabled. |
|
|
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)
1.4.5