Revision af7c88671e8cedf36d2b6a3f68d4271c1b804bc4 authored by Eric Lu on 09 July 2018, 12:50:30 UTC, committed by Eric Lu on 09 July 2018, 12:50:30 UTC
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 ...