Skip to content

Instantly share code, notes, and snippets.

@pgorczak
Created June 26, 2018 11:27
Show Gist options
  • Save pgorczak/ea30a28b164e54ee0efdbdcfecbaa0e5 to your computer and use it in GitHub Desktop.
Save pgorczak/ea30a28b164e54ee0efdbdcfecbaa0e5 to your computer and use it in GitHub Desktop.
A tiny helper for setting up environment variables
# Put this file somewhere on your path
# run `source ros-mdns {master-hostname}`
export ROS_MASTER_URI=http://$1.local:11311
export ROS_HOSTNAME=$(hostname).local
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment