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

One base multiple robots with unstable network

asked 2018-01-30 14:04:37 -0500

ArkadiuszN gravatar image

Hey, I am looking for a way to set up a configuration with multiple robots that connects to one base. This base is broadcasting data that's needed by all robots. I was thinking about setting roscore on base but it's not possible due to unstable network (robots have to stay alive even without online base).

I was thinking about setting roscore on all robots but then I am not able to publish the data to whatever number of robots. Can you guide me to solve this problem?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2018-01-30 14:10:33 -0500

gvdhoorn gravatar image

updated 2018-01-31 02:15:59 -0500

This is speculative, but you could take a look at a multi-master setup. multimaster_fkie is one example.

Another option is to use ROS 2. It's underlying network stack is better suited for the kind of conditions you describe.


Edit:

I was thinking about multimaster_fkie, is it immune to connection problems?

No, it's not immune. But at least all nodes registered with the local master will be able to continue communicating if/when your robot goes out of reach of your base.

I will read about ROS2 and if I can somehow move all my code to it.

you don't need to. Look into the ros1_bridge node.


Edit2:

ros1_bridge looks promising. As I understand I would to setup ros2core on the base and then connect everything and setup bridges on every robot, right?

Yes, that is one possible setup. It'll probably take some fiddling to get working correctly though.

edit flag offensive delete link more

Comments

I was thinking about multimaster_fkie, is it immune to connection problems? I will read about ROS2 and if I can somehow move all my code to it.

ArkadiuszN gravatar image ArkadiuszN  ( 2018-01-30 14:12:30 -0500 )edit

ros1_bridge looks promising. As I understand I would to setup ros2core on the base and then connect everything and setup bridges on every robot, right?

ArkadiuszN gravatar image ArkadiuszN  ( 2018-01-30 14:42:09 -0500 )edit

Ok, thank you! I would like to mark it as answer :)

ArkadiuszN gravatar image ArkadiuszN  ( 2018-01-30 15:32:08 -0500 )edit

Question Tools

Stats

Asked: 2018-01-30 14:04:37 -0500

Seen: 181 times

Last updated: Jan 31 '18