Last login: Sat Nov 28 09:38:08 on ttys002 (base) shimazueiichi@shimadzueiichinoMacBook-Pro ~ % conda activate lerobot cd ~/r2r2r-scripts (lerobot) shimazueiichi@shimadzueiichinoMacBook-Pro r2r2r-scripts % python so101/check_336/desk_pose_check_336.py --out so101/check_336/am_desk_pose 机側の固定の値: {"desk": {"auto-exposure-mode": "1", "auto-white-balance-temp": "true", "exposure-time-abs": "101", "gain": "0"}} { "cam_pos_diff_mm": { "x": -2.549, "y": 2.804, "z": 0.34, "norm": 3.805 }, "height_diff_mm": 0.34, "rotation_diff_deg": 0.3596, "tilt_from_down_diff_deg": -0.0813, "axis_heading_diff_deg": -1.7315, "image_right_heading_diff_deg": 0.1849, "not_moved": false, "verdict": "カメラが動いた か ボードの置き方が違う (位置 3.805mm・向き 0.3596°. 目安 1mm・0.1°)" } 出力: so101/check_336/am_desk_pose (lerobot) shimazueiichi@shimadzueiichinoMacBook-Pro r2r2r-scripts % python so101/check_336/box_336.py --capture --out so101/check_336/am_box --desk-pose so101/check_336/am_desk_pose/desk_pose.json { "fit": { "xy_mm": [ 180.2, -195.6 ], "yaw_deg": 0.9, "outer_mm": [ 86.1, 82.7 ], "height_mm": 45.0, "iou": 0.9654 }, "literal_center_mm": [ 180.1, -191.7 ], "compare_330": { "xy_mm": [ 195.6, -175.2 ], "yaw_deg": 5.0, "outer_mm": [ 85.0, 84.0 ], "diff_xy_mm": [ -15.4, -20.4 ], "dist_mm": 25.6, "diff_yaw_deg": -4.1 } } 出力: so101/check_336/am_box (lerobot) shimazueiichi@shimadzueiichinoMacBook-Pro r2r2r-scripts % python so101/check_336/base_path_336.py plan --box so101/check_336/am_box/box_336.json --desk-pose so101/check_336/am_desk_pose/desk_pose.json python so101/check_336/base_path_336.py run --yes-move python so101/check_336/base_path_336.py analyze usage: base_path_336.py [-h] [--out OUT] [--box BOX] [--assume-rest] [--yes-move] [--skip-render] {plan,run,analyze} base_path_336.py: error: unrecognized arguments: --desk-pose so101/check_336/am_desk_pose/desk_pose.json Traceback (most recent call last): File "/Users/shimazueiichi/r2r2r-scripts/so101/check_336/base_path_336.py", line 176, in sys.exit(main()) ^^^^^^ File "/Users/shimazueiichi/r2r2r-scripts/so101/check_336/base_path_336.py", line 172, in main return {"plan": plan, "run": run, "analyze": analyze}[args.step](args) or 0 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/shimazueiichi/r2r2r-scripts/so101/check_336/base_path_336.py", line 149, in run pl = json.loads(C.PLAN_JSON.read_text()) ^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/pathlib.py", line 1027, in read_text with self.open(mode='r', encoding=encoding, errors=errors) as f: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/pathlib.py", line 1013, in open return io.open(self, mode, buffering, encoding, errors, newline) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: '/Users/shimazueiichi/r2r2r-scripts/so101/check_336/base_path/plan.json' Traceback (most recent call last): File "/Users/shimazueiichi/r2r2r-scripts/so101/check_326/check_326_sim_view.py", line 360, in main() File "/Users/shimazueiichi/r2r2r-scripts/so101/check_326/check_326_sim_view.py", line 286, in main joints = json.loads((out / "joints.json").read_text()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/pathlib.py", line 1027, in read_text with self.open(mode='r', encoding=encoding, errors=errors) as f: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/pathlib.py", line 1013, in open return io.open(self, mode, buffering, encoding, errors, newline) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: '/Users/shimazueiichi/r2r2r-scripts/so101/check_336/base_path/c0/joints.json' Traceback (most recent call last): File "/Users/shimazueiichi/r2r2r-scripts/so101/check_336/base_path_336.py", line 176, in sys.exit(main()) ^^^^^^ File "/Users/shimazueiichi/r2r2r-scripts/so101/check_336/base_path_336.py", line 172, in main return {"plan": plan, "run": run, "analyze": analyze}[args.step](args) or 0 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/shimazueiichi/r2r2r-scripts/so101/check_336/base_path_336.py", line 157, in analyze C.analyze(args) File "/Users/shimazueiichi/r2r2r-scripts/so101/check_329/check_329.py", line 366, in analyze subprocess.run([PY, str(SO101 / "check_326" / "check_326_sim_view.py"), "--from-saved", "--out", str(HERE / n)], File "/opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/subprocess.py", line 571, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['/opt/homebrew/Caskroom/miniforge/base/envs/lerobot/bin/python', '/Users/shimazueiichi/r2r2r-scripts/so101/check_326/check_326_sim_view.py', '--from-saved', '--out', '/Users/shimazueiichi/r2r2r-scripts/so101/check_336/base_path/c0']' returned non-zero exit status 1. (lerobot) shimazueiichi@shimadzueiichinoMacBook-Pro r2r2r-scripts % python so101/check_336/base_path_336.py plan --box so101/check_336/am_box/box_336.json [PLAN] 今の角度: shoul -2.55 shoul -83.91 elbow 91.60 wrist 12.70 wrist 5.58 gripp 1.15 [PLAN] 771 コマ (25.7 秒). 1コマの最大 0.4999°. 距離 {"ob_table": {"min_mm": 84.9, "frame": 0, "body": "gripper"}, "ob_paper": {"min_mm": 84.3, "frame": 0, "body": "gripper"}, "ob_box": {"min_mm": 93.2, "frame": 515, "body": "moving_jaw_so101_v1"}}. 一番低い所 84.9mm objc[46420]: Class AVFFrameReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/cv2/.dylibs/libavdevice.61.3.100.dylib (0x1066243a8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/av/.dylibs/libavdevice.61.3.100.dylib (0x12b6b03a8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed. objc[46420]: Class AVFAudioReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/cv2/.dylibs/libavdevice.61.3.100.dylib (0x1066243f8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/av/.dylibs/libavdevice.61.3.100.dylib (0x12b6b03f8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed. objc[46420]: Class AVFFrameReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/cv2/.dylibs/libavdevice.61.3.100.dylib (0x1066243a8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/libavdevice.59.7.100.dylib (0x156160778). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed. objc[46420]: Class AVFAudioReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/cv2/.dylibs/libavdevice.61.3.100.dylib (0x1066243f8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/libavdevice.59.7.100.dylib (0x1561607c8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed. Map: 100%|██████████████████████████| 771/771 [00:00<00:00, 4200.33 examples/s] [PLAN] 通った. 記録: /Users/shimazueiichi/r2r2r-scripts/so101/check_336/base_path/dataset [PLAN] ここで止まる (アームは動かしていない). アームを動かす手前で止めた. 流すときは: python so101/check_336/base_path_336.py run --yes-move --out /Users/shimazueiichi/r2r2r-scripts/so101/check_336/base_path (lerobot) shimazueiichi@shimadzueiichinoMacBook-Pro r2r2r-scripts % python so101/check_336/base_path_336.py run --yes-move [RUN ] /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/bin/python /Users/shimazueiichi/r2r2r-scripts/so101/check_336/base_path/replay_safe_logged_329.py /Users/shimazueiichi/r2r2r-scripts/so101/check_336/base_path/replay_log.csv --dataset.repo_id=local/check_336_base --dataset.root=/Users/shimazueiichi/r2r2r-scripts/so101/check_336/base_path/dataset --dataset.episode=0 --play_sounds=false /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/bin/python: can't open file '/Users/shimazueiichi/r2r2r-scripts/so101/check_336/base_path/replay_safe_logged_329.py': [Errno 2] No such file or directory [RUN ] replay の終わり rc=2, 0.2 秒, カメラ 1 コマ (err None) 記録の CSV がない (lerobot) shimazueiichi@shimadzueiichinoMacBook-Pro r2r2r-scripts % python so101/check_336/base_path_336.py analyze Traceback (most recent call last): File "/Users/shimazueiichi/r2r2r-scripts/so101/check_326/check_326_sim_view.py", line 360, in main() File "/Users/shimazueiichi/r2r2r-scripts/so101/check_326/check_326_sim_view.py", line 286, in main joints = json.loads((out / "joints.json").read_text()) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/pathlib.py", line 1027, in read_text with self.open(mode='r', encoding=encoding, errors=errors) as f: ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/pathlib.py", line 1013, in open return io.open(self, mode, buffering, encoding, errors, newline) ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ FileNotFoundError: [Errno 2] No such file or directory: '/Users/shimazueiichi/r2r2r-scripts/so101/check_336/base_path/c0/joints.json' Traceback (most recent call last): File "/Users/shimazueiichi/r2r2r-scripts/so101/check_336/base_path_336.py", line 176, in sys.exit(main()) ^^^^^^ File "/Users/shimazueiichi/r2r2r-scripts/so101/check_336/base_path_336.py", line 172, in main return {"plan": plan, "run": run, "analyze": analyze}[args.step](args) or 0 ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ File "/Users/shimazueiichi/r2r2r-scripts/so101/check_336/base_path_336.py", line 157, in analyze C.analyze(args) File "/Users/shimazueiichi/r2r2r-scripts/so101/check_329/check_329.py", line 366, in analyze subprocess.run([PY, str(SO101 / "check_326" / "check_326_sim_view.py"), "--from-saved", "--out", str(HERE / n)], File "/opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/subprocess.py", line 571, in run raise CalledProcessError(retcode, process.args, subprocess.CalledProcessError: Command '['/opt/homebrew/Caskroom/miniforge/base/envs/lerobot/bin/python', '/Users/shimazueiichi/r2r2r-scripts/so101/check_326/check_326_sim_view.py', '--from-saved', '--out', '/Users/shimazueiichi/r2r2r-scripts/so101/check_336/base_path/c0']' returned non-zero exit status 1. (lerobot) shimazueiichi@shimadzueiichinoMacBook-Pro r2r2r-scripts % python so101/check_336/base_path_336.py plan --box so101/check_336/am_box/box_336.json --out so101/check_336/base_path2 [PLAN] 今の角度: shoul -2.55 shoul -83.91 elbow 91.60 wrist 12.70 wrist 5.58 gripp 1.15 [PLAN] 771 コマ (25.7 秒). 1コマの最大 0.4999°. 距離 {"ob_table": {"min_mm": 84.9, "frame": 0, "body": "gripper"}, "ob_paper": {"min_mm": 84.3, "frame": 0, "body": "gripper"}, "ob_box": {"min_mm": 93.2, "frame": 515, "body": "moving_jaw_so101_v1"}}. 一番低い所 84.9mm objc[46477]: Class AVFFrameReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/cv2/.dylibs/libavdevice.61.3.100.dylib (0x1036903a8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/av/.dylibs/libavdevice.61.3.100.dylib (0x1282603a8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed. objc[46477]: Class AVFAudioReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/cv2/.dylibs/libavdevice.61.3.100.dylib (0x1036903f8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/av/.dylibs/libavdevice.61.3.100.dylib (0x1282603f8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed. objc[46477]: Class AVFFrameReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/cv2/.dylibs/libavdevice.61.3.100.dylib (0x1036903a8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/libavdevice.59.7.100.dylib (0x174480778). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed. objc[46477]: Class AVFAudioReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/cv2/.dylibs/libavdevice.61.3.100.dylib (0x1036903f8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/libavdevice.59.7.100.dylib (0x1744807c8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed. Map: 100%|██████████████████████████| 771/771 [00:00<00:00, 4253.72 examples/s] [PLAN] 通った. 記録: /Users/shimazueiichi/r2r2r-scripts/so101/check_336/base_path2/dataset [PLAN] ここで止まる (アームは動かしていない). アームを動かす手前で止めた. 流すときは: python so101/check_336/base_path_336.py run --yes-move --out /Users/shimazueiichi/r2r2r-scripts/so101/check_336/base_path2 (lerobot) shimazueiichi@shimadzueiichinoMacBook-Pro r2r2r-scripts % python so101/check_336/base_path_336.py run --yes-move --out so101/check_336/base_path2 python so101/check_336/base_path_336.py analyze --out so101/check_336/base_path2 [RUN ] /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/bin/python /Users/shimazueiichi/r2r2r-scripts/so101/check_336/base_path2/replay_safe_logged_329.py /Users/shimazueiichi/r2r2r-scripts/so101/check_336/base_path2/replay_log.csv --dataset.repo_id=local/check_336_base --dataset.root=/Users/shimazueiichi/r2r2r-scripts/so101/check_336/base_path2/dataset --dataset.episode=0 --play_sounds=false objc[46494]: Class AVFFrameReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/av/.dylibs/libavdevice.61.3.100.dylib (0x124be43a8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/cv2/.dylibs/libavdevice.61.3.100.dylib (0x16bc143a8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed. objc[46494]: Class AVFAudioReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/av/.dylibs/libavdevice.61.3.100.dylib (0x124be43f8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/cv2/.dylibs/libavdevice.61.3.100.dylib (0x16bc143f8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed. INFO 2026-11-28 12:17:51 t_replay.py:108 {'dataset': {'episode': 0, 'fps': 30, 'repo_id': 'local/check_336_base', 'root': '/Users/shimazueiichi/r2r2r-scripts/so101/check_336/base_path2/dataset'}, 'play_sounds': False, 'robot': {'calibration_dir': None, 'cameras': {}, 'disable_torque_on_disconnect': True, 'id': 'ptm_follower', 'max_relative_target': None, 'num_read_retries': 2, 'port': '/dev/tty.usbmodem5CBC4321631', 'position_d_coefficient': 32, 'position_i_coefficient': 0, 'position_p_coefficient': 16, 'use_degrees': True}} objc[46494]: Class AVFFrameReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/av/.dylibs/libavdevice.61.3.100.dylib (0x124be43a8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/libavdevice.59.7.100.dylib (0x174a34778). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed. objc[46494]: Class AVFAudioReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/av/.dylibs/libavdevice.61.3.100.dylib (0x124be43f8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/libavdevice.59.7.100.dylib (0x174a347c8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed. INFO 2026-11-28 12:17:51 safe_259.py:115 [A] follower: connect の直後に目標を今の位置にした INFO 2026-11-28 12:17:52 safe_259.py:125 [A] follower: 力を入れる直前に目標を今の位置にした (全部) INFO 2026-11-28 12:17:52 follower.py:128 ptm_follower SOFollower connected. INFO 2026-11-28 12:17:52 ls/utils.py:151 Replaying episode INFO 2026-11-28 12:18:17 le_timer.py:617 Cadence summary — whole run · target 30 Hz (33.3 ms budget per tick): 771 ticks, 770 judged effective cadence: 29.72 Hz over 25.9 s measured ticks over the 33.3 ms work budget: 0/770 (0.0%) — work mean 3.6 ms, worst 26.7 ms ticks whose cadence slipped outside the loop body (sleep overshoot / CPU starvation while pacing): 89 loop-body steps (share of measured work): read_frame mean 0.95 ms · worst 7.54 ms · 26.5% of work · 771 calls observe mean 1.93 ms · worst 11.34 ms · 53.7% of work · 771 calls send mean 0.48 ms · worst 13.91 ms · 13.4% of work · 771 calls pacing headroom: 30.0 ms slept per tick on average (max 43.3 ms) — near zero means the loop is saturated INFO 2026-11-28 12:18:18 safe_259.py:286 [REST] 休みの姿勢の幅に入っている. 力を抜く INFO 2026-11-28 12:18:18 follower.py:221 ptm_follower SOFollower disconnected. [REPLAY-LOG] /Users/shimazueiichi/r2r2r-scripts/so101/check_336/base_path2/replay_log.csv に 1542 行 [RUN ] replay の終わり rc=0, 32.5 秒, カメラ 974 コマ (err None) [STOP] c0: 指令 -3.0 届いた -2.549 写真 31 枚 [STOP] L: 指令 -25.0 届いた -24.527 写真 31 枚 [STOP] cL: 指令 -3.0 届いた -3.604 写真 30 枚 [STOP] R: 指令 +17.0 届いた 16.527 写真 30 枚 [STOP] cR: 指令 -3.0 届いた -2.637 写真 30 枚 c0 {"score_read_px": 2.513, "best_offset_deg": -0.5, "best_score_px": 2.122, "image_shift_sim_to_real_px": {"du": -2, "dv": 0, "score_px": 2.099}, "real_minus_sim_mm_at_gripper_height": {"x_forward": -0.08, "y_left": 1.42}} L {"score_read_px": 3.426, "best_offset_deg": -2.0, "best_score_px": 1.489, "image_shift_sim_to_real_px": {"du": -5, "dv": 3, "score_px": 1.761}, "real_minus_sim_mm_at_gripper_height": {"x_forward": -2.47, "y_left": 3.74}} cL {"score_read_px": 2.554, "best_offset_deg": -0.75, "best_score_px": 2.042, "image_shift_sim_to_real_px": {"du": -2, "dv": 0, "score_px": 2.129}, "real_minus_sim_mm_at_gripper_height": {"x_forward": -0.08, "y_left": 1.42}} R {"score_read_px": 1.546, "best_offset_deg": 0.25, "best_score_px": 1.299, "image_shift_sim_to_real_px": {"du": 2, "dv": 0, "score_px": 1.244}, "real_minus_sim_mm_at_gripper_height": {"x_forward": 0.06, "y_left": -1.38}} cR {"score_read_px": 2.251, "best_offset_deg": -0.75, "best_score_px": 1.78, "image_shift_sim_to_real_px": {"du": -2, "dv": 0, "score_px": 1.777}, "real_minus_sim_mm_at_gripper_height": {"x_forward": -0.08, "y_left": 1.42}} play {"arrived_deg_cR_minus_cL": {"shoulder_pan": 0.967, "shoulder_lift": 0.0, "elbow_flex": 0.0, "wrist_flex": 0.0, "wrist_roll": 0.0, "gripper": 0.0}, "photo_jaw_shift_cR_minus_cL_px": [3.0, 1.0], "photo_jaw_shift_cR_minus_cL_mm": {"x_forward": -0.59, "y_left": -2.14}, "sim_jaw_shift_from_arrived_angles_mm": {"x_forward": 0.1, "y_left": -1.91}, "photo_minus_sim_mm": {"x_forward": -0.69, "y_left": -0.23}, "best_offset_deg_cL_cR": [-0.75, -0.75], "real_minus_sim_mm_cL_cR": [{"x_forward": -0.08, "y_left": 1.42}, {"x_forward": -0.08, "y_left": 1.42}], "mm_per_deg_pan_at_jaw": 1.973, "note": "photo = 写真どうしの爪の位置の差 (cL のシムの輪郭を両方の写真に合わせたずれの差). sim = 届いた角度の差だけでシムの爪が動く量. photo − sim が大きければ, 角度を読む所より先 (ギアの出口・台座) に遊びがある"} joint {"same_angle": {"score_sum_px": 10.973, "score_mean_px": 2.195, "pan_offset_deg": -0.4, "base_yaw_deg": 0.4, "base_dx_mm": 0.0, "base_dy_mm": 0.0, "per_pose_px": {"c0": 2.093, "L": 2.867, "cL": 2.109, "R": 2.141, "cR": 1.762}}, "same_mm": {"score_sum_px": 10.531, "score_mean_px": 2.106, "pan_offset_deg": 0.0, "base_yaw_deg": -0.0, "base_dx_mm": -2.5, "base_dy_mm": 2.0, "per_pose_px": {"c0": 2.144, "L": 2.099, "cL": 2.176, "R": 2.318, "cR": 1.793}}, "all": {"score_sum_px": 10.162, "score_mean_px": 2.032, "pan_offset_deg": -2.0, "base_yaw_deg": 2.0, "base_dx_mm": -1.75, "base_dy_mm": -3.65, "per_pose_px": {"c0": 1.966, "L": 2.059, "cL": 1.964, "R": 2.474, "cR": 1.698}}, "none": {"score_sum_px": 12.29, "score_mean_px": 2.458, "per_pose_px": {"c0": 2.513, "L": 3.426, "cL": 2.554, "R": 1.546, "cR": 2.251}}} 出力: /Users/shimazueiichi/r2r2r-scripts/so101/check_336/base_path2/result_base_336.json /Users/shimazueiichi/r2r2r-scripts/so101/check_336/base_path2/compare_all.png (lerobot) shimazueiichi@shimadzueiichinoMacBook-Pro r2r2r-scripts % python so101/check_336/wrist_sweep_336.py plan --capture-block --box so101/check_336/am_box/box_336.json [PLAN] 1748 コマ (58.3 秒). 1コマの最大 0.4978°. 距離 {"ob_table": {"min_mm": 25.1, "frame": 626, "body": "gripper"}, "ob_paper": {"min_mm": 31.3, "frame": 626, "body": "gripper"}, "ob_box": {"min_mm": 130.0, "frame": 1454, "body": "moving_jaw_so101_v1"}, "ob_block": {"min_mm": 36.9, "frame": 94, "body": "gripper"}} [PLAN] 手首の絵のブロック (シム. 重心・縁まで・ずらしたときの縁まで): {"v0": [[269.9, 191.2], 155.1, 194.4], "f-10": [[275.5, 286.6], 158.5, 101.5], "f-5": [[273.2, 239.8], 204.5, 147.5], "f+5": [[265.6, 139.5], 100.7, 157.7], "f+10": [[259.9, 82.5], 39.4, 96.4], "v1": [[269.9, 191.2], 155.1, 194.4], "r-30": [[263.5, 219.2], 177.2, 162.9], "r-15": [[264.7, 204.9], 165.0, 178.5], "r+15": [[279.1, 179.3], 137.5, 194.5], "r+30": [[292.9, 171.1], 125.4, 182.4], "v2": [[269.9, 191.2], 155.1, 194.4]} objc[46596]: Class AVFFrameReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/cv2/.dylibs/libavdevice.61.3.100.dylib (0x1039a43a8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/av/.dylibs/libavdevice.61.3.100.dylib (0x131b543a8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed. objc[46596]: Class AVFAudioReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/cv2/.dylibs/libavdevice.61.3.100.dylib (0x1039a43f8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/av/.dylibs/libavdevice.61.3.100.dylib (0x131b543f8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed. objc[46596]: Class AVFFrameReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/cv2/.dylibs/libavdevice.61.3.100.dylib (0x1039a43a8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/libavdevice.59.7.100.dylib (0x17abf0778). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed. objc[46596]: Class AVFAudioReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/cv2/.dylibs/libavdevice.61.3.100.dylib (0x1039a43f8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/libavdevice.59.7.100.dylib (0x17abf07c8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed. Map: 100%|█████████████████████████████████████████████████████████████████████████████████████████████| 1748/1748 [00:00<00:00, 5593.06 examples/s] [PLAN] 通った. 記録: /Users/shimazueiichi/r2r2r-scripts/so101/check_336/wrist_sweep/dataset [PLAN] ここで止まる (アームは動かしていない). アームを動かす手前で止めた. 流すときは: python so101/check_336/wrist_sweep_336.py run --yes-move --out /Users/shimazueiichi/r2r2r-scripts/so101/check_336/wrist_sweep (lerobot) shimazueiichi@shimadzueiichinoMacBook-Pro r2r2r-scripts % python so101/check_336/wrist_sweep_336.py run --yes-move [RUN ] /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/bin/python /Users/shimazueiichi/r2r2r-scripts/so101/check_329/replay_safe_logged_329.py /Users/shimazueiichi/r2r2r-scripts/so101/check_336/wrist_sweep/replay_log.csv --dataset.repo_id=local/check_336_wrist --dataset.root=/Users/shimazueiichi/r2r2r-scripts/so101/check_336/wrist_sweep/dataset --dataset.episode=0 --play_sounds=false objc[46653]: Class AVFFrameReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/av/.dylibs/libavdevice.61.3.100.dylib (0x11e4e03a8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/cv2/.dylibs/libavdevice.61.3.100.dylib (0x13f69c3a8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed. objc[46653]: Class AVFAudioReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/av/.dylibs/libavdevice.61.3.100.dylib (0x11e4e03f8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/cv2/.dylibs/libavdevice.61.3.100.dylib (0x13f69c3f8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed. INFO 2026-11-28 12:22:22 t_replay.py:108 {'dataset': {'episode': 0, 'fps': 30, 'repo_id': 'local/check_336_wrist', 'root': '/Users/shimazueiichi/r2r2r-scripts/so101/check_336/wrist_sweep/dataset'}, 'play_sounds': False, 'robot': {'calibration_dir': None, 'cameras': {}, 'disable_torque_on_disconnect': True, 'id': 'ptm_follower', 'max_relative_target': None, 'num_read_retries': 2, 'port': '/dev/tty.usbmodem5CBC4321631', 'position_d_coefficient': 32, 'position_i_coefficient': 0, 'position_p_coefficient': 16, 'use_degrees': True}} objc[46653]: Class AVFFrameReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/av/.dylibs/libavdevice.61.3.100.dylib (0x11e4e03a8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/libavdevice.59.7.100.dylib (0x16a5a8778). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed. objc[46653]: Class AVFAudioReceiver is implemented in both /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/python3.12/site-packages/av/.dylibs/libavdevice.61.3.100.dylib (0x11e4e03f8) and /opt/homebrew/Caskroom/miniforge/base/envs/lerobot/lib/libavdevice.59.7.100.dylib (0x16a5a87c8). This may cause spurious casting failures and mysterious crashes. One of the duplicates must be removed or renamed. INFO 2026-11-28 12:22:22 safe_259.py:115 [A] follower: connect の直後に目標を今の位置にした INFO 2026-11-28 12:22:22 safe_259.py:125 [A] follower: 力を入れる直前に目標を今の位置にした (全部) INFO 2026-11-28 12:22:22 follower.py:128 ptm_follower SOFollower connected. INFO 2026-11-28 12:22:22 ls/utils.py:151 Replaying episode WARNING 2026-11-28 12:22:57 le_timer.py:407 Control loop is running slower (20.8 Hz) than the target FPS (30 Hz). Robot control might be unstable. Common causes are: 1) Camera FPS not keeping up 2) Policy inference (action or text) taking too long 3) CPU starvation INFO 2026-11-28 12:23:21 le_timer.py:617 Cadence summary — whole run · target 30 Hz (33.3 ms budget per tick): 1748 ticks, 1747 judged effective cadence: 29.71 Hz over 58.8 s measured ticks over the 33.3 ms work budget: 1/1747 (0.1%) — work mean 2.7 ms, worst 48.0 ms ticks whose cadence slipped outside the loop body (sleep overshoot / CPU starvation while pacing): 207 loop-body steps (share of measured work): read_frame mean 0.62 ms · worst 46.11 ms · 22.7% of work · 1748 calls observe mean 1.60 ms · worst 20.12 ms · 58.6% of work · 1748 calls send mean 0.37 ms · worst 26.84 ms · 13.6% of work · 1748 calls pacing headroom: 30.9 ms slept per tick on average (max 57.5 ms) — near zero means the loop is saturated INFO 2026-11-28 12:23:22 follower.py:221 ptm_follower SOFollower disconnected. [REPLAY-LOG] /Users/shimazueiichi/r2r2r-scripts/so101/check_336/wrist_sweep/replay_log.csv に 3531 行 [RUN ] replay の終わり rc=0, 65.9 秒, desk 2017 コマ (err None), wrist 2008 コマ (err None) [STOP] v0: 届いた 手首の曲げ 52.879 回転 0.571, 手首 30 枚・机側 30 枚 [STOP] f-10: 届いた 手首の曲げ 44.088 回転 0.571, 手首 30 枚・机側 31 枚 [STOP] f-5: 届いた 手首の曲げ 47.692 回転 0.571, 手首 31 枚・机側 29 枚 [STOP] f+5: 届いた 手首の曲げ 57.538 回転 0.571, 手首 29 枚・机側 30 枚 [STOP] f+10: 届いた 手首の曲げ 62.813 回転 0.571, 手首 29 枚・机側 30 枚 [STOP] v1: 届いた 手首の曲げ 54.198 回転 0.571, 手首 30 枚・机側 29 枚 [STOP] r-30: 届いた 手首の曲げ 53.983 回転 -29.231, 手首 28 枚・机側 27 枚 [STOP] r-15: 届いた 手首の曲げ 53.934 回転 -15.692, 手首 30 枚・机側 30 枚 [STOP] r+15: 届いた 手首の曲げ 53.934 回転 14.286, 手首 30 枚・机側 29 枚 [STOP] r+30: 届いた 手首の曲げ 53.934 回転 29.407, 手首 31 枚・机側 31 枚 [STOP] v2: 届いた 手首の曲げ 53.934 回転 0.396, 手首 31 枚・机側 30 枚 (lerobot) shimazueiichi@shimadzueiichinoMacBook-Pro r2r2r-scripts % python so101/check_336/wrist_sweep_336.py analyze [ANA ] ブロック (机側): {'xy': [227.9, 34.9], 'yaw': 1.4, 'size': 20.2, 'iou': 0.9297, 'literal_desk_plane_mm': [228.9, 37.0], 'red_centroid_px': [271.6, 250.5]} none 全部 53.85px 確かめ 53.85px 値 [] image_shift 全部 20.12px 確かめ 22.13px 値 [-3.98, 49.8] lens 全部 18.35px 確かめ 20.88px 値 [-13.01, 42.45, -0.16] mount_rot 全部 16.26px 確かめ 19.63px 値 [3.91, -0.12, 14.86] mount_pos 全部 18.87px 確かめ 21.83px 値 [4.58, 27.01, 16.59] mount_full 全部 7.19px 確かめ 16.11px 値 [193.21, -72.83, -199.68, 14.16, -88.12, -4.88] joint_wrist 全部 9.70px 確かめ 10.75px 値 [-4.22, -9.62] joint_arm 全部 7.59px 確かめ 8.37px 値 [1.57, 28.39, -24.53] joint_all 全部 3.26px 確かめ 3.87px 値 [1.92, -0.35, -10.37, 7.71, -8.41] base 全部 11.66px 確かめ 12.98px 値 [36.66, 82.83, -115.69] 直さない: 53.85px. 確かめの残りが小さい順: joint_all 3.87px, joint_arm 8.37px, joint_wrist 10.75px, base 12.98px, mount_full 16.11px いちばん良いのは joint_all (関節の 0 のずれ (角度で一定)) で 53.85→3.87px まとまり: 関節側 (関節の 0 のずれ・台座) いちばん良い joint_all 3.87px / カメラ側 (レンズ・付き方) いちばん良い mount_full 16.11px → 関節側 (1.5 倍 + 1px より差があれば言える) 出力: /Users/shimazueiichi/r2r2r-scripts/so101/check_336/wrist_sweep/result_wrist_336.json /Users/shimazueiichi/r2r2r-scripts/so101/check_336/wrist_sweep/wrist_overlay_336.png (lerobot) shimazueiichi@shimadzueiichinoMacBook-Pro r2r2r-scripts %