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

How to Monitor the data transfer

asked 2015-03-18 04:02:09 -0500

mree gravatar image

Hi everyone,

I would like to know how to monitor all the data transfer between ros.

There are two computers connected by using same roscore master. I want to measure the amount of data transfering every second or in a period.

Thanks

edit retag flag offensive close merge delete

2 Answers

Sort by ยป oldest newest most voted
0

answered 2015-03-18 04:13:20 -0500

Wolf gravatar image

If you are interested in a special topic you can use rostopic bw

rostopic bw --help
Usage: rostopic bw /topic

Options:
  -h, --help            show this help message and exit
  -w WINDOW, --window=WINDOW
                        window size, in # of messages, for calculating rate

Unfortunately it does only support a single topic, so you may need multiple calls into it for monitoring more than one topic.

Also a nice tool for monitoring your network interfaces useage and additional information is bmon. However, this will not explizitly so you the ROS-part of your network load:

sudo apt-get install bmon
bmon
edit flag offensive delete link more
1

answered 2015-03-18 04:17:35 -0500

gvdhoorn gravatar image

As a graphical alternative to the answer by @Wolf, you could use the rqt_topic rqt plugin, which gives you a view similar to top or htop, but for all topics known to your system.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2015-03-18 04:02:09 -0500

Seen: 648 times

Last updated: Mar 18 '15