34 #ifndef RC_IMAGEPUBLISHER_H 35 #define RC_IMAGEPUBLISHER_H 41 #include <sensor_msgs/Image.h> 49 bool out1_filter, std::function<
void()>& sub_changed);
Interface for all publishers relating to images, point clouds or other stereo-camera data...
bool used() override
Returns true if there are subscribers to the topic.
image_transport::Publisher pub_out1_low
ImagePublisher & operator=(const ImagePublisher &)
void publish(const rcg::Buffer *buffer, uint32_t part, uint64_t pixelformat) override
Offers a buffer for publication.
void requiresComponents(int &components, bool &color) override
Adds components and if color images are required to the given values.
image_transport::Publisher pub
ImagePublisher(image_transport::ImageTransport &it, const std::string &frame_id, bool left, bool color, bool out1_filter, std::function< void()> &sub_changed)
image_transport::Publisher pub_out1_high