What is executed when we run roscore

asked 2019-01-11 03:01:51 -0500

Rasika gravatar image

Hello,

I am using ROS kinetic with Ubuntu 16.04 on a virtual machine.

I want to know what is the exact role of the rosmaster package in ros_comm metapackage?

I know that the client libraries roscpp and rospy interact with master through master-api. I want to know what is executed when we run roscore.

It will be very helpful to understand the concept of Master. Thanks in advance

Rasika Wagh

edit retag flag offensive close merge delete

Comments

Just making sure: have you seen wiki/ROS/Concepts and specifically wiki/Master? If so and you have further questions, can you please clarify?

gvdhoorn gravatar image gvdhoorn  ( 2019-01-11 03:20:18 -0500 )edit

Please also refer to older Q&As about this topic, such as #q32597, #q218783 and #q37965 (just a random few).

gvdhoorn gravatar image gvdhoorn  ( 2019-01-11 03:22:06 -0500 )edit

Thanks for a quick reply. The rosmaster package is implemented in python. Is there a similar implementation in C++? I could gather there is a java implementation of the master from other Q&A topics.

Rasika gravatar image Rasika  ( 2019-01-11 03:42:53 -0500 )edit

That would seem to be a very different question from your original one.

But: no, afaik there is no roscore implementation in C++. And the one in rosjava you refer to is a limited one.

gvdhoorn gravatar image gvdhoorn  ( 2019-01-11 03:44:58 -0500 )edit

I am sorry, I phrased my question wrong. I want to know when we run roscore, we use the modules from rosmaster package. Is this understanding correct?

Rasika gravatar image Rasika  ( 2019-01-11 04:01:20 -0500 )edit

Thank you. Now it is much clearer for me.

Rasika gravatar image Rasika  ( 2019-01-11 04:35:33 -0500 )edit