22 #ifndef __PLUGINS_ROS_IMAGE_THREAD_H_ 23 #define __PLUGINS_ROS_IMAGE_THREAD_H_ 25 #include <core/threading/thread.h> 26 #include <aspect/blocked_timing.h> 27 #include <aspect/clock.h> 28 #include <aspect/configurable.h> 29 #include <aspect/logging.h> 30 #include <plugins/ros/aspect/ros.h> 31 #include <core/threading/mutex.h> 36 #include <ros/node_handle.h> 37 #include <image_transport/image_transport.h> 38 #include <sensor_msgs/Image.h> 41 class SharedMemoryImageBuffer;
58 virtual void finalize();
61 protected:
virtual void run() { Thread::run(); }
65 void get_sets(std::set<std::string> &missing_images,
66 std::set<std::string> &unbacked_images);
71 image_transport::Publisher pub;
72 sensor_msgs::Image msg;
77 std::map<std::string, PublisherInfo> pubs_;
79 image_transport::ImageTransport *it_;
Thread aspect that allows to obtain the current time from the clock.
Thread aspect to get access to a ROS node handle.
A class for handling time.
Thread class encapsulation of pthreads.
virtual void run()
Stub to see name in backtrace for easier debugging.
Thread aspect to use blocked timing.
Shared memory image buffer.
Thread aspect to log output.
Thread to export Fawkes images to ROS.
Thread aspect to access configuration data.