Revision e304a1710b41c850b0efd6b95fa8911f551e4fd2 authored by Niklas Funk on 17 January 2018, 15:49:16 UTC, committed by Niklas Funk on 17 January 2018, 15:49:16 UTC
1 parent d746608
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"
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...