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