
Class for interfacing with a depth sensor. More...
#include <BeoSub/BeoSubDepthSensor.H>


Public Member Functions | |
| BeoSubDepthSensor (OptionManager &mgr, const std::string &descrName="Depth Sensor", const std::string &tagName="DepthSensor", const char *dev="/dev/ttyS0") | |
| Initialize. | |
| ~BeoSubDepthSensor () | |
| Destructor. | |
| float | get () |
| read the depth | |
| void | run () |
| The user need not concern himself with this method. | |
Protected Member Functions | |
| void | start2 () |
| get started | |
| void | stop1 () |
| get stopped | |
Class for interfacing with a depth sensor.
Definition at line 48 of file BeoSubDepthSensor.H.
| BeoSubDepthSensor::BeoSubDepthSensor | ( | OptionManager & | mgr, | |
| const std::string & | descrName = "Depth Sensor", |
|||
| const std::string & | tagName = "DepthSensor", |
|||
| const char * | dev = "/dev/ttyS0" | |||
| ) |
Initialize.
Definition at line 54 of file BeoSubDepthSensor.C.
References ModelComponent::addSubComponent().
| BeoSubDepthSensor::~BeoSubDepthSensor | ( | ) |
Destructor.
Definition at line 79 of file BeoSubDepthSensor.C.
| float BeoSubDepthSensor::get | ( | ) |
read the depth
Definition at line 111 of file BeoSubDepthSensor.C.
| void BeoSubDepthSensor::run | ( | ) |
The user need not concern himself with this method.
Should have been protected, but is not because of the pthread hack.
Definition at line 83 of file BeoSubDepthSensor.C.
| void BeoSubDepthSensor::start2 | ( | ) | [protected, virtual] |
| void BeoSubDepthSensor::stop1 | ( | ) | [protected, virtual] |
1.6.3