rec::robotino::com::LaserRangeFinder Class Reference
Access to Robotino's (optional) laser rangefinder.
More...
#include <LaserRangeFinder.h>
List of all members.
Detailed Description
Access to Robotino's (optional) laser rangefinder.
Member Function Documentation
| void rec::robotino::com::LaserRangeFinder::setComId |
( |
const ComId & |
id |
) |
|
Sets the associated communication object.
- Parameters:
-
| id | The id of the associated communication object. |
- Exceptions:
-
| void rec::robotino::com::LaserRangeFinder::connectToServer |
( |
|
) |
|
Normally the LaserRangeFinder's data exchange client is connected to Robotino by calling Com::connect(). For debugging you might want to only connect to the LaserRangeFinder server on Robotino.
- See also:
- Com::connect
| void rec::robotino::com::LaserRangeFinder::disconnectFromServer |
( |
|
) |
|
| void rec::robotino::com::LaserRangeFinder::setAddress |
( |
const std::string & |
address |
) |
|
| void rec::robotino::com::LaserRangeFinder::setRawDataCallbackEnabled |
( |
bool |
enable |
) |
|
Enables/Disables the rawDataCallback and also disables/enables the readingsCallback. The rawDataCallback is disabled and the readingsCallback is enabled by default.
- Parameters:
-
| enable | True to enable the rawDataCallback. False to disable the rawDataCallback. |
| virtual void rec::robotino::com::LaserRangeFinder::rawDataCallback |
( |
const char * |
data, |
|
|
int |
dataSize | |
|
) |
| | [virtual] |
Use this callback to get the raw encoded rangefinder data. This data can be decoded by rec::core_lt::LaserScanMessage.
- Parameters:
-
| data | The encoded data |
| dataSize | The number of bytes in the data buffer. |
- See also:
- setRawDataCallbackEnabled
The documentation for this class was generated from the following file: