Skip to content
This repository was archived by the owner on May 31, 2025. It is now read-only.
This repository was archived by the owner on May 31, 2025. It is now read-only.

Clarify the documentation for method getNumSubscribers() #22

@blaroche

Description

@blaroche

This is an enhancement issue based on the discussions about this question: http://answers.ros.org/question/11167/how-do-i-publish-exactly-one-message

The method getNumSubscribers() returns the number of subscribers that are currently connected to the local publisher, and not the total number of subscribers for that topic.

The documentation should be clarified to avoid misinterpretations. Also, it could link to a method that would return the total number of subscribers for that topic.

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions