ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
It may be a problem with your $ROS_MASTER_URI
variable. That is, roscore is running under a different master URI than the other process. Try running echo $ROS_MASTER_URI
in the terminal running roscore and the terminal running your other process. If they are different you can use export ROS_MASTER_URI=<whatever your roscore master uri is>
in the terminal window running the other process to set the variable to the proper URI before running the process. You can also add the export line to your .bashrc file to set the correct ROS_MASTER_URI in every new terminal.
2 | added reference link |
It may be a problem with your $ROS_MASTER_URI
variable. That is, roscore is running under a different master URI than the other process. Try running echo $ROS_MASTER_URI
in the terminal running roscore and the terminal running your other process. If they are different you can use export ROS_MASTER_URI=<whatever your roscore master uri is>
in the terminal window running the other process to set the variable to the proper URI before running the process. You can also add the export line to your .bashrc file to set the correct ROS_MASTER_URI in every new terminal.
You can read ROS Network Setup for more information on setting up your machine.