Network Error when starting up Stretch


I am trying to run roslaunch stretch_core stretch_driver.launch and I keep getting the following errors. Has anyone ever seen this before? I am operating Stretch fully tethered (with attached monitor/keyboard/mouse) on pretty strong wifi. I am not sure what is happening, I tried rebooting but still have the same problem.

Hi @jgangemi, when you see RLException: Unable to contact my own server at [...] while using roslaunch, it means that ROS’s IP address was modified and there isn’t a valid server at that IP address. Likely, because the robot was being used untethered with ROS Remote Master at some point.

You can go back to fully tethered usage by removing the variables that configured ROS Remote Master. These variables are set in your “~/.bashrc” file. Open a new terminal and write gedit ~/.bashrc. In the window that pops up, scroll to the bottom, and delete the ROS_IP and ROS_MASTER_URI variables.

Hope this helps, let me know if you have any questions!

Hi Binit! Thank you for this advice, I had removed those two lines in the bash file but had not rebooted the robot ugh lol. Thank you so much!!

1 Like

:laughing: good point! Opening a new terminal also works to refresh the env variables fyi.

1 Like