Revision 93c84c0d148c6ca0354c1590a4dd0adebd783c6e authored by czuidema on 06 December 2017, 20:06:23 UTC, committed by czuidema on 06 December 2017, 20:06:23 UTC
1 parent 3b3c9a8
set_vehicle_name.sh
#!/usr/bin/env bash
echo "Setting VEHICLE_NAME..."
if [ $# -gt 0 ]; then
# provided a hostname, use it as ROS_MASTER_URI
export VEHICLE_NAME=$1
else
echo "No hostname provided. Using $HOSTNAME."
export VEHICLE_NAME=$HOSTNAME
fi
echo "VEHICLE_NAME set to $VEHICLE_NAME"
![swh spinner](/static/img/swh-spinner.gif)
Computing file changes ...