Open stonier opened 3 years ago
The api from image_common has a bug, but we do have a workaround for now:
image_common
// Workaround https://github.com/ros-perception/image_common/issues/114 // currNumSubscribers = ros_cam_pub_.getNumSubscribers(); currNumSubscribers = std::max( this->count_subscribers(ros_cam_pub_.getTopic()), this->count_subscribers(ros_cam_pub_.getInfoTopic()) );
The api from
image_common
has a bug, but we do have a workaround for now: