ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
6

How can statistics for all active ROS Topics be obtained?

asked 2013-04-18 11:25:22 -0500

liangfok gravatar image

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.

edit retag flag offensive close merge delete

Comments

Seems generally useful. If there is not already a solution, you can probably fork a copy of rostopic and modify it to handle that.

joq gravatar image joq  ( 2013-04-19 06:14:11 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
3

answered 2015-10-29 05:15:04 -0500

fivef gravatar image

Since ROS Indigo node statistics are available via:

rosparam set enable_statistics true (see http://wiki.ros.org/Topics#Topic_statistics)

A nice framework including rqt plugins is available on https://github.com/ROS-PSE/arni

edit flag offensive delete link more
0

answered 2013-06-13 08:22:38 -0500

tfoote gravatar image

That 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.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2013-04-18 11:25:22 -0500

Seen: 3,253 times

Last updated: Oct 29 '15