#include <LaserInterface.h>

Public Member Functions | |
| LaserInterface () | |
| ~LaserInterface () | |
| int | Update () |
| void | setBaudRate (unsigned int baud) |
| vector< uint32_t > | getCollisionPoints () |
| void | powerOn (bool on) |
Private Member Functions | |
| void | initialize () |
| double | stepToAngle (int step) |
| int | angleToStep (double angle) |
Private Attributes | |
| char | theBuffer [MAX_SIZE] |
| int | bytesRead |
| char * | theDevice |
| string | portOptions |
| char * | type |
| char * | timeout |
| hokuyo_aist::HokuyoLaser | laser |
| hokuyo_aist::HokuyoSensorInfo | sensorInfo |
| hokuyo_aist::HokuyoData | laserData |
| int | baudRate |
| bool | writeToFile |
| ofstream | outFile |
| vector< uint32_t > | collisionPoints |
| LaserInterface::LaserInterface | ( | ) |
| LaserInterface::~LaserInterface | ( | ) |
| int LaserInterface::Update | ( | ) | [virtual] |
The main update function; The end-developer of the target component must overload this function Though no input / output events are required, this is where such transfer would be done The return value can be anything, though a negative value means a failure and will kill the component
Implements BaseComponent.
| void LaserInterface::setBaudRate | ( | unsigned int | baud | ) |
| vector< uint32_t > LaserInterface::getCollisionPoints | ( | ) |
| void LaserInterface::powerOn | ( | bool | on | ) |
| void LaserInterface::initialize | ( | ) | [private] |
| double LaserInterface::stepToAngle | ( | int | step | ) | [private] |
| int LaserInterface::angleToStep | ( | double | angle | ) | [private] |
char LaserInterface::theBuffer[MAX_SIZE] [private] |
int LaserInterface::bytesRead [private] |
char* LaserInterface::theDevice [private] |
string LaserInterface::portOptions [private] |
char* LaserInterface::type [private] |
char* LaserInterface::timeout [private] |
hokuyo_aist::HokuyoLaser LaserInterface::laser [private] |
hokuyo_aist::HokuyoSensorInfo LaserInterface::sensorInfo [private] |
hokuyo_aist::HokuyoData LaserInterface::laserData [private] |
int LaserInterface::baudRate [private] |
bool LaserInterface::writeToFile [private] |
ofstream LaserInterface::outFile [private] |
vector<uint32_t> LaserInterface::collisionPoints [private] |
1.5.5