8000 Remove workaround for getNumSubscribers() when fixed · Issue #114 · anqixu/ueye_cam · GitHub
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content
Remove workaround for getNumSubscribers() when fixed #114
Open
@stonier

Description

@stonier

The api from image_common has a bug, but we do have a workaround for now:

  // 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())
  );

Metadata

Metadata

Assignees

No one assigned

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions

      0