22 #ifndef __PLUGINS_ROS_POSITION_3D_THREAD_H_ 23 #define __PLUGINS_ROS_POSITION_3D_THREAD_H_ 26 #include <core/threading/thread.h> 27 #include <aspect/blocked_timing.h> 28 #include <aspect/logging.h> 29 #include <aspect/blackboard.h> 30 #include <aspect/configurable.h> 31 #include <plugins/ros/aspect/ros.h> 32 #include <blackboard/interface_listener.h> 33 #include <blackboard/interface_observer.h> 34 #include <core/threading/mutex.h> 35 #include <interfaces/Position3DInterface.h> 40 #include <ros/node_handle.h> 60 unsigned int instance_serial)
throw();
62 unsigned int instance_serial)
throw();
69 ros::Publisher ros_pub_;
70 std::list<fawkes::Position3DInterface *> ifs_;
71 std::string cfg_ros_topic_;
RosPosition3DThread()
Constructor.
Thread aspect to access to BlackBoard.
Thread aspect to get access to a ROS node handle.
virtual ~RosPosition3DThread()
Destructor.
virtual void init()
Initialize the thread.
Thread class encapsulation of pthreads.
Thread to publish Position3Ds to ROS.
Base class for all Fawkes BlackBoard interfaces.
virtual void bb_interface_reader_removed(fawkes::Interface *interface, unsigned int instance_serial)
A reading instance has been closed for a watched interface.
virtual void bb_interface_writer_removed(fawkes::Interface *interface, unsigned int instance_serial)
A writing instance has been closed for a watched interface.
virtual void bb_interface_data_changed(fawkes::Interface *interface)
BlackBoard data changed notification.
Thread aspect to log output.
BlackBoard interface observer.
Thread aspect to access configuration data.
virtual void bb_interface_created(const char *type, const char *id)
BlackBoard interface created notification.
virtual void finalize()
Finalize the thread.
BlackBoard interface listener.