|
orca-robotics INTRODUCTION Overview Download and Install Documentation REPOSITORY Interfaces Drivers Libraries Utilities Software Map DEVELOPER Dashboard PEOPLE Contributors Users Project Download Mailing lists
|
hydrointerfaces::SegwayRmp Class ReferenceAbstract interface class for providing access to Segway's RMP robotic platform.
More...
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||
Public Member Functions | |
| virtual void | enable ()=0 |
| virtual bool | read (Data &data)=0 |
| virtual void | write (const Command &command)=0 |
| Writes motion command. | |
| virtual void | getStatus (std::string &status, bool &isWarn, bool &isFault)=0 |
| virtual void | applyHardwareLimits (double &maxForwardSpeed, double &maxReverseSpeed, double &maxTurnrate, double &maxLateralAcceleration)=0 |
| Modifies the arguments, thresholding to match what this hardware can actually do. | |
Classes | |
| class | Command |
| Motion command structure. More... | |
| class | Data |
| Data structure More... | |
| class | Exception |
| Exception thrown by implementations of SegwayRmp interface. More... | |
Member functions throw Exception on error conditions.
The implementations of this interface are not expected to be thread-safe.
|
|
Throws Exception on failure. It is not an error to call this repeatedly: repeated calls should re-initialise the hardware. (eg this will be called if the hardware reports an error condition) |
|
||||||||||||||||
|
Get information about the current status of the driver. the string 'status' is a human-readable description. Note that there are two ways for faults to be notified:
|
|
|
Blocking read. Returns: true: important change in internal state occured (details can be read with getStatus). false: no important change |
Webmaster: Tobias Kaupp (tobasco at users.sourceforge.net)
1.4.5