https://github.com/duckietown/Software
Raw File
Tip revision: 0c6f85c709dcb95a3263a6373523b4b5b05afb0b authored by Teddy Ort on 22 April 2016, 20:09:15 UTC
Merge branch 'apriltags-alt' of github.com:duckietown/Software into apriltags-alt
Tip revision: 0c6f85c
environment.sh
#!/bin/bash

echo "Activating ROS..."
source /opt/ros/indigo/setup.bash
echo "...done."

echo "Setting up PYTHONPATH."
export PYTHONPATH=/home/ubuntu/duckietown/catkin_ws/src:$PYTHONPATH

echo "Setup ROS_HOSTNAME."
export ROS_HOSTNAME=$HOSTNAME.local
export DUCKIETOWN_ROOT=$HOME/duckietown

echo "Building machines file..."
make -C  $DUCKIETOWN_ROOT
echo "...done"
echo "Activating development."
source $DUCKIETOWN_ROOT/catkin_ws/devel/setup.bash

# TODO: check that the time is >= 2015

# TODO: run a python script that checks all libraries are installed

exec "$@" #Passes arguments. Need this for ROS remote launching to work.
back to top