From bb1f752e53d0683a7b774b2c3f7df57b5897a432 Mon Sep 17 00:00:00 2001 From: zhangyijian Date: Tue, 1 Sep 2026 16:37:28 +0800 Subject: [PATCH] =?UTF-8?q?=E4=B8=8A=E4=BC=A0=E6=96=87=E4=BB=B6=E8=87=B3?= =?UTF-8?q?=E3=80=8Csetup=E3=80=8D?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit q6a run.py script --- setup/run_script.sh | 12 ++++++++++++ 1 file changed, 12 insertions(+) create mode 100644 setup/run_script.sh diff --git a/setup/run_script.sh b/setup/run_script.sh new file mode 100644 index 0000000..660f688 --- /dev/null +++ b/setup/run_script.sh @@ -0,0 +1,12 @@ +#!/bin/bash +# Activate virtual environment +source /home/radxa/venv/bin/activate + +# Set Qt platform to offscreen (prevents GUI errors) +# export QT_QPA_PLATFORM=offscreen + +# Change to script directory +cd /home/radxa/sensor-bench + +# Run the Python script +python run.py