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

Revision history [back]

The ROS_MASTER_URI environment variable should be used if you want to specify what's the uri of the master such that other nodes can find it.

If you want to run more than one roscore on the same machine you have to use the -p option to specify a different port.

TERMINAL1

roscore

TERMINAL 2

roscore -p <PORT_NUMBER>