ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Maybe you can use the parameter server... "Nodes [...] communicate with one another using streaming topics, RPC services, and the Parameter Server."
2 | brief explanation |
Maybe you can use the parameter server... "Nodes [...] communicate with one another using streaming topics, RPC services, and the Parameter Server."
EDIT: In order to mantain modularity and independent nodes, you can modify (increment?) a parameter '/pub_counter' everytime you publish on a topic. On the other side you can check this parameter within your callback function.