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

Running ROS multimaster on 2 different devices

asked 2019-01-24 10:31:29 -0600

Gil404 gravatar image

Hi Guys,

So I am trying to run ROS multimaster_fkie on 2 different devices, so that if I have a connection loss, each device will keep on running it's master and won't crash.

However, the problem is that I am unable to set them both with ROS_MASTER_URI of localhost (127.0.0.1) because then, the master_discovery node does not discover them.

Any suggestion what can I do in order to have 2 devices communicate using multimaster with a localhost ip?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
0

answered 2019-12-02 06:52:39 -0600

Hemanth gravatar image

I am not sure if I understood your question right but you cannot have two masters running at once. You can only have one master. So, the ROS_MASTER_URI would be the same in all your devices.

edit flag offensive delete link more

Question Tools

2 followers

Stats

Asked: 2019-01-24 10:31:29 -0600

Seen: 196 times

Last updated: Dec 02 '19