Revision 2afc7b8fbad809fa15e8268a37c95fd5aa08b5b0 authored by Andrea Censi on 12 April 2016, 18:49:24 UTC, committed by Andrea Censi on 12 April 2016, 18:49:24 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 ...