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

UDPROS/TCPROS - how to select?

asked 2011-06-08 04:31:45 -0600

Bemfica gravatar image

updated 2014-01-28 17:09:49 -0600

ngrennan gravatar image

Hello!

I was talking with a friend about ROS and he said me that have had some problems (latency) on communicating nodes using a wireless communication. Reading here I saw that TCP is the default transport used in ROS.

In fact if you are working with wireless communication and use TCP for that you can have some problems because the "nature" of the protocol itself.

So the question is: How do I select/change to UDPROS? Is that choice "global" (affect all topics)? :D

thanks!

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
4

answered 2011-06-08 05:37:51 -0600

dornhege gravatar image

updated 2011-06-08 05:38:36 -0600

You are looking for: Transport Hints. It should only be for one topic.

edit flag offensive delete link more

Comments

Some of the subscribe() variants let you pass a TransportHints, but how do you use that on the publisher end?

drewm1980 gravatar image drewm1980  ( 2015-10-21 09:34:56 -0600 )edit

Question Tools

1 follower

Stats

Asked: 2011-06-08 04:31:45 -0600

Seen: 2,978 times

Last updated: Jun 08 '11