From 172bec5fe69d8e69adc931550f68c24c6350d83c Mon Sep 17 00:00:00 2001 From: ChenYuhan <2514158309@qq.com> Date: Mon, 17 Aug 2026 21:03:44 +0800 Subject: [PATCH] Fix smooth safe GELLO joint recording --- README.md | 13 +- README_ZH.md | 13 +- config/gello/xarm7_gello_record_config.yaml | 21 +- docs/gello_xarm7_smooth_safe_recording_zh.md | 174 +++++++++ .../robots/uf_robot/local_kinematics.py | 139 +++++++ .../robots/uf_robot/uf_robot.py | 359 +++++++++++++++++- .../robots/uf_robot/uf_robot_config.py | 26 ++ .../scripts/uf_lerobot_record.py | 96 ++++- .../scripts/uf_robot_teleop.py | 58 ++- .../utils/realtime_teleop.py | 118 ++++++ tests/test_local_kinematics.py | 209 ++++++++++ tests/test_manual_mode.py | 44 ++- tests/test_realtime_teleop.py | 88 +++++ 13 files changed, 1318 insertions(+), 40 deletions(-) create mode 100644 docs/gello_xarm7_smooth_safe_recording_zh.md create mode 100644 src/lerobot_robot_ufactory/robots/uf_robot/local_kinematics.py create mode 100644 src/lerobot_robot_ufactory/utils/realtime_teleop.py create mode 100644 tests/test_local_kinematics.py create mode 100644 tests/test_realtime_teleop.py diff --git a/README.md b/README.md index 6b29089..6623165 100644 --- a/README.md +++ b/README.md @@ -140,9 +140,10 @@ uv run uf-robot-teleop \ ``` Press `Space` to reset and start. While staying safe, include motion both far -from and near the configured height floor. The CSV `guard_path` column marks -`rt_fast_path`, `fk_safe`, `fk_ik_clamp`, or `fallback`, and the terminal prints -per-path summaries. Results are written to `logs/gello_guard_latency_