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

Revision history [back]

First, ensure that port 11311 on machine #1 is reachable from machine #2. Then, you have to set the environment variable ROS_MASTER_URI appropriately. In your setup, run the following commands in a terminal on machine #2:

export ROS_MASTER_URI=http://10.0.1.24:11311
rosnode list

The first line has to be executed in each terminal that is supposed to connect to the master on machine #1. Alternatively, you can add it to your ~/.bashrc file (assuming your shell is Bash), and close and re-open all running terminals.