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

Doubt in ROS-1 communication design

asked 2020-12-23 12:52:15 -0500

Aakashp gravatar image

updated 2021-04-23 08:52:19 -0500

miura gravatar image

Hi,

While going through ROS-1 wiki pages, at several places I read that the message between a publisher and subscriber does not route via Master. Rather the message travels directly from Publisher to Subscriber. But in the following Wikipedia page (https://en.wikipedia.org/wiki/Publish...), under heading TOPOLOGIES, it is mentioned that in a broker-based pub-sub system, the messages are routed via broker (i.e. master). So, I request someone who is aware of the latest ROS-1 communication design to help in clarifying this doubt please. Thanks.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2020-12-23 13:10:01 -0500

gvdhoorn gravatar image

it is mentioned that in a broker-based pub-sub system, the messages are routed via broker [..]

ROS 1 does not use broker-based pub-sub, so that would seem to answer your question (ie: the master is not directly involved in message exchange, as you've already read in multiple other places).

(i.e. master)

the ROS Master != a broker.

But in the following Wikipedia page, [..]

did you intend to include a link?

edit flag offensive delete link more

Comments

@gvdhoorn : Yes, sorry for forgetting to include the link. Here it is: (also updating in question): https://en.wikipedia.org/wiki/Publish... (in Topologies section)

Aakashp gravatar image Aakashp  ( 2020-12-23 13:20:04 -0500 )edit

@gvdhoorn : Thanks a lot for your prompt response. But please do let me know in case you wish to comment anything after going through the Wikipedia link mentioned in above comment, and also in question (heading Topologies)

Aakashp gravatar image Aakashp  ( 2020-12-23 13:25:11 -0500 )edit
2

No, my answer would be the same.

It's true that in a broker based pub-sub system, the broker can be involved in message exchange.

But ROS 1 does not implement such a pub-sub system, so there is no broker, and consequently, no message passing through/via the master.

gvdhoorn gravatar image gvdhoorn  ( 2020-12-23 13:42:50 -0500 )edit

@gvdhoorn : Thanks again. I have marked the question as 'answered'.

Aakashp gravatar image Aakashp  ( 2020-12-24 01:05:36 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2020-12-23 12:52:15 -0500

Seen: 145 times

Last updated: Dec 23 '20