34 #ifndef RC_DEPTHPUBLISHER_H 35 #define RC_DEPTHPUBLISHER_H 40 #include <sensor_msgs/Image.h> Interface for all publishers relating to images, point clouds or other stereo-camera data...
DepthPublisher & operator=(const DepthPublisher &)
void requiresComponents(int &components, bool &color) override
Adds components and if color images are required to the given values.
bool used() override
Returns true if there are subscribers to the topic.
DepthPublisher(ros::NodeHandle &nh, const std::string &frame_id, std::function< void()> &sub_changed)
void publish(const rcg::Buffer *buffer, uint32_t part, uint64_t pixelformat) override
Offers a buffer for publication.