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

ROS_MASTER_URI address keep changing every time roscore is run

asked 2022-08-24 01:27:15 -0600

vocdex gravatar image

Once in a while, when I run roscore from terminal, it can not connect to its server:

RLException: Unable to contact my own server at []. This usually means that the network is not configured properly.

This last part of ROS_MASTER_URI which is 34759 keeps changing when I run roscore multiple times. My bashrc file includes the following at the end:

source /opt/ros/melodic/setup.bash export ROS_MASTER_URI= export ROS_IP=

I am a beginner in ROS. I would appreciate your response. Thanks

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2022-08-26 15:45:49 -0600

Edyger gravatar image

I don't know if it will help, but on my laptop where I run roscore, I set this

export ROS_HOSTNAME=myIp
export ROS_MASTER_URI=http://myIp:11311

Maybe try ROS_HOSTNAME instead of ROS_IP.

Maybe you will find your answer on this page

edit flag offensive delete link more

Question Tools


Asked: 2022-08-24 01:27:15 -0600

Seen: 43 times

Last updated: Aug 24 '22