ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Thank you for all the suggestions. In the end, I had my Subscriber publish a "confirmation message" back to the Publisher. That way, the Publishing Node could always keep track of both the number of messages sent as well as the number of messages that were received.
The difference of "sent minus received" then provides the current Queue size (unless of course the Queue overflows, but that's another matter entirely).