ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
That's what ROS_MASTER_URI is for. You can start roscore on a different port with the --port
parameter, e.g.:
roscore --port=11411
Then set the ROS_MASTER_URI to the new URI:
export ROS_MASTER_URI=http://localhost:11411
Now, all ros nodes should contact the core on port 11411. That way, you can run several ros cores on the same machine.