driving_root="$HOME/driving"
build_dir=/opt/zoox/ai

if [ -d "$build_dir" ]; then
    export PATH="$build_dir/zoox/bin:$PATH"
    export ZOOX_WORKSPACE_ROOT="$build_dir/zoox"
else
    export ZOOX_WORKSPACE_ROOT="$driving_root"
fi

if [ -f "$ZOOX_WORKSPACE_ROOT"/scripts/vehicle/common.sh ]; then
    source "$ZOOX_WORKSPACE_ROOT/scripts/vehicle/common.sh"
fi
