#!/usr/bin/env bash set -euo pipefail # # run_mock.sh -- off-robot GoWelcome run. # # Uses the MockRobot backend (webcam index 0 by default), silent audio, and no # hardware. Any extra arguments are forwarded to main.py, e.g.: # # ./scripts/run_mock.sh --source demo.mp4 --headless # ./scripts/run_mock.sh --device cuda --conf 0.6 # # Resolve the repo root from this script's location so it runs from anywhere. SCRIPT_DIR="$(cd "$(dirname "${BASH_SOURCE[0]}")" && pwd)" PROJECT_ROOT="$(cd "${SCRIPT_DIR}/.." && pwd)" cd "${PROJECT_ROOT}" exec python3 main.py --mock --audio null --source 0 "$@"