ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A answers.ros.org
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

When one uses more than one machine, the following exports are necessary:

  1. Machine 1: export ROS_MASTER_URI=http://MACHINE_1_IP:11311 export ROS_IP=MACHINE_1_IP
  2. Machine 2: export ROS_MASTER_URI=http://MACHINE_1_IP:11311 export ROS_IP=MACHINE_2_IP
  3. Machine 3: export ROS_MASTER_URI=http://MACHINE_1_IP:11311 export ROS_IP=MACHINE_3_IP

Note that these commands should be in your bashrc or execute them on every terminal before any ros command(rosrun, roslaunch, rostopic etc). I hope this helps