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

Revision history [back]

The best way to do what you want to do is to run roscore on just one machine, and add the ROSCORE_MASTER_URI variable to the other nodes to point to that machine.

Suppose roscore is running on host "example", then you can add to your .bashrc file export ROSCORE_MASTER_URI=http://example:11311

11311 is the default port, I assume you haven't changed it. Have a look at this tutorial http://www.ros.org/wiki/ROS/Tutorials/MultipleMachines

The best way to do what you want to do is to run roscore on just one machine, and add the ROSCORE_MASTER_URI ROS_MASTER_URI variable to the other nodes to point to that machine.

Suppose roscore is running on host "example", then you can add to your .bashrc file export ROSCORE_MASTER_URI=http://example:11311ROS_MASTER_URI=http://example:11311

11311 is the default port, I assume you haven't changed it. Have a look at this tutorial http://www.ros.org/wiki/ROS/Tutorials/MultipleMachines

The best way to do what you want to do is to run roscore on just one machine, and add the ROS_MASTER_URI variable to the other nodes to point to that machine.

Suppose roscore is running on host "example", then you can add to your .bashrc file file the following line:

export ROS_MASTER_URI=http://example:11311

11311 is the default port, I assume you haven't changed it. Have a look at this tutorial http://www.ros.org/wiki/ROS/Tutorials/MultipleMachines