osrf / srcsim

Space Robotics Challenge
Other
9 stars 4 forks source link

Multicast in docker #208

Open osrf-migration opened 7 years ago

osrf-migration commented 7 years ago

Original report (archived issue) by Vinayak Jagtap (Bitbucket: vinayak_jagtap).


The multimaster options in ROS need multicast to be enabled on the system otherwise the connection breaks every few minutes. Is that possible in Docker? Has anyone successfully configured multimaster that is running for something like 30minutes or more?

osrf-migration commented 7 years ago

Original comment by Vinayak Jagtap (Bitbucket: vinayak_jagtap).


osrf-migration commented 7 years ago

Original comment by Nate Koenig (Bitbucket: Nathan Koenig).


Can you offer some insight as to why you need multimaster? Normally, multimaster is used when there are multiple robots.

osrf-migration commented 7 years ago

Original comment by Ian Chen (Bitbucket: Ian Chen, GitHub: iche033).


@nkoenig, I think multi-master is being used to relay data from Sim to OCU through FC. This is mainly because ROS_MASTER_URI is set in the simulator instance and the simulator <-> OCU communication is blocked.

osrf-migration commented 7 years ago

Original comment by Vinayak Jagtap (Bitbucket: vinayak_jagtap).


That's right, we are using multimaster for forwarding data on topics to OCU.

osrf-migration commented 7 years ago

Original comment by Akihiko Honda (Bitbucket: akiHonda).


Our team are also planning to use multimaster method. We work hard to realize it and got some advance, however it is not completed. I think the problem is a location of ROS master and communication blocking.

Is there any chance to get new option to choose the location of ROS master ? (If we predict the real mars mission, ROS master will be located in FC, not mars environment.)

osrf-migration commented 7 years ago

Original comment by Rud Merriam (Bitbucket: rmerriam).


I had some luck locally using the NMap ncat to do a bidirectional transfer of ROS topics. That was local docker to my desktop. I stumbled on getting it to work with CouldSim.