ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Afaik this does not exist in ROS and I would have suggested to unsubscribe on demand. As you describe this, you want to uphold the subscription to see this in the node graph, but only stop processing internally. As nodes do not have any way to figure this out, you will need something external.
Given that any pipeline node cannot know anything about the configuration and where the exit subscribers are, you will have to either setup some kind of manager (for nodelets the nodelet manager could be used) or provide an parallel pipeline mechanism that connects all pipeline nodes and instead of the data only provides the information if things should be computed backwards through the pipeline.