23 #ifndef __PLUGINS_LASER_SENSOR_THREAD_H_
24 #define __PLUGINS_LASER_SENSOR_THREAD_H_
26 #include <core/threading/thread.h>
27 #include <aspect/blocked_timing.h>
28 #include <aspect/logging.h>
29 #include <aspect/configurable.h>
30 #include <aspect/blackboard.h>
35 class Laser360Interface;
36 class Laser720Interface;
57 protected:
virtual void run() { Thread::run(); }
65 unsigned int __num_values;
67 std::string __cfg_name;
68 std::string __cfg_frame;
69 std::string __cfg_prefix;
Laser360Interface Fawkes BlackBoard Interface.
Thread aspect to access to BlackBoard.
virtual void init()
Initialize the thread.
Thread class encapsulation of pthreads.
LaserSensorThread(std::string &cfg_name, std::string &cfg_prefix, LaserAcquisitionThread *aqt)
Constructor.
Thread aspect to use blocked timing.
virtual void loop()
Code to execute in the thread.
virtual void finalize()
Finalize the thread.
Thread aspect to log output.
Thread aspect to access configuration data.
Laser720Interface Fawkes BlackBoard Interface.
virtual void run()
Stub to see name in backtrace for easier debugging.