fkie / multimaster_fkie

ROS stack with FKIE packages for multi-robot (discovering, synchronizing and management GUI)

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

One master and multiple master

miku54 opened this issue · comments

Hello, which is better to use this feature package to synchronize specific topics or to subscribe to host topics directly under the same master?

Hi, it depends on your scenario, in a static scenario it is easier to just change the ROS_MASTER_URI than to install the multimaster package. However, if you have several robots and control panels, which one should host the roscore? If this changes, the environment variable must be adapted on all hosts. If the connection to the roscore is lost, no new nodes can be started.
Then it makes sense to use the multimaster.

And once you have installed multimaster, I would always use it and not change the environment variables. Especially if you use the Node Manager to launch the ROS system.

Thank you for your reply. I get it.