fkie / multimaster_fkie

ROS stack with FKIE packages for multi-robot (discovering, synchronizing and management GUI)
BSD 3-Clause "New" or "Revised" License
271 stars 108 forks source link

Image transport #89

Closed mrsp closed 5 years ago

mrsp commented 5 years ago

Hello

When I subscribe a synced image topic of type sensor_msgs/Image the rate drops dramatically with every subscription!

More specifically, I sync two ROS masters via ethernet (100Mb/s), the first ROS Master sends an image over ethernet to another ROS master where I subscribe to get the Image. The rate drops from 40hz (which is the rate before transmition via multimaster_fkie) to ~10 hz.

Any ideas ? Is this a bug? Since this rate drop happens only in the image topics!

Thanks in advance!

atiderko commented 5 years ago

Hi

multimaster_fkie does not transport any topic data. It only register the topic data on ROS Master and ROS does all other magic stuff. This means that the Image data is transmitted using the ROS transport protocol (TCP or UDP).

You can try to subscribe CompressedImage on remote host to reduce the load on network. See teminal treffic load

mrsp commented 5 years ago

I see!

Thanks for the quick reply