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

About roscore

asked 2015-10-07 09:20:11 -0500

k-fujita gravatar image

I'm a beginner user of ROS . So, the question is very simple one. When we use ROS, we have to run "roscore". But I can't understand why we have to do so. Please teach me the reason. If there are pages which explain about this, please tell me its link.

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2015-10-07 09:25:16 -0500

gvdhoorn gravatar image

updated 2015-10-07 09:27:08 -0500

This is clearly explained on the wiki page on the Master (emphasis mine):

The ROS Master provides naming and registration services to the rest of the nodes in the ROS system. It tracks publishers and subscribers to topics as well as services. The role of the Master is to enable individual ROS nodes to locate one another. Once these nodes have located each other they communicate with each other peer-to-peer.

The Master also provides the Parameter Server.

The 'phonebook' aspect of the master can be compared to how a DNS server functions.

Note that ROS2 does not depend on a master to locate nodes, it is fully peer-to-peer.

edit flag offensive delete link more

Question Tools

Stats

Asked: 2015-10-07 09:20:11 -0500

Seen: 778 times

Last updated: Oct 07 '15