IPsetup is a collection of scripts useful when preparing to connect to ROS robots (only tested on turtlebot 3, but should work for most ROS robots)
INSTRUCTIONS
-
Open .bashrc in your home directory (might be hidden, CTRL+H to show/hide hidden files)
-
Look for
a. export ROS_MASTER_URI=http://"SomeIpAddress":11311
b. export ROS_HOSTNAME="SomeIpAddress
("SomeIpAddress" can be your ip or some other ip address)
-
If you found the lines in step 2 replace them with:
a. export ROS_MASTER_URI=http://HOST_IP:11311
b. export ROS_HOSTNAME=HOST_IP
If not add the lines at the bottom of your .bashrc
-
Run init.bash <./init.bash> in terminal (without <>)