Browse Source

Minor shell script fix

tags/0.3.8-rc
haixuanTao haixuantao 1 year ago
parent
commit
5151eb41cb
2 changed files with 3 additions and 3 deletions
  1. +2
    -2
      examples/piper/inference.sh
  2. +1
    -1
      examples/piper/record.sh

+ 2
- 2
examples/piper/inference.sh View File

@@ -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

+ 1
- 1
examples/piper/record.sh View File

@@ -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


Loading…
Cancel
Save