Revision 3e45cf32000bd65e4b313944daacf12fcf5e851b authored by Simon Bing/Megacity Team on 12 June 2018, 16:16:57 UTC, committed by Simon Bing/Megacity Team on 12 June 2018, 16:16:57 UTC
1 parent 98fad9a
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 ...