ROS Answers: Open Source Q&A Forum - RSS feedhttps://answers.ros.org/questions/Open source question and answer forum written in Python and DjangoenROS Answers is licensed under Creative Commons Attribution 3.0Thu, 29 Oct 2015 05:15:04 -0500How can statistics for all active ROS Topics be obtained?https://answers.ros.org/question/61093/how-can-statistics-for-all-active-ros-topics-be-obtained/Is there a way to display statistics for all active ROS topics in a system? By statistics I mean bandwidth usage, publishing rate, number of messages dropped, etc. I looked at "rostopic bw" and "rostopic hz" but they only display information for one topic at a time.
Thu, 18 Apr 2013 11:25:22 -0500https://answers.ros.org/question/61093/how-can-statistics-for-all-active-ros-topics-be-obtained/Comment by joq for <p>Is there a way to display statistics for all active ROS topics in a system? By statistics I mean bandwidth usage, publishing rate, number of messages dropped, etc. I looked at "rostopic bw" and "rostopic hz" but they only display information for one topic at a time.</p>
https://answers.ros.org/question/61093/how-can-statistics-for-all-active-ros-topics-be-obtained/?comment=61164#post-id-61164Seems generally useful. If there is not already a solution, you can probably fork a copy of rostopic and modify it to handle that. Fri, 19 Apr 2013 06:14:11 -0500https://answers.ros.org/question/61093/how-can-statistics-for-all-active-ros-topics-be-obtained/?comment=61164#post-id-61164Answer by fivef for <p>Is there a way to display statistics for all active ROS topics in a system? By statistics I mean bandwidth usage, publishing rate, number of messages dropped, etc. I looked at "rostopic bw" and "rostopic hz" but they only display information for one topic at a time.</p>
https://answers.ros.org/question/61093/how-can-statistics-for-all-active-ros-topics-be-obtained/?answer=220086#post-id-220086 Since ROS Indigo node statistics are available via:
`rosparam set enable_statistics true` (see [http://wiki.ros.org/Topics#Topic_statistics](http://wiki.ros.org/Topics#Topic_statistics))
A nice framework including rqt plugins is available on [https://github.com/ROS-PSE/arni](https://github.com/ROS-PSE/arni)
Thu, 29 Oct 2015 05:15:04 -0500https://answers.ros.org/question/61093/how-can-statistics-for-all-active-ros-topics-be-obtained/?answer=220086#post-id-220086Answer by tfoote for <p>Is there a way to display statistics for all active ROS topics in a system? By statistics I mean bandwidth usage, publishing rate, number of messages dropped, etc. I looked at "rostopic bw" and "rostopic hz" but they only display information for one topic at a time.</p>
https://answers.ros.org/question/61093/how-can-statistics-for-all-active-ros-topics-be-obtained/?answer=65066#post-id-65066That level of instrumentation is not build into the client libraries. rostopic works by subscribing to the topics. Depending on your system that sort of measurement will be overly burdensome for all topics. This is hopefully a feature we can integrate into ROS 2.0. When we begin brainstorming use cases please bring this up for that. Thu, 13 Jun 2013 08:22:38 -0500https://answers.ros.org/question/61093/how-can-statistics-for-all-active-ros-topics-be-obtained/?answer=65066#post-id-65066