#include <ArLaserReflectorDevice.h>
Inheritance diagram for ArLaserReflectorDevice:
This class is for showing the laser reflectors in MobileEyes. This requires that the range device you pass in uses the 'extraInt' in the rawReadings ArSensorReading to note reflector value and that anything greater than 0 is a reflector.
Public Member Functions | |
void | addToConfig (ArConfig *config, const char *section) |
Adds a reflector threshold to the task. | |
ArLaserReflectorDevice (ArRangeDevice *laser, ArRobot *robot, const char *name="reflector") | |
Constructor. | |
void | processReadings (void) |
Grabs the new readings from the robot and adds them to the buffers. | |
virtual void | setRobot (ArRobot *robot) |
Specifically does nothing since it was done in the constructor. | |
virtual | ~ArLaserReflectorDevice () |
Destructor. | |
Protected Attributes | |
ArRangeDevice * | myLaser |
ArFunctorC< ArLaserReflectorDevice > | myProcessCB |
int | myReflectanceThreshold |