ROSMASTER API and rosrun source code

Hello community! I hope everyone is doing good!
As part of my project, I want to make two different ROSMASTER collaborate with eachother via Internet. For example, a node registered in one ROSMASTER can publish and subscribe into a topic wich is registered in the other ROSMASTER. As first step, I want to see and study the source code of ROSMASTER API and rosrun so I can understand the communication steps between them. Can anyone provides me the links or anything I can start with?
Thank you very much, and stay safe!

Why reinventing the wheel? Give a shot to GitHub - AIS-Bonn/nimbro_network: ROS network stack: Topic/service transport over unreliable network connections (or our fork GitHub - tradr-project/nimbro_network: ROS network stack: Topic/service transport over unreliable network connections with a few goodies added).

There are also other ways: rocon_multimaster - ROS Wiki , multimaster_fkie - ROS Wiki . Or give a try to ROS 2, that could support this scenario out of the box!

Anyways, the Master API is described here: ROS/Master_API - ROS Wiki .

1 Like