From 5151eb41cb13f9b48d262fae37dda98718092276 Mon Sep 17 00:00:00 2001 From: haixuanTao Date: Fri, 22 Nov 2024 08:47:04 +0100 Subject: [PATCH] Minor shell script fix --- examples/piper/inference.sh | 4 ++-- examples/piper/record.sh | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/examples/piper/inference.sh b/examples/piper/inference.sh index b18d930d..ee2284f9 100644 --- a/examples/piper/inference.sh +++ b/examples/piper/inference.sh @@ -1,10 +1,10 @@ #!/bin/bash if ! ifconfig | grep -q "can_left"; then source /home/agilex/cobot_magic/Piper_ros_private-ros-noetic/can_config.sh + sleep 5 fi -sleep 5 export PYTHONPATH=$PYTHONPATH:/home/agilex/1ms.ai/pyorbbecsdk/install/lib/:/home/agilex/1ms.ai/ugv_sdk source /home/agilex/miniconda3/etc/profile.d/conda.sh pkill dora conda activate dora -dora run /home/agilex/1ms.ai/dora/examples/piper/inference.yml +dora run /home/agilex/1ms.ai/dora/examples/piper/rdt_1b.yml diff --git a/examples/piper/record.sh b/examples/piper/record.sh index bcaa769b..190dccd6 100644 --- a/examples/piper/record.sh +++ b/examples/piper/record.sh @@ -1,8 +1,8 @@ #!/bin/bash if ! ifconfig | grep -q "can_left"; then source /home/agilex/cobot_magic/Piper_ros_private-ros-noetic/can_config.sh + sleep 5 fi -sleep 5 export PYTHONPATH=$PYTHONPATH:/home/agilex/1ms.ai/pyorbbecsdk/install/lib/:/home/agilex/1ms.ai/ugv_sdk source /home/agilex/miniconda3/etc/profile.d/conda.sh pkill dora