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

Revision history [back]

click to hide/show revision 1
initial version

Using localhost is not always good enough for your ROS_MASTER_URI. It may be for many situations (especially when only using one computer), but not always. ROS_MASTER_URI needs to be accessible to every computer that you're going to be using and that's just not possible if you set ROS_MASTER_URI to localhost because every machine will be looking for roscore at its own localhost instead of the one that you intend.

Therefore, if you're going to be doing anything over a network, the address needs to be accessible over that network.

Check out the tutorial for running ROS on multiple machines.