Last active
October 17, 2022 16:25
-
-
Save marc-hanheide/ff29427dc8ba0aa34d9c to your computer and use it in GitHub Desktop.
robot-overlord
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
export ROS_HOSTNAME=`grep \`ifconfig | grep -A1 ppp | grep inet | cut -f2 -d:| cut -f1 -d" "\` /etc/hosts | tr -s " " | cut -f2 -d " "` | |
echo "ROS_HOSTNAME set to $ROS_HOSTNAME" >&2 | |
export ROS_MASTER_URI=http://linda:11311/ | |
echo "ROS_MASTER_URI set to $ROS_MASTER_URI" >&2 |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
wryhwshwr