-
Notifications
You must be signed in to change notification settings - Fork 481
Description
Description
I see that currently there is get_publisher_count() method for the subscribers to query the number of publishers, but I want my subscriber to reject operating when receiving data from 2 active publishers. There could be a case where 2 different nodes create the publishers, but only one active publisher publishes a message at a time and this can be allowed
Motivation
With the current get_publisher_count() there is no clear way to control the subscription callback data. For the robot control, you might be interested in having a reference from only one node at a time, instead of multiple nodes, and this should be somehow avoided. There can be multiple publishers, but only one can be active at all times. There is currently no way to handle this kind of behaviour. Please help out on how this can be implemented.
Design / Implementation Considerations
No response
Additional Information
No response