21 #ifndef __PLUGINS_ROS_CLOCK_THREAD_H_ 22 #define __PLUGINS_ROS_CLOCK_THREAD_H_ 24 #include <core/threading/thread.h> 25 #include <aspect/logging.h> 26 #include <aspect/configurable.h> 27 #include <aspect/blackboard.h> 28 #include <aspect/clock.h> 29 #include <plugins/ros/aspect/ros.h> 30 #include <ros/node_handle.h> 52 protected:
virtual void run() { Thread::run(); }
60 unsigned int cfg_freq_;
Thread aspect to access to BlackBoard.
Thread aspect that allows to obtain the current time from the clock.
Thread aspect to get access to a ROS node handle.
RosClockThread()
Constructor.
virtual void run()
Stub to see name in backtrace for easier debugging.
virtual void finalize()
Finalize the thread.
Fawkes library namespace.
Thread class encapsulation of pthreads.
Thread to publish clock to ROS.
virtual void loop()
Code to execute in the thread.
virtual void init()
Initialize the thread.
Thread aspect to log output.
Thread aspect to access configuration data.