Robotics StackExchange | Archived questions

Running ROS multimaster on 2 different devices

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 ROSMASTERURI 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?

Asked by Gil404 on 2019-01-24 11:31:29 UTC

Comments

Answers

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.

Asked by Hemanth on 2019-12-02 07:52:39 UTC

Comments