https://github.com/duckietown/Software
Raw File
Tip revision: 680b263da182746daca67f35b5792beb0c293a10 authored by erlend on 14 April 2016, 16:29:47 UTC
Regenerated yaml file for apriltags and added traffic-light-ahead
Tip revision: 680b263
set_ros_master.sh
#!/usr/bin/env bash
echo "Setting ROS_MASTER_URI..."
if [ $# -gt 0 ]; then
	# provided a hostname, use it as ROS_MASTER_URI
	export ROS_MASTER_URI=http://$1.local:11311/
else
	echo "No hostname provided. Using $HOSTNAME."
	export ROS_MASTER_URI=http://$HOSTNAME.local:11311/
fi
echo "ROS_MASTER_URI set to $ROS_MASTER_URI"
back to top