First time here? Check out the FAQ!


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

Why am I getting worse performance with UDPROS than TCPROS?

asked Apr 9 '14

Javier J. Salmerón García gravatar image

updated Apr 10 '14

I am doing an experiment that consists on transferring JPG compressed stereo pairs from one node to another at 5Hz. I am measuring the message transfer time using two technologies: UDPROS and TCPROS. The frame sizes tested are 320x240 and 640x480.

The point is that the average message transfer times are better when using TCPROS. In the best case UDPROS matches the transfer times obtained with TCPROS (Very rarely UDPROS gets a little better). How is that possible? Am I doing something wrong?

The technology used is 802.11ac WiFi.

Preview: (hide)

1 Answer

Sort by » oldest newest most voted
1

answered Apr 10 '14

I can confirm this observation. I'm not sure, but my explanation is:

  • Image messages are too large for just one UDP package.
  • Some UDP messages are lost.
  • Some images are dropped, because they are not transmitted completely
  • This images used bandwidth, but they are not counted, because they are corrupted
Preview: (hide)

Question Tools

2 followers

Stats

Asked: Apr 9 '14

Seen: 449 times

Last updated: Apr 10 '14