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

Daniel's profile - activity

2012-09-12 21:00:24 -0500 received badge  Famous Question (source)
2012-09-12 21:00:24 -0500 received badge  Notable Question (source)
2012-05-13 07:00:03 -0500 received badge  Popular Question (source)
2011-05-23 13:59:43 -0500 marked best answer Read sensors from different roscores.

You could relay some topics from one master to another master. A tool for doing that is somewhere in the WG repostiory:

https://code.ros.org/svn/ros/stacks/multimaster_experimental/trunk/foreign_relay

For instance, if you have one robot with master uri A and another one with master uri B, you can set up the relay by running the following command on A:

rosrun foreign_relay foreign_relay adv http://B:11311 /a/laser /laser

It will basically advertise the topic /a/laser on B.

2011-05-08 07:38:49 -0500 received badge  Nice Question (source)
2011-05-05 03:14:28 -0500 commented answer Read sensors from different roscores.
It is not really what I had in mind, but I will give it a try. Thank you very much.
2011-05-05 01:32:08 -0500 received badge  Supporter (source)
2011-05-04 21:27:09 -0500 commented answer Read sensors from different roscores.
Hey Raph, thanks for your answer. I already thought about this. Unfortunately all robots should work autonomously and they are just linked with a very unstable wireless LAN connection which often breaks. So its not really an option to use a single core. Daniel
2011-05-04 20:52:51 -0500 received badge  Student (source)
2011-05-04 05:08:23 -0500 asked a question Read sensors from different roscores.

I have a bunch of robots with a separate roscore running on each of them. Now I would like to connect from a C++ application to every robot and read its sensor values. I saw the rosmultimaster package which seems to provide a python API to do exactly what I want. But is there also a way to connect to more than one core at once with the C++ API?