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

Werid Multiple Machines Problem -

asked 2012-07-06 12:24:17 -0500

MarkyMark2012 gravatar image

Hi,

I'm not sure of this is simply a compatibility issue or something else. On one machine I have fuerte an the other electric. Both the simple talker and listener tut's work fine with run on each machine.

I've set export ROS_MASTER_URI=http://192.168.1.40:11311 to the machine with has roscore running on.

Running roscore and talker on machine A then the listener on machine B - nothing happens. However "rosnode list" on machine A recognises lists the listener (and the listing updates when I kill the listener).

Similarly if I set up two listeners the older one gets killed off if that was running on machine B - but not the other way around.

So there seems to be some kind of comms going one. But not the whole thing.

Looking at http://www.ros.org/wiki/ROS/Tutorials/MultipleMachines hasn't reveiled anything. Pinging etc all seems okay.

Any ideas anyone?

Thanks in advance

Mark

edit retag flag offensive close merge delete

Comments

Could you update your question to include the ROS_MASTER_URI you are setting on each machine and the ROS_IP/ROS_HOSTNAME you are setting on each?

Eric Perko gravatar image Eric Perko  ( 2012-07-06 13:16:16 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
2

answered 2012-07-07 04:28:13 -0500

MarkyMark2012 gravatar image

Okay found the issue. Came down to DNS problem (Machine B is a VM and the VM network bridge was assigning it an unusual address). Updated the /etc/hosts file with the machine name where roscore is running and working as expected.

Thanks for your input all

M

edit flag offensive delete link more
1

answered 2012-07-06 13:18:01 -0500

joq gravatar image

updated 2012-07-06 13:18:20 -0500

While running nodes from two different ROS distributions in the same graph may sometime work, it is definitely not supported.

edit flag offensive delete link more

Comments

Exactly. This is just something you should not attempt. And maybe roscomm should issue a warning when one tries to do so.

Thomas gravatar image Thomas  ( 2012-07-07 03:59:51 -0500 )edit

Question Tools

Stats

Asked: 2012-07-06 12:24:17 -0500

Seen: 323 times

Last updated: Jul 07 '12