34 #ifndef RC_IMAGEPUBLISHER_H 35 #define RC_IMAGEPUBLISHER_H 41 #include <sensor_msgs/Image.h> 70 void publish(
const rcg::Buffer* buffer, uint32_t part, uint64_t pixelformat,
bool out1);
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.
image_transport::Publisher pub
void setOut1Alternate(bool alternate)
image_transport::Publisher pub_out1_high
ImagePublisher(image_transport::ImageTransport &it, const std::string &frame_id_prefix, bool left, bool color, bool out1_filter)
Initialization of publisher.