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

On what factors is the communication protocol selected while establishing a Topic ?

asked 2018-04-16 09:50:11 -0600

aks gravatar image

On what factors is the communication protocol selected ? be it TCP or UDP. Are there some other protocols supported as well ?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-04-16 10:36:32 -0600

gvdhoorn gravatar image

updated 2018-04-17 02:48:41 -0600

Note: this only answers the question in the context of ROS 1.


On what factors is the communication protocol selected ? be it TCP or UDP

Default is TCP (ie: reliable).

Unless user specifies the unreliable transport hint.

Are there some other protocols supported as well ?

No, not by default.

There are some alternative transports available, but you'd have to install those yourself (they're old, but see ethzasl_message_transport fi).

See also ROS/Technical Overview - Topic Transports.

edit flag offensive delete link more

Comments

@gvdhoorn : Then isnt ROS similar to the ROS2 QoS in respect to the Communication Protocol ? Both can either select reliablity (TCP) or Best Effort (UDP) ?

aks gravatar image aks  ( 2018-04-18 04:12:13 -0600 )edit

Well .. they're similar like a car is similar to a bike: both have wheels, but I wouldn't say that a bike shares much of the other characteristics of a car.

If you really want to, you could see TCPROS and UDPROS as primitive forms of what DDS can do for you. But I wouldn't do that.

gvdhoorn gravatar image gvdhoorn  ( 2018-04-18 04:15:45 -0600 )edit

Question Tools

2 followers

Stats

Asked: 2018-04-16 09:50:11 -0600

Seen: 162 times

Last updated: Apr 17 '18