#include <ArIRs.h>
Inheritance diagram for ArIRs:
Public Member Functions | |
ArIRs (size_t currentBufferSize=10, size_t cumulativeBufferSize=10, const char *name="irs", int maxSecondsToKeepCurrent=15) | |
void | processReadings (void) |
virtual void | setRobot (ArRobot *robot) |
Sets the robot this device is attached to. | |
Protected Attributes | |
std::vector< int > | cycleCounters |
ArRobotParams | myParams |
ArFunctorC< ArIRs > | myProcessCB |
ArRobot * | myRobot |
Definition at line 38 of file ArIRs.h.
|
Definition at line 41 of file ArIRs.cpp. References ArRangeDevice::setCurrentDrawingData(). |
|
This function is called every 100 milliseconds. Definition at line 79 of file ArIRs.cpp. References ArRangeBuffer::addReading(), ArTransform::doTransform(), ArRobot::getDigIn(), ArRobot::getIODigIn(), ArRobot::getIODigInSize(), ArRobotParams::getIRCycles(), ArRobotParams::getIRType(), ArRobotParams::getIRX(), ArRobotParams::getIRY(), ArRobotParams::getNumIR(), ArRobot::getToGlobalTransform(), ArPose::getX(), ArPose::getY(), ArRobotParams::haveNewTableSensingIR(), ArRobotParams::haveTableSensingIR(), ArPose::setX(), and ArPose::setY(). |