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

subscribing to multiple compressed image streams via wifi fails

asked 2013-03-04 03:29:54 -0500

youri gravatar image

updated 2016-10-24 08:34:35 -0500

ngrennan gravatar image

I'm trying to send kinect depth and rgb images from a laptop on a robot to a different computer via wifi.

While it is possible to subscribe to 1 stream of compressed images without any problems, I'm unable to subscribe to 2 topics at the same time (e.g. /camera/depth_registered/image_rect/compressedDepth & /camera/rgb/image_color/compressed). At the beginning, when monitoring the frequency of the messages received using rostopic hz, the frame rate is ok (between 10-15 fps). However, after a while (c.a. 10 - 15 seconds) one of the stream starts to receive no messages anymore.

I reduced the compression quality to reduce bandwidth, but this does not help. Furthermore, I looked whether the machines were capable of compressing and decompressing images, and both machines seem to have no difficulties.

Has anyone experienced similar issues in the past and knows a solution.


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2013-03-04 07:00:59 -0500

Philip gravatar image

updated 2013-03-04 07:01:21 -0500

Have you had a look at your bandwidth usage, e.g. with iftop? Can you give information about the bandwidth used when subscribing to the rgb stream vs. subscribing to the depth stream vs. both?

edit flag offensive delete link more

Question Tools



Asked: 2013-03-04 03:29:54 -0500

Seen: 367 times

Last updated: Mar 04 '13