From 03775cefc08e0ca7be1631c9ac12e83f985c3dff Mon Sep 17 00:00:00 2001 From: Saberlve Date: Sat, 8 Aug 2026 17:07:34 +0800 Subject: [PATCH] Update readme; Add replay script --- README.md | 5 +++-- README_ZH.md | 5 +++-- replay_trajectory.sh | 4 ++++ start_manual_record.sh | 2 ++ 4 files changed, 12 insertions(+), 4 deletions(-) create mode 100755 replay_trajectory.sh diff --git a/README.md b/README.md index fd4310a..b02e4a8 100644 --- a/README.md +++ b/README.md @@ -227,8 +227,9 @@ The robot first moves to the xArm SDK initial point, then replays the episode an ### Power-off -1. **Press the emergency-stop button.** -2. **Turn off the controller power.** +1. **Use the web console to return the arm to its initial position.** +2. **Press the emergency-stop button.** +3. **Turn off the controller power.** ## Tools diff --git a/README_ZH.md b/README_ZH.md index efcddea..07b6984 100644 --- a/README_ZH.md +++ b/README_ZH.md @@ -227,8 +227,9 @@ uv run uf-lerobot-replay --dataset-root /path/to/xarm7_manual_datas --robot-ip 1 ### 关机 -1. **先按下急停按钮。** -2. **关闭控制器电源。** +1. **先通过网页控制将机械臂返回到初始位置。** +2. **再按下急停按钮。** +3. **关闭控制器电源。** ## 工具 diff --git a/replay_trajectory.sh b/replay_trajectory.sh new file mode 100755 index 0000000..6ebef37 --- /dev/null +++ b/replay_trajectory.sh @@ -0,0 +1,4 @@ +#!/bin/bash +uv run uf-lerobot-replay \ + --dataset-root /home/wsx/code/lerobot_robot_ufactory/datasets/xarm7_manual_replay_pick_bottle \ + --robot-ip 192.168.1.245 \ No newline at end of file diff --git a/start_manual_record.sh b/start_manual_record.sh index d0543a9..0c7c417 100755 --- a/start_manual_record.sh +++ b/start_manual_record.sh @@ -6,3 +6,5 @@ set -euo pipefail exec uv run uf-lerobot-record \ --config_path config/manual_mode/xarm7_manual_record_config.yaml \ "$@" + +