Ask Your Question
0

3 or more machines communicate

asked 2015-11-07 21:11:38 -0500

cros gravatar image

through the tutorials(http://wiki.ros.org/cn/ROS/Tutorials/MultipleMachines) i konw how to communicate between two machine,but i want to konw if i have three or more computers and I want they can communicate with each other,what I should do ,just use "export ROS_MASTER_URI=http://hal:11311" in every computers?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2015-11-08 01:26:28 -0500

If that is the IP address where roscore was run then yes. On each machine you also need to export that machines own IP address (no port number needed) - we have found we had to "export ROS_HOSTNAME=" whatever the address is and "export ROS_IP=" too, to avoid AF_INET errors

edit flag offensive delete link more

Comments

thank you ,i will try it

cros gravatar image cros  ( 2015-11-08 01:47:46 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower

Stats

Asked: 2015-11-07 21:11:38 -0500

Seen: 149 times

Last updated: Nov 08 '15