Laser sensor thread. More...
#include "sensor_thread.h"
Public Member Functions | |
LaserSensorThread (std::string &cfg_name, std::string &cfg_prefix, LaserAcquisitionThread *aqt) | |
Constructor. | |
virtual void | init () |
virtual void | finalize () |
virtual void | loop () |
Protected Member Functions | |
virtual void | run () |
Stub to see name in backtrace for easier debugging. |
Laser sensor thread.
This thread integrates into the Fawkes main loop at the sensor hook and publishes new data when available from the LaserAcquisitionThread.
Definition at line 43 of file sensor_thread.h.
LaserSensorThread::LaserSensorThread | ( | std::string & | cfg_name, | |
std::string & | cfg_prefix, | |||
LaserAcquisitionThread * | aqt | |||
) |
Constructor.
cfg_name | short name of configuration group | |
cfg_prefix | configuration path prefix | |
aqt | LaserAcquisitionThread to get data from |
Definition at line 49 of file sensor_thread.cpp.
References fawkes::Thread::set_name().
virtual void LaserSensorThread::run | ( | ) | [inline, protected, virtual] |
Stub to see name in backtrace for easier debugging.
Definition at line 59 of file sensor_thread.h.