34 #ifndef RC_CAMERAINFOPUBLISHER_H 35 #define RC_CAMERAINFOPUBLISHER_H 40 #include <sensor_msgs/CameraInfo.h> 67 sensor_msgs::CameraInfo
info;
Interface for all publishers relating to images, point clouds or other stereo-camera data...
CameraInfoPublisher(ros::NodeHandle &nh, const std::string &frame_id, bool left, std::function< void()> &sub_changed)
Initialization of publisher.
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.
sensor_msgs::CameraInfo info
void publish(const rcg::Buffer *buffer, uint32_t part, uint64_t pixelformat) override
Offers a buffer for publication.
CameraInfoPublisher & operator=(const CameraInfoPublisher &)