Ask Your Question
4

UDPROS/TCPROS - how to select?

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

Bemfica gravatar image

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

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 -0500

dornhege gravatar image

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

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 imagedrewm1980 ( 2015-10-21 09:34:56 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

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

Seen: 1,864 times

Last updated: Jun 08 '11