Laser acqusition thread for Hokuyo URG laser range finders. More...
#include "urg_aqt.h"
Public Member Functions | |
HokuyoUrgAcquisitionThread (std::string &cfg_name, std::string &cfg_prefix) | |
Constructor. | |
virtual void | pre_init (fawkes::Configuration *config, fawkes::Logger *logger) |
Pre initialization. | |
virtual void | init () |
virtual void | finalize () |
virtual void | loop () |
Laser acqusition thread for Hokuyo URG laser range finders.
This thread fetches the data from the laser.
Definition at line 39 of file urg_aqt.h.
HokuyoUrgAcquisitionThread::HokuyoUrgAcquisitionThread | ( | std::string & | cfg_name, | |
std::string & | cfg_prefix | |||
) |
Constructor.
cfg_name | short name of configuration group | |
cfg_prefix | configuration path prefix |
Definition at line 53 of file urg_aqt.cpp.
References fawkes::Thread::set_name().
void HokuyoUrgAcquisitionThread::pre_init | ( | fawkes::Configuration * | config, | |
fawkes::Logger * | logger | |||
) | [virtual] |
Pre initialization.
This method is called by the sensor thread for pre-initialization. After this method has been executed the methods get_distances_data_size() and get_echo_data_size() must return valid data.
config | configuration | |
logger | logger instance |
Implements LaserAcquisitionThread.
Definition at line 65 of file urg_aqt.cpp.
References LaserAcquisitionThread::_distances_size.