7jep7 commited on
Commit
66072a3
·
verified ·
1 Parent(s): d6cb04f

Add files using upload-large-folder tool

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. gap_reports/gap_04bcea4a-870c-4bb8-bf84-58cf6e0d92de.md +73 -0
  2. gap_reports/gap_04df20dc-bf20-4cfe-aee6-cfd0d78a601a.md +73 -0
  3. gap_reports/gap_04df979d-620a-40f0-a0f6-f82907959e34.md +73 -0
  4. gap_reports/gap_04ec10f0-a787-4200-97c5-20e61e8dab20.md +73 -0
  5. gap_reports/gap_0507d971-eb0b-41e2-88dd-a34b1e9da26b.md +73 -0
  6. gap_reports/gap_052d4281-8398-471d-87d7-665df7cd8f92.md +75 -0
  7. gap_reports/gap_0535f83b-7b52-48a4-970c-86d42b2aefe5.md +73 -0
  8. gap_reports/gap_0539f2e5-13b6-472e-b266-f9f5348a10f8.md +73 -0
  9. gap_reports/gap_057c4b06-a7ce-439c-bc72-80ecd9283328.md +75 -0
  10. gap_reports/gap_058550ce-628a-415c-a144-8a37f56c32c3.md +73 -0
  11. gap_reports/gap_05939596-1b30-467f-8121-c134a6821a7f.md +73 -0
  12. gap_reports/gap_05d7ef23-ad32-4595-85b6-4cb75f716cd4.md +73 -0
  13. gap_reports/gap_05ffca40-49b5-4fc8-b1b1-0c5a463eafc8.md +75 -0
  14. gap_reports/gap_06019aff-361e-43fb-b5ee-044cb825b89c.md +75 -0
  15. gap_reports/gap_06037134-6a16-4b85-82a3-91c67718b75b.md +59 -0
  16. gap_reports/gap_0620e44a-0a06-45a7-89da-3b9474e1fea9.md +73 -0
  17. gap_reports/gap_0634b817-1453-43c6-ac02-f844dc07efd3.md +73 -0
  18. gap_reports/gap_0639c663-4f35-4a9c-9e04-11d696b46aa4.md +75 -0
  19. gap_reports/gap_0654c723-5a8c-4812-a51b-0e3362eb809b.md +73 -0
  20. gap_reports/gap_066d7cab-b45b-40f2-9f49-5ed8f010e2e1.md +59 -0
  21. gap_reports/gap_067a6703-e46d-456a-8e47-428b917bec49.md +59 -0
  22. gap_reports/gap_068b4040-37c4-4448-b59d-e1a40a2b2c38.md +73 -0
  23. gap_reports/gap_06bc3d49-3bb1-46a9-a160-d800ec20229c.md +73 -0
  24. gap_reports/gap_06bec074-6c02-4183-8a66-9ccd9e20a5c1.md +73 -0
  25. gap_reports/gap_06e41449-2a5b-47fe-81f3-7fdd5cdca626.md +73 -0
  26. gap_reports/gap_06f0cddf-f066-4f7a-a953-13d15e7457cc.md +75 -0
  27. gap_reports/gap_06f6c8d0-e983-4e74-95b5-9cd8808774d9.md +73 -0
  28. gap_reports/gap_0705dc62-3ae4-4f53-b875-72ce03bc2ad1.md +75 -0
  29. gap_reports/gap_0723407a-d7b0-4074-8257-47e742277e2a.md +73 -0
  30. gap_reports/gap_0727e32a-a7d3-4849-8ec6-46bbbb560599.md +73 -0
  31. gap_reports/gap_0733ceb5-8b90-4369-8103-3756237f4fec.md +73 -0
  32. gap_reports/gap_073b83cb-c1d4-42d2-bba6-95b168ad47cd.md +75 -0
  33. gap_reports/gap_073c5eca-a4c7-425d-a249-58a9d18e9be5.md +73 -0
  34. gap_reports/gap_079de6e7-eb07-48ad-9619-4563109ba46d.md +73 -0
  35. gap_reports/gap_07ac79e9-7a42-4ee3-ba1b-39dec7d3afd3.md +73 -0
  36. gap_reports/gap_07e6aeb7-79c0-4abd-bfd8-f63980ef9c90.md +73 -0
  37. gap_reports/gap_07fb111e-cb88-4562-b38b-52d6f81256f1.md +59 -0
  38. gap_reports/gap_081a16b0-ddc3-4a5d-8d24-84957a5b15d6.md +75 -0
  39. gap_reports/gap_081c7bb1-3b90-4e28-9aa2-d7ac00e66381.md +75 -0
  40. gap_reports/gap_08206409-9aa5-4eee-94c7-1a2b637f89ab.md +73 -0
  41. gap_reports/gap_08521a2b-abd0-4d75-9531-e3def2c6eb81.md +73 -0
  42. gap_reports/gap_085b8a6d-94ad-4194-8839-e48cbbcc59e9.md +73 -0
  43. gap_reports/gap_08c773e2-b22c-4dcb-9407-089395e30ecf.md +73 -0
  44. gap_reports/gap_08cf2416-3eaf-471a-8c19-c704c0224675.md +73 -0
  45. gap_reports/gap_08e0b8ad-276a-42af-aba6-d11aad87cbff.md +73 -0
  46. gap_reports/gap_08e71191-42d1-4243-bc5e-97068a3a60ea.md +73 -0
  47. gap_reports/gap_0921ada1-e4e7-45e1-a8a1-343adc9b3d02.md +73 -0
  48. gap_reports/gap_0925f330-33c7-4d82-b65b-119ad9e06876.md +59 -0
  49. gap_reports/gap_092bb95e-76f6-4f54-8f5e-d7e54c17e522.md +73 -0
  50. gap_reports/gap_095bd04d-b8a9-4ef4-8e65-f2e73d166a3c.md +73 -0
gap_reports/gap_04bcea4a-870c-4bb8-bf84-58cf6e0d92de.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:25 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/04bcea4a-870c-4bb8-bf84-58cf6e0d92de.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/04bcea4a-870c-4bb8-bf84-58cf6e0d92de.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 2853 |
12
+ | Sim rows | 252 |
13
+ | Real episode_id | `04bcea4a-870c-4bb8-bf84-58cf6e0d92de` |
14
+ | Sim episode_id | `04bcea4a-870c-4bb8-bf84-58cf6e0d92de` |
15
+
16
+ ## Methodology
17
+
18
+ **Scope:** offline comparison of two CSV exports (real executed vs sim-planned/exported) with identical schema; not Isaac replay of real commands. **Kinematic** (joints, logged TCP) and **effort proxy** (`joint_current_*`) only.
19
+
20
+ Within each `task_phase`, time is normalized to [0, 1]. The shorter series is linearly resampled to `max(n_real, n_sim)` samples. RMSE is computed on `joint_*` (deg), TCP position (per-axis pooled, mm), TCP rotation vector (rad -> mrad). **RMS EE (mm)** is the root-mean-square of the **Euclidean** TCP position error per timestep. **W1 effort (A)** is the 1D Wasserstein distance between aligned samples of `joint_current_*` per joint (equal-n sorting). Metrics omitted when `min(n_real, n_sim) < 2`. Phase-end table is **sim - real** on the **last** row of each phase.
21
+
22
+ ## Per-phase metrics
23
+
24
+ | ph | name | n_real | n_sim | RMSE joints (deg) | RMSE TCP pos (mm) | RMS EE L2 (mm) | RMSE rot (mrad) | W1 effort mean (A) |
25
+ |---:|---|---:|---:|---:|---:|---:|---:|---:|
26
+ | 0 | above_pick | 208 | 19 | 2.137 | 8.62 | 14.93 | 2.45 | 0.5604 |
27
+ | 1 | descend | 366 | 32 | 1.276 | 7.70 | 13.33 | 3.53 | 0.7525 |
28
+ | 2 | settle | 383 | 33 | 0.022 | 0.73 | 1.26 | 3.73 | 0.6972 |
29
+ | 3 | close | 133 | 12 | 1.173 | 7.10 | 12.30 | 5.27 | 0.8861 |
30
+ | 4 | lift | 411 | 36 | 2.531 | 10.19 | 17.65 | 3.90 | 1.0765 |
31
+ | 5 | move_xy | 412 | 36 | 5.454 | 25.44 | 44.07 | 4.83 | 0.9304 |
32
+ | 6 | lower | 396 | 34 | 0.094 | 1.34 | 2.32 | 6.49 | 0.9606 |
33
+ | 7 | open | 134 | 12 | 1.013 | 5.78 | 10.01 | 3.75 | 0.6242 |
34
+ | 8 | retract | 410 | 36 | 2.622 | 10.74 | 18.61 | 2.67 | 0.6826 |
35
+
36
+ ## Pooled metrics (matched phases only)
37
+
38
+ | Metric | Value |
39
+ |---|---:|
40
+ | Joints (deg) | 2.395 |
41
+ | TCP position RMSE (mm, per-axis) | 10.99 |
42
+ | EE position RMS L2 (mm) | 20.66 |
43
+ | TCP rotvec (mrad) | 4.25 |
44
+ | W1 effort mean (A) | 0.7914 |
45
+ | W1 effort per joint (A) | j0=0.2944, j1=1.1273, j2=1.5532, j3=0.6942, j4=0.5103, j5=0.5692 |
46
+
47
+ ## Phase-end anchor (sim - real)
48
+
49
+ | ph | d_tcp_x (m) | d_tcp_y (m) | d_tcp_z (m) | norm d_tcp (m) | max abs dq (deg) |
50
+ |---:|---:|---:|---:|---:|---:|
51
+ | 0 | 0.00044 | -0.00062 | -0.00049 | 0.00090 | 0.028 |
52
+ | 1 | 0.00046 | -0.00086 | -0.00084 | 0.00129 | 0.039 |
53
+ | 2 | 0.00045 | -0.00085 | -0.00078 | 0.00123 | 0.036 |
54
+ | 3 | 0.00111 | -0.00069 | -0.00060 | 0.00144 | 0.182 |
55
+ | 4 | 0.00034 | -0.00002 | -0.00016 | 0.00038 | 0.076 |
56
+ | 5 | 0.00131 | -0.00106 | -0.00156 | 0.00230 | 0.149 |
57
+ | 6 | 0.00117 | -0.00117 | -0.00134 | 0.00213 | 0.115 |
58
+ | 7 | 0.00017 | -0.00063 | -0.00057 | 0.00087 | 0.039 |
59
+ | 8 | -0.00005 | -0.00005 | -0.00010 | 0.00012 | 0.022 |
60
+
61
+ ## Suggested next edits (`pick_place.py`)
62
+
63
+ 1. No automatic rules fired; use per-phase tables and phase-end deltas to decide the next `pick_place.py` tweak.
64
+
65
+ ## Iteration loop
66
+
67
+ Re-run Isaac with updated `pick_place.py`, export a new sim CSV, then run:
68
+
69
+ ```bash
70
+ python sim_real_gap.py --real episode_29312353.csv --sim "episode (1).csv"
71
+ ```
72
+
73
+ Details: see `GAP_ITERATION.md` in this folder.
gap_reports/gap_04df20dc-bf20-4cfe-aee6-cfd0d78a601a.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:25 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/04df20dc-bf20-4cfe-aee6-cfd0d78a601a.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/04df20dc-bf20-4cfe-aee6-cfd0d78a601a.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 2335 |
12
+ | Sim rows | 233 |
13
+ | Real episode_id | `04df20dc-bf20-4cfe-aee6-cfd0d78a601a` |
14
+ | Sim episode_id | `04df20dc-bf20-4cfe-aee6-cfd0d78a601a` |
15
+
16
+ ## Methodology
17
+
18
+ **Scope:** offline comparison of two CSV exports (real executed vs sim-planned/exported) with identical schema; not Isaac replay of real commands. **Kinematic** (joints, logged TCP) and **effort proxy** (`joint_current_*`) only.
19
+
20
+ Within each `task_phase`, time is normalized to [0, 1]. The shorter series is linearly resampled to `max(n_real, n_sim)` samples. RMSE is computed on `joint_*` (deg), TCP position (per-axis pooled, mm), TCP rotation vector (rad -> mrad). **RMS EE (mm)** is the root-mean-square of the **Euclidean** TCP position error per timestep. **W1 effort (A)** is the 1D Wasserstein distance between aligned samples of `joint_current_*` per joint (equal-n sorting). Metrics omitted when `min(n_real, n_sim) < 2`. Phase-end table is **sim - real** on the **last** row of each phase.
21
+
22
+ ## Per-phase metrics
23
+
24
+ | ph | name | n_real | n_sim | RMSE joints (deg) | RMSE TCP pos (mm) | RMS EE L2 (mm) | RMSE rot (mrad) | W1 effort mean (A) |
25
+ |---:|---|---:|---:|---:|---:|---:|---:|---:|
26
+ | 0 | above_pick | 146 | 15 | 2.305 | 9.02 | 15.62 | 1921.50 | 0.5717 |
27
+ | 1 | descend | 349 | 34 | 1.307 | 7.72 | 13.36 | 3626.05 | 0.7380 |
28
+ | 2 | settle | 322 | 32 | 0.022 | 0.57 | 0.98 | 3625.94 | 0.7165 |
29
+ | 3 | close | 151 | 15 | 1.036 | 5.89 | 10.20 | 1382.03 | 0.8894 |
30
+ | 4 | lift | 291 | 29 | 2.664 | 10.79 | 18.70 | 1798.55 | 1.0664 |
31
+ | 5 | move_xy | 284 | 28 | 5.430 | 25.41 | 44.01 | 2221.80 | 0.8885 |
32
+ | 6 | lower | 348 | 34 | 0.081 | 1.04 | 1.80 | 1783.01 | 1.0022 |
33
+ | 7 | open | 151 | 15 | 1.008 | 5.76 | 9.98 | 3626.17 | 0.6213 |
34
+ | 8 | retract | 293 | 29 | 2.832 | 11.52 | 19.95 | 2330.11 | 0.6932 |
35
+
36
+ ## Pooled metrics (matched phases only)
37
+
38
+ | Metric | Value |
39
+ |---|---:|
40
+ | Joints (deg) | 2.443 |
41
+ | TCP position RMSE (mm, per-axis) | 11.08 |
42
+ | EE position RMS L2 (mm) | 19.62 |
43
+ | TCP rotvec (mrad) | 2621.00 |
44
+ | W1 effort mean (A) | 0.7975 |
45
+ | W1 effort per joint (A) | j0=0.2545, j1=1.1878, j2=1.6246, j3=0.7498, j4=0.3484, j5=0.6200 |
46
+
47
+ ## Phase-end anchor (sim - real)
48
+
49
+ | ph | d_tcp_x (m) | d_tcp_y (m) | d_tcp_z (m) | norm d_tcp (m) | max abs dq (deg) |
50
+ |---:|---:|---:|---:|---:|---:|
51
+ | 0 | 0.00012 | -0.00031 | -0.00045 | 0.00056 | 0.033 |
52
+ | 1 | 0.00015 | -0.00058 | -0.00077 | 0.00097 | 0.034 |
53
+ | 2 | 0.00017 | -0.00057 | -0.00080 | 0.00100 | 0.038 |
54
+ | 3 | 0.00067 | -0.00065 | -0.00140 | 0.00168 | 0.162 |
55
+ | 4 | 0.00014 | -0.00024 | -0.00026 | 0.00038 | 0.103 |
56
+ | 5 | 0.00137 | -0.00087 | -0.00116 | 0.00200 | 0.180 |
57
+ | 6 | 0.00111 | -0.00087 | -0.00123 | 0.00187 | 0.146 |
58
+ | 7 | 0.00000 | -0.00044 | -0.00051 | 0.00068 | 0.040 |
59
+ | 8 | -0.00006 | -0.00009 | -0.00014 | 0.00018 | 0.027 |
60
+
61
+ ## Suggested next edits (`pick_place.py`)
62
+
63
+ 1. No automatic rules fired; use per-phase tables and phase-end deltas to decide the next `pick_place.py` tweak.
64
+
65
+ ## Iteration loop
66
+
67
+ Re-run Isaac with updated `pick_place.py`, export a new sim CSV, then run:
68
+
69
+ ```bash
70
+ python sim_real_gap.py --real episode_29312353.csv --sim "episode (1).csv"
71
+ ```
72
+
73
+ Details: see `GAP_ITERATION.md` in this folder.
gap_reports/gap_04df979d-620a-40f0-a0f6-f82907959e34.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:25 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/04df979d-620a-40f0-a0f6-f82907959e34.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/04df979d-620a-40f0-a0f6-f82907959e34.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 2763 |
12
+ | Sim rows | 245 |
13
+ | Real episode_id | `04df979d-620a-40f0-a0f6-f82907959e34` |
14
+ | Sim episode_id | `04df979d-620a-40f0-a0f6-f82907959e34` |
15
+
16
+ ## Methodology
17
+
18
+ **Scope:** offline comparison of two CSV exports (real executed vs sim-planned/exported) with identical schema; not Isaac replay of real commands. **Kinematic** (joints, logged TCP) and **effort proxy** (`joint_current_*`) only.
19
+
20
+ Within each `task_phase`, time is normalized to [0, 1]. The shorter series is linearly resampled to `max(n_real, n_sim)` samples. RMSE is computed on `joint_*` (deg), TCP position (per-axis pooled, mm), TCP rotation vector (rad -> mrad). **RMS EE (mm)** is the root-mean-square of the **Euclidean** TCP position error per timestep. **W1 effort (A)** is the 1D Wasserstein distance between aligned samples of `joint_current_*` per joint (equal-n sorting). Metrics omitted when `min(n_real, n_sim) < 2`. Phase-end table is **sim - real** on the **last** row of each phase.
21
+
22
+ ## Per-phase metrics
23
+
24
+ | ph | name | n_real | n_sim | RMSE joints (deg) | RMSE TCP pos (mm) | RMS EE L2 (mm) | RMSE rot (mrad) | W1 effort mean (A) |
25
+ |---:|---|---:|---:|---:|---:|---:|---:|---:|
26
+ | 0 | above_pick | 207 | 19 | 2.930 | 11.79 | 20.42 | 1885.94 | 0.5692 |
27
+ | 1 | descend | 476 | 41 | 0.659 | 4.09 | 7.08 | 3626.02 | 0.6949 |
28
+ | 2 | settle | 378 | 33 | 0.022 | 0.60 | 1.03 | 3625.96 | 0.7131 |
29
+ | 3 | close | 122 | 11 | 0.753 | 4.47 | 7.75 | 1991.04 | 0.9602 |
30
+ | 4 | lift | 366 | 32 | 3.115 | 12.94 | 22.42 | 1952.98 | 1.0775 |
31
+ | 5 | move_xy | 350 | 31 | 5.675 | 25.76 | 44.62 | 2140.10 | 0.9005 |
32
+ | 6 | lower | 378 | 33 | 0.085 | 1.14 | 1.98 | 1389.43 | 0.9535 |
33
+ | 7 | open | 123 | 11 | 0.724 | 4.22 | 7.30 | 3626.22 | 0.5893 |
34
+ | 8 | retract | 363 | 32 | 3.204 | 13.32 | 23.08 | 2251.72 | 0.6935 |
35
+
36
+ ## Pooled metrics (matched phases only)
37
+
38
+ | Metric | Value |
39
+ |---|---:|
40
+ | Joints (deg) | 2.631 |
41
+ | TCP position RMSE (mm, per-axis) | 11.57 |
42
+ | EE position RMS L2 (mm) | 20.84 |
43
+ | TCP rotvec (mrad) | 2632.30 |
44
+ | W1 effort mean (A) | 0.7710 |
45
+ | W1 effort per joint (A) | j0=0.2545, j1=1.1642, j2=1.5532, j3=0.6614, j4=0.4136, j5=0.5793 |
46
+
47
+ ## Phase-end anchor (sim - real)
48
+
49
+ | ph | d_tcp_x (m) | d_tcp_y (m) | d_tcp_z (m) | norm d_tcp (m) | max abs dq (deg) |
50
+ |---:|---:|---:|---:|---:|---:|
51
+ | 0 | 0.00043 | -0.00029 | -0.00055 | 0.00076 | 0.038 |
52
+ | 1 | 0.00040 | -0.00054 | -0.00076 | 0.00102 | 0.038 |
53
+ | 2 | 0.00042 | -0.00055 | -0.00074 | 0.00102 | 0.035 |
54
+ | 3 | 0.00071 | -0.00038 | -0.00114 | 0.00139 | 0.084 |
55
+ | 4 | 0.00015 | -0.00025 | -0.00022 | 0.00036 | 0.097 |
56
+ | 5 | 0.00120 | -0.00090 | -0.00132 | 0.00200 | 0.121 |
57
+ | 6 | 0.00135 | -0.00069 | -0.00078 | 0.00171 | 0.139 |
58
+ | 7 | 0.00018 | -0.00032 | -0.00058 | 0.00069 | 0.038 |
59
+ | 8 | -0.00008 | -0.00009 | -0.00014 | 0.00019 | 0.030 |
60
+
61
+ ## Suggested next edits (`pick_place.py`)
62
+
63
+ 1. No automatic rules fired; use per-phase tables and phase-end deltas to decide the next `pick_place.py` tweak.
64
+
65
+ ## Iteration loop
66
+
67
+ Re-run Isaac with updated `pick_place.py`, export a new sim CSV, then run:
68
+
69
+ ```bash
70
+ python sim_real_gap.py --real episode_29312353.csv --sim "episode (1).csv"
71
+ ```
72
+
73
+ Details: see `GAP_ITERATION.md` in this folder.
gap_reports/gap_04ec10f0-a787-4200-97c5-20e61e8dab20.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:25 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/04ec10f0-a787-4200-97c5-20e61e8dab20.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/04ec10f0-a787-4200-97c5-20e61e8dab20.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 2621 |
12
+ | Sim rows | 261 |
13
+ | Real episode_id | `04ec10f0-a787-4200-97c5-20e61e8dab20` |
14
+ | Sim episode_id | `04ec10f0-a787-4200-97c5-20e61e8dab20` |
15
+
16
+ ## Methodology
17
+
18
+ **Scope:** offline comparison of two CSV exports (real executed vs sim-planned/exported) with identical schema; not Isaac replay of real commands. **Kinematic** (joints, logged TCP) and **effort proxy** (`joint_current_*`) only.
19
+
20
+ Within each `task_phase`, time is normalized to [0, 1]. The shorter series is linearly resampled to `max(n_real, n_sim)` samples. RMSE is computed on `joint_*` (deg), TCP position (per-axis pooled, mm), TCP rotation vector (rad -> mrad). **RMS EE (mm)** is the root-mean-square of the **Euclidean** TCP position error per timestep. **W1 effort (A)** is the 1D Wasserstein distance between aligned samples of `joint_current_*` per joint (equal-n sorting). Metrics omitted when `min(n_real, n_sim) < 2`. Phase-end table is **sim - real** on the **last** row of each phase.
21
+
22
+ ## Per-phase metrics
23
+
24
+ | ph | name | n_real | n_sim | RMSE joints (deg) | RMSE TCP pos (mm) | RMS EE L2 (mm) | RMSE rot (mrad) | W1 effort mean (A) |
25
+ |---:|---|---:|---:|---:|---:|---:|---:|---:|
26
+ | 0 | above_pick | 198 | 20 | 3.572 | 17.17 | 29.74 | 2060.85 | 0.6404 |
27
+ | 1 | descend | 489 | 48 | 0.995 | 7.08 | 12.26 | 3624.76 | 0.8138 |
28
+ | 2 | settle | 346 | 34 | 0.026 | 1.01 | 1.75 | 3624.59 | 0.7314 |
29
+ | 3 | close | 118 | 12 | 1.029 | 7.18 | 12.44 | 3625.28 | 1.0017 |
30
+ | 4 | lift | 326 | 32 | 3.238 | 16.84 | 29.17 | 2475.59 | 1.1433 |
31
+ | 5 | move_xy | 344 | 34 | 7.874 | 42.96 | 74.41 | 2852.39 | 0.9474 |
32
+ | 6 | lower | 353 | 35 | 0.092 | 1.76 | 3.05 | 3625.06 | 1.0360 |
33
+ | 7 | open | 120 | 12 | 0.963 | 6.56 | 11.36 | 3624.77 | 0.7393 |
34
+ | 8 | retract | 327 | 32 | 3.098 | 16.11 | 27.91 | 2471.44 | 0.7661 |
35
+
36
+ ## Pooled metrics (matched phases only)
37
+
38
+ | Metric | Value |
39
+ |---|---:|
40
+ | Joints (deg) | 3.297 |
41
+ | TCP position RMSE (mm, per-axis) | 17.74 |
42
+ | EE position RMS L2 (mm) | 32.23 |
43
+ | TCP rotvec (mrad) | 3167.88 |
44
+ | W1 effort mean (A) | 0.8552 |
45
+ | W1 effort per joint (A) | j0=0.2631, j1=1.6043, j2=1.6095, j3=0.7558, j4=0.2829, j5=0.6156 |
46
+
47
+ ## Phase-end anchor (sim - real)
48
+
49
+ | ph | d_tcp_x (m) | d_tcp_y (m) | d_tcp_z (m) | norm d_tcp (m) | max abs dq (deg) |
50
+ |---:|---:|---:|---:|---:|---:|
51
+ | 0 | 0.00104 | -0.00016 | -0.00067 | 0.00125 | 0.025 |
52
+ | 1 | 0.00113 | -0.00063 | -0.00121 | 0.00177 | 0.058 |
53
+ | 2 | 0.00113 | -0.00065 | -0.00116 | 0.00175 | 0.053 |
54
+ | 3 | 0.00141 | -0.00033 | -0.00044 | 0.00151 | 0.083 |
55
+ | 4 | 0.00010 | -0.00028 | -0.00016 | 0.00034 | 0.086 |
56
+ | 5 | 0.00220 | -0.00090 | -0.00150 | 0.00281 | 0.128 |
57
+ | 6 | 0.00256 | -0.00085 | -0.00198 | 0.00334 | 0.184 |
58
+ | 7 | 0.00083 | -0.00023 | -0.00095 | 0.00128 | 0.061 |
59
+ | 8 | -0.00010 | -0.00016 | -0.00018 | 0.00026 | 0.028 |
60
+
61
+ ## Suggested next edits (`pick_place.py`)
62
+
63
+ 1. No automatic rules fired; use per-phase tables and phase-end deltas to decide the next `pick_place.py` tweak.
64
+
65
+ ## Iteration loop
66
+
67
+ Re-run Isaac with updated `pick_place.py`, export a new sim CSV, then run:
68
+
69
+ ```bash
70
+ python sim_real_gap.py --real episode_29312353.csv --sim "episode (1).csv"
71
+ ```
72
+
73
+ Details: see `GAP_ITERATION.md` in this folder.
gap_reports/gap_0507d971-eb0b-41e2-88dd-a34b1e9da26b.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:25 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/0507d971-eb0b-41e2-88dd-a34b1e9da26b.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/0507d971-eb0b-41e2-88dd-a34b1e9da26b.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 2732 |
12
+ | Sim rows | 242 |
13
+ | Real episode_id | `0507d971-eb0b-41e2-88dd-a34b1e9da26b` |
14
+ | Sim episode_id | `0507d971-eb0b-41e2-88dd-a34b1e9da26b` |
15
+
16
+ ## Methodology
17
+
18
+ **Scope:** offline comparison of two CSV exports (real executed vs sim-planned/exported) with identical schema; not Isaac replay of real commands. **Kinematic** (joints, logged TCP) and **effort proxy** (`joint_current_*`) only.
19
+
20
+ Within each `task_phase`, time is normalized to [0, 1]. The shorter series is linearly resampled to `max(n_real, n_sim)` samples. RMSE is computed on `joint_*` (deg), TCP position (per-axis pooled, mm), TCP rotation vector (rad -> mrad). **RMS EE (mm)** is the root-mean-square of the **Euclidean** TCP position error per timestep. **W1 effort (A)** is the 1D Wasserstein distance between aligned samples of `joint_current_*` per joint (equal-n sorting). Metrics omitted when `min(n_real, n_sim) < 2`. Phase-end table is **sim - real** on the **last** row of each phase.
21
+
22
+ ## Per-phase metrics
23
+
24
+ | ph | name | n_real | n_sim | RMSE joints (deg) | RMSE TCP pos (mm) | RMS EE L2 (mm) | RMSE rot (mrad) | W1 effort mean (A) |
25
+ |---:|---|---:|---:|---:|---:|---:|---:|---:|
26
+ | 0 | above_pick | 207 | 18 | 2.626 | 10.52 | 18.22 | 1935.82 | 0.5814 |
27
+ | 1 | descend | 257 | 23 | 1.015 | 6.02 | 10.43 | 3625.99 | 0.7007 |
28
+ | 2 | settle | 381 | 33 | 0.024 | 0.61 | 1.05 | 3625.99 | 0.6511 |
29
+ | 3 | close | 158 | 14 | 0.810 | 4.74 | 8.20 | 1930.28 | 0.9510 |
30
+ | 4 | lift | 403 | 35 | 3.379 | 13.86 | 24.00 | 1823.30 | 1.0817 |
31
+ | 5 | move_xy | 362 | 32 | 6.271 | 27.96 | 48.43 | 1882.33 | 0.8765 |
32
+ | 6 | lower | 408 | 36 | 0.079 | 1.10 | 1.91 | 1699.78 | 0.9903 |
33
+ | 7 | open | 157 | 14 | 0.873 | 5.07 | 8.79 | 3626.21 | 0.6095 |
34
+ | 8 | retract | 399 | 35 | 3.174 | 12.96 | 22.45 | 2281.66 | 0.7044 |
35
+
36
+ ## Pooled metrics (matched phases only)
37
+
38
+ | Metric | Value |
39
+ |---|---:|
40
+ | Joints (deg) | 2.792 |
41
+ | TCP position RMSE (mm, per-axis) | 12.20 |
42
+ | EE position RMS L2 (mm) | 22.67 |
43
+ | TCP rotvec (mrad) | 2622.15 |
44
+ | W1 effort mean (A) | 0.7867 |
45
+ | W1 effort per joint (A) | j0=0.2446, j1=1.2154, j2=1.5744, j3=0.6872, j4=0.3908, j5=0.6076 |
46
+
47
+ ## Phase-end anchor (sim - real)
48
+
49
+ | ph | d_tcp_x (m) | d_tcp_y (m) | d_tcp_z (m) | norm d_tcp (m) | max abs dq (deg) |
50
+ |---:|---:|---:|---:|---:|---:|
51
+ | 0 | 0.00038 | -0.00031 | -0.00046 | 0.00067 | 0.030 |
52
+ | 1 | 0.00041 | -0.00052 | -0.00083 | 0.00106 | 0.045 |
53
+ | 2 | 0.00043 | -0.00058 | -0.00075 | 0.00104 | 0.034 |
54
+ | 3 | 0.00104 | -0.00023 | -0.00076 | 0.00131 | 0.109 |
55
+ | 4 | 0.00041 | -0.00027 | -0.00049 | 0.00070 | 0.111 |
56
+ | 5 | 0.00140 | -0.00071 | -0.00100 | 0.00186 | 0.159 |
57
+ | 6 | 0.00142 | -0.00072 | -0.00131 | 0.00206 | 0.146 |
58
+ | 7 | 0.00024 | -0.00030 | -0.00054 | 0.00067 | 0.037 |
59
+ | 8 | -0.00004 | -0.00006 | -0.00012 | 0.00014 | 0.023 |
60
+
61
+ ## Suggested next edits (`pick_place.py`)
62
+
63
+ 1. No automatic rules fired; use per-phase tables and phase-end deltas to decide the next `pick_place.py` tweak.
64
+
65
+ ## Iteration loop
66
+
67
+ Re-run Isaac with updated `pick_place.py`, export a new sim CSV, then run:
68
+
69
+ ```bash
70
+ python sim_real_gap.py --real episode_29312353.csv --sim "episode (1).csv"
71
+ ```
72
+
73
+ Details: see `GAP_ITERATION.md` in this folder.
gap_reports/gap_052d4281-8398-471d-87d7-665df7cd8f92.md ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:25 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/052d4281-8398-471d-87d7-665df7cd8f92.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/052d4281-8398-471d-87d7-665df7cd8f92.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 1538 |
12
+ | Sim rows | 158 |
13
+ | Real episode_id | `052d4281-8398-471d-87d7-665df7cd8f92` |
14
+ | Sim episode_id | `052d4281-8398-471d-87d7-665df7cd8f92` |
15
+
16
+ ## Methodology
17
+
18
+ **Scope:** offline comparison of two CSV exports (real executed vs sim-planned/exported) with identical schema; not Isaac replay of real commands. **Kinematic** (joints, logged TCP) and **effort proxy** (`joint_current_*`) only.
19
+
20
+ Within each `task_phase`, time is normalized to [0, 1]. The shorter series is linearly resampled to `max(n_real, n_sim)` samples. RMSE is computed on `joint_*` (deg), TCP position (per-axis pooled, mm), TCP rotation vector (rad -> mrad). **RMS EE (mm)** is the root-mean-square of the **Euclidean** TCP position error per timestep. **W1 effort (A)** is the 1D Wasserstein distance between aligned samples of `joint_current_*` per joint (equal-n sorting). Metrics omitted when `min(n_real, n_sim) < 2`. Phase-end table is **sim - real** on the **last** row of each phase.
21
+
22
+ ## Per-phase metrics
23
+
24
+ | ph | name | n_real | n_sim | RMSE joints (deg) | RMSE TCP pos (mm) | RMS EE L2 (mm) | RMSE rot (mrad) | W1 effort mean (A) |
25
+ |---:|---|---:|---:|---:|---:|---:|---:|---:|
26
+ | 0 | above_pick | 137 | 14 | 3.922 | 23.62 | 40.91 | 833.00 | 0.7607 |
27
+ | 1 | descend | 73 | 8 | 1.033 | 4.88 | 8.46 | 6.84 | 0.8756 |
28
+ | 2 | settle | 27 | 4 | 0.033 | 3.51 | 6.07 | 7.15 | 0.8674 |
29
+ | 3 | close | 366 | 36 | 0.157 | 4.38 | 7.58 | 12.58 | 1.3094 |
30
+ | 4 | lift | 72 | 8 | 0.851 | 4.91 | 8.50 | 12.22 | 1.2854 |
31
+ | 5 | move_xy | 168 | 17 | 4.879 | 31.15 | 53.96 | 221.09 | 1.3407 |
32
+ | 6 | lower | 73 | 8 | 0.752 | 4.22 | 7.30 | 7.67 | 1.1257 |
33
+ | 7 | open | 386 | 38 | 0.026 | 2.16 | 3.74 | 5.51 | 0.7649 |
34
+ | 8 | retract | 72 | 8 | 0.756 | 4.18 | 7.25 | 4.83 | 0.7682 |
35
+ | 9 | return | 164 | 17 | 2.638 | 14.40 | 24.94 | 336.36 | 0.8090 |
36
+
37
+ ## Pooled metrics (matched phases only)
38
+
39
+ | Metric | Value |
40
+ |---|---:|
41
+ | Joints (deg) | 2.216 |
42
+ | TCP position RMSE (mm, per-axis) | 13.62 |
43
+ | EE position RMS L2 (mm) | 23.73 |
44
+ | TCP rotvec (mrad) | 292.65 |
45
+ | W1 effort mean (A) | 0.9735 |
46
+ | W1 effort per joint (A) | j0=0.2001, j1=2.0519, j2=1.7866, j3=0.7747, j4=0.4788, j5=0.5487 |
47
+
48
+ ## Phase-end anchor (sim - real)
49
+
50
+ | ph | d_tcp_x (m) | d_tcp_y (m) | d_tcp_z (m) | norm d_tcp (m) | max abs dq (deg) |
51
+ |---:|---:|---:|---:|---:|---:|
52
+ | 0 | 0.00266 | -0.00518 | -0.00146 | 0.00601 | 0.150 |
53
+ | 1 | 0.00293 | -0.00509 | -0.00122 | 0.00600 | 0.055 |
54
+ | 2 | 0.00297 | -0.00510 | -0.00149 | 0.00609 | 0.070 |
55
+ | 3 | 0.00369 | -0.00503 | -0.00443 | 0.00765 | 0.268 |
56
+ | 4 | 0.00306 | -0.00574 | -0.00482 | 0.00810 | 0.351 |
57
+ | 5 | 0.00123 | -0.00304 | -0.00230 | 0.00400 | 0.221 |
58
+ | 6 | 0.00202 | -0.00220 | -0.00219 | 0.00370 | 0.198 |
59
+ | 7 | 0.00221 | -0.00299 | -0.00039 | 0.00374 | 0.058 |
60
+ | 8 | 0.00185 | -0.00324 | -0.00065 | 0.00379 | 0.073 |
61
+ | 9 | -0.00007 | -0.00023 | -0.00034 | 0.00042 | 0.047 |
62
+
63
+ ## Suggested next edits (`pick_place.py`)
64
+
65
+ 1. No automatic rules fired; use per-phase tables and phase-end deltas to decide the next `pick_place.py` tweak.
66
+
67
+ ## Iteration loop
68
+
69
+ Re-run Isaac with updated `pick_place.py`, export a new sim CSV, then run:
70
+
71
+ ```bash
72
+ python sim_real_gap.py --real episode_29312353.csv --sim "episode (1).csv"
73
+ ```
74
+
75
+ Details: see `GAP_ITERATION.md` in this folder.
gap_reports/gap_0535f83b-7b52-48a4-970c-86d42b2aefe5.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:25 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/0535f83b-7b52-48a4-970c-86d42b2aefe5.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/0535f83b-7b52-48a4-970c-86d42b2aefe5.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 2367 |
12
+ | Sim rows | 236 |
13
+ | Real episode_id | `0535f83b-7b52-48a4-970c-86d42b2aefe5` |
14
+ | Sim episode_id | `0535f83b-7b52-48a4-970c-86d42b2aefe5` |
15
+
16
+ ## Methodology
17
+
18
+ **Scope:** offline comparison of two CSV exports (real executed vs sim-planned/exported) with identical schema; not Isaac replay of real commands. **Kinematic** (joints, logged TCP) and **effort proxy** (`joint_current_*`) only.
19
+
20
+ Within each `task_phase`, time is normalized to [0, 1]. The shorter series is linearly resampled to `max(n_real, n_sim)` samples. RMSE is computed on `joint_*` (deg), TCP position (per-axis pooled, mm), TCP rotation vector (rad -> mrad). **RMS EE (mm)** is the root-mean-square of the **Euclidean** TCP position error per timestep. **W1 effort (A)** is the 1D Wasserstein distance between aligned samples of `joint_current_*` per joint (equal-n sorting). Metrics omitted when `min(n_real, n_sim) < 2`. Phase-end table is **sim - real** on the **last** row of each phase.
21
+
22
+ ## Per-phase metrics
23
+
24
+ | ph | name | n_real | n_sim | RMSE joints (deg) | RMSE TCP pos (mm) | RMS EE L2 (mm) | RMSE rot (mrad) | W1 effort mean (A) |
25
+ |---:|---|---:|---:|---:|---:|---:|---:|---:|
26
+ | 0 | above_pick | 211 | 21 | 2.908 | 12.79 | 22.16 | 1965.19 | 0.5823 |
27
+ | 1 | descend | 332 | 33 | 1.219 | 7.97 | 13.80 | 3625.38 | 0.7204 |
28
+ | 2 | settle | 347 | 34 | 0.024 | 0.77 | 1.33 | 3625.24 | 0.7302 |
29
+ | 3 | close | 122 | 13 | 0.964 | 6.22 | 10.77 | 3077.18 | 0.9712 |
30
+ | 4 | lift | 253 | 25 | 2.920 | 13.65 | 23.64 | 2210.03 | 1.1205 |
31
+ | 5 | move_xy | 382 | 37 | 6.180 | 31.31 | 54.24 | 2641.45 | 0.8856 |
32
+ | 6 | lower | 346 | 34 | 0.085 | 1.34 | 2.32 | 3280.85 | 0.9807 |
33
+ | 7 | open | 121 | 12 | 0.942 | 5.84 | 10.12 | 3625.49 | 0.6574 |
34
+ | 8 | retract | 253 | 25 | 3.070 | 14.41 | 24.96 | 2368.73 | 0.7338 |
35
+
36
+ ## Pooled metrics (matched phases only)
37
+
38
+ | Metric | Value |
39
+ |---|---:|
40
+ | Joints (deg) | 2.747 |
41
+ | TCP position RMSE (mm, per-axis) | 13.65 |
42
+ | EE position RMS L2 (mm) | 26.15 |
43
+ | TCP rotvec (mrad) | 2999.95 |
44
+ | W1 effort mean (A) | 0.8043 |
45
+ | W1 effort per joint (A) | j0=0.2295, j1=1.3309, j2=1.6244, j3=0.7561, j4=0.2793, j5=0.6059 |
46
+
47
+ ## Phase-end anchor (sim - real)
48
+
49
+ | ph | d_tcp_x (m) | d_tcp_y (m) | d_tcp_z (m) | norm d_tcp (m) | max abs dq (deg) |
50
+ |---:|---:|---:|---:|---:|---:|
51
+ | 0 | 0.00061 | -0.00024 | -0.00072 | 0.00098 | 0.041 |
52
+ | 1 | 0.00062 | -0.00061 | -0.00103 | 0.00134 | 0.048 |
53
+ | 2 | 0.00065 | -0.00063 | -0.00099 | 0.00134 | 0.045 |
54
+ | 3 | 0.00103 | -0.00033 | -0.00052 | 0.00120 | 0.076 |
55
+ | 4 | 0.00028 | -0.00020 | -0.00046 | 0.00057 | 0.090 |
56
+ | 5 | 0.00198 | -0.00093 | -0.00146 | 0.00263 | 0.185 |
57
+ | 6 | 0.00179 | -0.00102 | -0.00147 | 0.00253 | 0.167 |
58
+ | 7 | 0.00037 | -0.00037 | -0.00076 | 0.00093 | 0.053 |
59
+ | 8 | -0.00011 | -0.00018 | -0.00020 | 0.00029 | 0.031 |
60
+
61
+ ## Suggested next edits (`pick_place.py`)
62
+
63
+ 1. No automatic rules fired; use per-phase tables and phase-end deltas to decide the next `pick_place.py` tweak.
64
+
65
+ ## Iteration loop
66
+
67
+ Re-run Isaac with updated `pick_place.py`, export a new sim CSV, then run:
68
+
69
+ ```bash
70
+ python sim_real_gap.py --real episode_29312353.csv --sim "episode (1).csv"
71
+ ```
72
+
73
+ Details: see `GAP_ITERATION.md` in this folder.
gap_reports/gap_0539f2e5-13b6-472e-b266-f9f5348a10f8.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:25 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/0539f2e5-13b6-472e-b266-f9f5348a10f8.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/0539f2e5-13b6-472e-b266-f9f5348a10f8.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 2867 |
12
+ | Sim rows | 254 |
13
+ | Real episode_id | `0539f2e5-13b6-472e-b266-f9f5348a10f8` |
14
+ | Sim episode_id | `0539f2e5-13b6-472e-b266-f9f5348a10f8` |
15
+
16
+ ## Methodology
17
+
18
+ **Scope:** offline comparison of two CSV exports (real executed vs sim-planned/exported) with identical schema; not Isaac replay of real commands. **Kinematic** (joints, logged TCP) and **effort proxy** (`joint_current_*`) only.
19
+
20
+ Within each `task_phase`, time is normalized to [0, 1]. The shorter series is linearly resampled to `max(n_real, n_sim)` samples. RMSE is computed on `joint_*` (deg), TCP position (per-axis pooled, mm), TCP rotation vector (rad -> mrad). **RMS EE (mm)** is the root-mean-square of the **Euclidean** TCP position error per timestep. **W1 effort (A)** is the 1D Wasserstein distance between aligned samples of `joint_current_*` per joint (equal-n sorting). Metrics omitted when `min(n_real, n_sim) < 2`. Phase-end table is **sim - real** on the **last** row of each phase.
21
+
22
+ ## Per-phase metrics
23
+
24
+ | ph | name | n_real | n_sim | RMSE joints (deg) | RMSE TCP pos (mm) | RMS EE L2 (mm) | RMSE rot (mrad) | W1 effort mean (A) |
25
+ |---:|---|---:|---:|---:|---:|---:|---:|---:|
26
+ | 0 | above_pick | 200 | 18 | 2.957 | 13.44 | 23.28 | 1969.07 | 0.5822 |
27
+ | 1 | descend | 328 | 29 | 1.472 | 9.63 | 16.68 | 3625.35 | 0.7288 |
28
+ | 2 | settle | 386 | 34 | 0.022 | 0.76 | 1.32 | 3625.24 | 0.7006 |
29
+ | 3 | close | 140 | 13 | 0.848 | 5.47 | 9.48 | 2965.17 | 0.9714 |
30
+ | 4 | lift | 450 | 39 | 2.917 | 13.57 | 23.51 | 2318.39 | 1.0928 |
31
+ | 5 | move_xy | 364 | 32 | 7.021 | 36.01 | 62.37 | 2591.14 | 0.8932 |
32
+ | 6 | lower | 405 | 35 | 0.085 | 1.37 | 2.37 | 3554.23 | 1.0043 |
33
+ | 7 | open | 142 | 13 | 0.847 | 5.42 | 9.39 | 3625.48 | 0.6456 |
34
+ | 8 | retract | 452 | 39 | 3.258 | 15.16 | 26.25 | 2313.05 | 0.7180 |
35
+
36
+ ## Pooled metrics (matched phases only)
37
+
38
+ | Metric | Value |
39
+ |---|---:|
40
+ | Joints (deg) | 2.996 |
41
+ | TCP position RMSE (mm, per-axis) | 15.08 |
42
+ | EE position RMS L2 (mm) | 27.73 |
43
+ | TCP rotvec (mrad) | 3021.60 |
44
+ | W1 effort mean (A) | 0.8188 |
45
+ | W1 effort per joint (A) | j0=0.2355, j1=1.3400, j2=1.6419, j3=0.7475, j4=0.3279, j5=0.6200 |
46
+
47
+ ## Phase-end anchor (sim - real)
48
+
49
+ | ph | d_tcp_x (m) | d_tcp_y (m) | d_tcp_z (m) | norm d_tcp (m) | max abs dq (deg) |
50
+ |---:|---:|---:|---:|---:|---:|
51
+ | 0 | 0.00061 | -0.00028 | -0.00065 | 0.00093 | 0.037 |
52
+ | 1 | 0.00061 | -0.00064 | -0.00099 | 0.00132 | 0.046 |
53
+ | 2 | 0.00064 | -0.00064 | -0.00094 | 0.00131 | 0.042 |
54
+ | 3 | 0.00159 | -0.00028 | -0.00120 | 0.00201 | 0.143 |
55
+ | 4 | 0.00011 | -0.00030 | -0.00032 | 0.00046 | 0.112 |
56
+ | 5 | 0.00147 | -0.00088 | -0.00157 | 0.00233 | 0.111 |
57
+ | 6 | 0.00129 | -0.00094 | -0.00240 | 0.00289 | 0.199 |
58
+ | 7 | 0.00048 | -0.00035 | -0.00072 | 0.00093 | 0.039 |
59
+ | 8 | -0.00006 | -0.00008 | -0.00012 | 0.00016 | 0.023 |
60
+
61
+ ## Suggested next edits (`pick_place.py`)
62
+
63
+ 1. No automatic rules fired; use per-phase tables and phase-end deltas to decide the next `pick_place.py` tweak.
64
+
65
+ ## Iteration loop
66
+
67
+ Re-run Isaac with updated `pick_place.py`, export a new sim CSV, then run:
68
+
69
+ ```bash
70
+ python sim_real_gap.py --real episode_29312353.csv --sim "episode (1).csv"
71
+ ```
72
+
73
+ Details: see `GAP_ITERATION.md` in this folder.
gap_reports/gap_057c4b06-a7ce-439c-bc72-80ecd9283328.md ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:25 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/057c4b06-a7ce-439c-bc72-80ecd9283328.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/057c4b06-a7ce-439c-bc72-80ecd9283328.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 1514 |
12
+ | Sim rows | 154 |
13
+ | Real episode_id | `057c4b06-a7ce-439c-bc72-80ecd9283328` |
14
+ | Sim episode_id | `057c4b06-a7ce-439c-bc72-80ecd9283328` |
15
+
16
+ ## Methodology
17
+
18
+ **Scope:** offline comparison of two CSV exports (real executed vs sim-planned/exported) with identical schema; not Isaac replay of real commands. **Kinematic** (joints, logged TCP) and **effort proxy** (`joint_current_*`) only.
19
+
20
+ Within each `task_phase`, time is normalized to [0, 1]. The shorter series is linearly resampled to `max(n_real, n_sim)` samples. RMSE is computed on `joint_*` (deg), TCP position (per-axis pooled, mm), TCP rotation vector (rad -> mrad). **RMS EE (mm)** is the root-mean-square of the **Euclidean** TCP position error per timestep. **W1 effort (A)** is the 1D Wasserstein distance between aligned samples of `joint_current_*` per joint (equal-n sorting). Metrics omitted when `min(n_real, n_sim) < 2`. Phase-end table is **sim - real** on the **last** row of each phase.
21
+
22
+ ## Per-phase metrics
23
+
24
+ | ph | name | n_real | n_sim | RMSE joints (deg) | RMSE TCP pos (mm) | RMS EE L2 (mm) | RMSE rot (mrad) | W1 effort mean (A) |
25
+ |---:|---|---:|---:|---:|---:|---:|---:|---:|
26
+ | 0 | above_pick | 156 | 16 | 2.712 | 12.66 | 21.92 | 354.17 | 0.6810 |
27
+ | 1 | descend | 78 | 9 | 0.902 | 4.20 | 7.28 | 3.91 | 0.6040 |
28
+ | 2 | settle | 19 | 3 | 0.020 | 1.96 | 3.40 | 4.62 | 0.5571 |
29
+ | 3 | close | 370 | 36 | 0.162 | 1.68 | 2.91 | 7.12 | 1.0498 |
30
+ | 4 | lift | 82 | 9 | 0.876 | 3.83 | 6.64 | 6.70 | 1.1963 |
31
+ | 5 | move_xy | 186 | 19 | 6.466 | 29.45 | 51.00 | 81.33 | 1.0594 |
32
+ | 6 | lower | 79 | 8 | 0.893 | 3.89 | 6.75 | 5.25 | 0.9641 |
33
+ | 7 | open | 184 | 18 | 0.018 | 2.74 | 4.75 | 4.88 | 0.5687 |
34
+ | 8 | retract | 78 | 8 | 0.870 | 4.10 | 7.10 | 4.15 | 0.6674 |
35
+ | 9 | return | 282 | 28 | 4.409 | 19.87 | 34.41 | 997.50 | 0.6739 |
36
+
37
+ ## Pooled metrics (matched phases only)
38
+
39
+ | Metric | Value |
40
+ |---|---:|
41
+ | Joints (deg) | 2.679 |
42
+ | TCP position RMSE (mm, per-axis) | 12.25 |
43
+ | EE position RMS L2 (mm) | 24.59 |
44
+ | TCP rotvec (mrad) | 335.75 |
45
+ | W1 effort mean (A) | 0.8038 |
46
+ | W1 effort per joint (A) | j0=0.2106, j1=1.3198, j2=1.5270, j3=0.7585, j4=0.5599, j5=0.4467 |
47
+
48
+ ## Phase-end anchor (sim - real)
49
+
50
+ | ph | d_tcp_x (m) | d_tcp_y (m) | d_tcp_z (m) | norm d_tcp (m) | max abs dq (deg) |
51
+ |---:|---:|---:|---:|---:|---:|
52
+ | 0 | 0.00116 | -0.00316 | 0.00007 | 0.00337 | 0.041 |
53
+ | 1 | 0.00180 | -0.00285 | 0.00020 | 0.00338 | 0.056 |
54
+ | 2 | 0.00182 | -0.00290 | 0.00005 | 0.00343 | 0.034 |
55
+ | 3 | 0.00048 | -0.00285 | -0.00065 | 0.00296 | 0.198 |
56
+ | 4 | -0.00019 | -0.00323 | -0.00079 | 0.00333 | 0.464 |
57
+ | 5 | 0.00151 | -0.00229 | -0.00120 | 0.00299 | 0.405 |
58
+ | 6 | 0.00138 | -0.00274 | -0.00067 | 0.00314 | 0.233 |
59
+ | 7 | 0.00191 | -0.00428 | -0.00092 | 0.00477 | 0.031 |
60
+ | 8 | 0.00155 | -0.00371 | -0.00111 | 0.00417 | 0.058 |
61
+ | 9 | -0.00012 | -0.00004 | -0.00022 | 0.00026 | 0.031 |
62
+
63
+ ## Suggested next edits (`pick_place.py`)
64
+
65
+ 1. No automatic rules fired; use per-phase tables and phase-end deltas to decide the next `pick_place.py` tweak.
66
+
67
+ ## Iteration loop
68
+
69
+ Re-run Isaac with updated `pick_place.py`, export a new sim CSV, then run:
70
+
71
+ ```bash
72
+ python sim_real_gap.py --real episode_29312353.csv --sim "episode (1).csv"
73
+ ```
74
+
75
+ Details: see `GAP_ITERATION.md` in this folder.
gap_reports/gap_058550ce-628a-415c-a144-8a37f56c32c3.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:25 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/058550ce-628a-415c-a144-8a37f56c32c3.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/058550ce-628a-415c-a144-8a37f56c32c3.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 2633 |
12
+ | Sim rows | 235 |
13
+ | Real episode_id | `058550ce-628a-415c-a144-8a37f56c32c3` |
14
+ | Sim episode_id | `058550ce-628a-415c-a144-8a37f56c32c3` |
15
+
16
+ ## Methodology
17
+
18
+ **Scope:** offline comparison of two CSV exports (real executed vs sim-planned/exported) with identical schema; not Isaac replay of real commands. **Kinematic** (joints, logged TCP) and **effort proxy** (`joint_current_*`) only.
19
+
20
+ Within each `task_phase`, time is normalized to [0, 1]. The shorter series is linearly resampled to `max(n_real, n_sim)` samples. RMSE is computed on `joint_*` (deg), TCP position (per-axis pooled, mm), TCP rotation vector (rad -> mrad). **RMS EE (mm)** is the root-mean-square of the **Euclidean** TCP position error per timestep. **W1 effort (A)** is the 1D Wasserstein distance between aligned samples of `joint_current_*` per joint (equal-n sorting). Metrics omitted when `min(n_real, n_sim) < 2`. Phase-end table is **sim - real** on the **last** row of each phase.
21
+
22
+ ## Per-phase metrics
23
+
24
+ | ph | name | n_real | n_sim | RMSE joints (deg) | RMSE TCP pos (mm) | RMS EE L2 (mm) | RMSE rot (mrad) | W1 effort mean (A) |
25
+ |---:|---|---:|---:|---:|---:|---:|---:|---:|
26
+ | 0 | above_pick | 196 | 18 | 2.210 | 11.63 | 20.15 | 1849.11 | 0.6188 |
27
+ | 1 | descend | 413 | 36 | 0.687 | 4.77 | 8.25 | 3624.73 | 0.8189 |
28
+ | 2 | settle | 355 | 31 | 0.029 | 0.99 | 1.72 | 3624.50 | 0.7787 |
29
+ | 3 | close | 187 | 17 | 1.021 | 7.17 | 12.42 | 3624.91 | 1.0986 |
30
+ | 4 | lift | 273 | 24 | 2.372 | 13.53 | 23.44 | 2443.46 | 1.1454 |
31
+ | 5 | move_xy | 364 | 32 | 5.475 | 32.79 | 56.80 | 2837.09 | 0.9700 |
32
+ | 6 | lower | 385 | 34 | 0.090 | 1.65 | 2.86 | 3625.01 | 1.0971 |
33
+ | 7 | open | 187 | 17 | 1.037 | 7.12 | 12.33 | 3624.77 | 0.7558 |
34
+ | 8 | retract | 273 | 24 | 2.398 | 13.67 | 23.67 | 2433.21 | 0.7590 |
35
+
36
+ ## Pooled metrics (matched phases only)
37
+
38
+ | Metric | Value |
39
+ |---|---:|
40
+ | Joints (deg) | 2.329 |
41
+ | TCP position RMSE (mm, per-axis) | 13.78 |
42
+ | EE position RMS L2 (mm) | 25.00 |
43
+ | TCP rotvec (mrad) | 3145.62 |
44
+ | W1 effort mean (A) | 0.8782 |
45
+ | W1 effort per joint (A) | j0=0.2421, j1=1.6293, j2=1.7256, j3=0.7825, j4=0.2893, j5=0.6001 |
46
+
47
+ ## Phase-end anchor (sim - real)
48
+
49
+ | ph | d_tcp_x (m) | d_tcp_y (m) | d_tcp_z (m) | norm d_tcp (m) | max abs dq (deg) |
50
+ |---:|---:|---:|---:|---:|---:|
51
+ | 0 | 0.00073 | -0.00038 | -0.00061 | 0.00102 | 0.026 |
52
+ | 1 | 0.00077 | -0.00087 | -0.00122 | 0.00169 | 0.056 |
53
+ | 2 | 0.00078 | -0.00088 | -0.00126 | 0.00172 | 0.061 |
54
+ | 3 | 0.00151 | -0.00056 | -0.00091 | 0.00185 | 0.101 |
55
+ | 4 | 0.00046 | 0.00010 | -0.00017 | 0.00050 | 0.107 |
56
+ | 5 | 0.00149 | -0.00111 | -0.00142 | 0.00234 | 0.111 |
57
+ | 6 | 0.00175 | -0.00129 | -0.00239 | 0.00323 | 0.153 |
58
+ | 7 | 0.00064 | -0.00051 | -0.00103 | 0.00131 | 0.063 |
59
+ | 8 | -0.00012 | -0.00023 | -0.00023 | 0.00035 | 0.043 |
60
+
61
+ ## Suggested next edits (`pick_place.py`)
62
+
63
+ 1. No automatic rules fired; use per-phase tables and phase-end deltas to decide the next `pick_place.py` tweak.
64
+
65
+ ## Iteration loop
66
+
67
+ Re-run Isaac with updated `pick_place.py`, export a new sim CSV, then run:
68
+
69
+ ```bash
70
+ python sim_real_gap.py --real episode_29312353.csv --sim "episode (1).csv"
71
+ ```
72
+
73
+ Details: see `GAP_ITERATION.md` in this folder.
gap_reports/gap_05939596-1b30-467f-8121-c134a6821a7f.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:25 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/05939596-1b30-467f-8121-c134a6821a7f.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/05939596-1b30-467f-8121-c134a6821a7f.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 2597 |
12
+ | Sim rows | 230 |
13
+ | Real episode_id | `05939596-1b30-467f-8121-c134a6821a7f` |
14
+ | Sim episode_id | `05939596-1b30-467f-8121-c134a6821a7f` |
15
+
16
+ ## Methodology
17
+
18
+ **Scope:** offline comparison of two CSV exports (real executed vs sim-planned/exported) with identical schema; not Isaac replay of real commands. **Kinematic** (joints, logged TCP) and **effort proxy** (`joint_current_*`) only.
19
+
20
+ Within each `task_phase`, time is normalized to [0, 1]. The shorter series is linearly resampled to `max(n_real, n_sim)` samples. RMSE is computed on `joint_*` (deg), TCP position (per-axis pooled, mm), TCP rotation vector (rad -> mrad). **RMS EE (mm)** is the root-mean-square of the **Euclidean** TCP position error per timestep. **W1 effort (A)** is the 1D Wasserstein distance between aligned samples of `joint_current_*` per joint (equal-n sorting). Metrics omitted when `min(n_real, n_sim) < 2`. Phase-end table is **sim - real** on the **last** row of each phase.
21
+
22
+ ## Per-phase metrics
23
+
24
+ | ph | name | n_real | n_sim | RMSE joints (deg) | RMSE TCP pos (mm) | RMS EE L2 (mm) | RMSE rot (mrad) | W1 effort mean (A) |
25
+ |---:|---|---:|---:|---:|---:|---:|---:|---:|
26
+ | 0 | above_pick | 183 | 16 | 2.125 | 9.51 | 16.46 | 1969.40 | 0.5801 |
27
+ | 1 | descend | 459 | 40 | 1.009 | 6.53 | 11.30 | 3625.37 | 0.7470 |
28
+ | 2 | settle | 363 | 32 | 0.023 | 0.73 | 1.26 | 3625.24 | 0.6814 |
29
+ | 3 | close | 123 | 11 | 0.897 | 5.83 | 10.10 | 3377.38 | 1.0099 |
30
+ | 4 | lift | 296 | 26 | 2.088 | 10.07 | 17.44 | 2151.86 | 1.1179 |
31
+ | 5 | move_xy | 362 | 32 | 5.572 | 30.43 | 52.70 | 2803.57 | 0.9509 |
32
+ | 6 | lower | 391 | 34 | 0.086 | 1.29 | 2.24 | 3260.25 | 1.0309 |
33
+ | 7 | open | 124 | 11 | 0.903 | 5.77 | 10.00 | 3625.50 | 0.6693 |
34
+ | 8 | retract | 296 | 26 | 2.207 | 10.67 | 18.49 | 2240.01 | 0.7326 |
35
+
36
+ ## Pooled metrics (matched phases only)
37
+
38
+ | Metric | Value |
39
+ |---|---:|
40
+ | Joints (deg) | 2.296 |
41
+ | TCP position RMSE (mm, per-axis) | 12.22 |
42
+ | EE position RMS L2 (mm) | 22.65 |
43
+ | TCP rotvec (mrad) | 3034.11 |
44
+ | W1 effort mean (A) | 0.8246 |
45
+ | W1 effort per joint (A) | j0=0.2299, j1=1.4110, j2=1.6380, j3=0.7354, j4=0.3452, j5=0.5881 |
46
+
47
+ ## Phase-end anchor (sim - real)
48
+
49
+ | ph | d_tcp_x (m) | d_tcp_y (m) | d_tcp_z (m) | norm d_tcp (m) | max abs dq (deg) |
50
+ |---:|---:|---:|---:|---:|---:|
51
+ | 0 | 0.00041 | -0.00037 | -0.00068 | 0.00088 | 0.038 |
52
+ | 1 | 0.00038 | -0.00070 | -0.00096 | 0.00125 | 0.045 |
53
+ | 2 | 0.00042 | -0.00070 | -0.00096 | 0.00126 | 0.041 |
54
+ | 3 | 0.00082 | -0.00057 | -0.00094 | 0.00137 | 0.087 |
55
+ | 4 | 0.00056 | -0.00014 | -0.00037 | 0.00069 | 0.155 |
56
+ | 5 | 0.00117 | -0.00102 | -0.00136 | 0.00206 | 0.107 |
57
+ | 6 | 0.00120 | -0.00105 | -0.00152 | 0.00220 | 0.112 |
58
+ | 7 | 0.00022 | -0.00043 | -0.00077 | 0.00091 | 0.038 |
59
+ | 8 | -0.00011 | -0.00019 | -0.00021 | 0.00030 | 0.033 |
60
+
61
+ ## Suggested next edits (`pick_place.py`)
62
+
63
+ 1. No automatic rules fired; use per-phase tables and phase-end deltas to decide the next `pick_place.py` tweak.
64
+
65
+ ## Iteration loop
66
+
67
+ Re-run Isaac with updated `pick_place.py`, export a new sim CSV, then run:
68
+
69
+ ```bash
70
+ python sim_real_gap.py --real episode_29312353.csv --sim "episode (1).csv"
71
+ ```
72
+
73
+ Details: see `GAP_ITERATION.md` in this folder.
gap_reports/gap_05d7ef23-ad32-4595-85b6-4cb75f716cd4.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:25 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/05d7ef23-ad32-4595-85b6-4cb75f716cd4.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/05d7ef23-ad32-4595-85b6-4cb75f716cd4.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 2696 |
12
+ | Sim rows | 240 |
13
+ | Real episode_id | `05d7ef23-ad32-4595-85b6-4cb75f716cd4` |
14
+ | Sim episode_id | `05d7ef23-ad32-4595-85b6-4cb75f716cd4` |
15
+
16
+ ## Methodology
17
+
18
+ **Scope:** offline comparison of two CSV exports (real executed vs sim-planned/exported) with identical schema; not Isaac replay of real commands. **Kinematic** (joints, logged TCP) and **effort proxy** (`joint_current_*`) only.
19
+
20
+ Within each `task_phase`, time is normalized to [0, 1]. The shorter series is linearly resampled to `max(n_real, n_sim)` samples. RMSE is computed on `joint_*` (deg), TCP position (per-axis pooled, mm), TCP rotation vector (rad -> mrad). **RMS EE (mm)** is the root-mean-square of the **Euclidean** TCP position error per timestep. **W1 effort (A)** is the 1D Wasserstein distance between aligned samples of `joint_current_*` per joint (equal-n sorting). Metrics omitted when `min(n_real, n_sim) < 2`. Phase-end table is **sim - real** on the **last** row of each phase.
21
+
22
+ ## Per-phase metrics
23
+
24
+ | ph | name | n_real | n_sim | RMSE joints (deg) | RMSE TCP pos (mm) | RMS EE L2 (mm) | RMSE rot (mrad) | W1 effort mean (A) |
25
+ |---:|---|---:|---:|---:|---:|---:|---:|---:|
26
+ | 0 | above_pick | 179 | 16 | 2.701 | 9.87 | 17.10 | 1897.18 | 0.5855 |
27
+ | 1 | descend | 376 | 33 | 1.325 | 7.96 | 13.79 | 3626.03 | 0.7107 |
28
+ | 2 | settle | 365 | 32 | 0.021 | 0.60 | 1.03 | 3625.95 | 0.7221 |
29
+ | 3 | close | 151 | 14 | 0.936 | 5.48 | 9.50 | 1156.66 | 0.9352 |
30
+ | 4 | lift | 357 | 31 | 3.155 | 12.80 | 22.17 | 1841.47 | 1.0952 |
31
+ | 5 | move_xy | 351 | 31 | 7.043 | 32.29 | 55.93 | 1949.25 | 0.8867 |
32
+ | 6 | lower | 410 | 36 | 0.079 | 1.10 | 1.90 | 1418.98 | 0.9540 |
33
+ | 7 | open | 150 | 14 | 0.758 | 4.37 | 7.57 | 3626.22 | 0.6060 |
34
+ | 8 | retract | 357 | 31 | 3.130 | 12.81 | 22.19 | 2286.79 | 0.7023 |
35
+
36
+ ## Pooled metrics (matched phases only)
37
+
38
+ | Metric | Value |
39
+ |---|---:|
40
+ | Joints (deg) | 2.979 |
41
+ | TCP position RMSE (mm, per-axis) | 13.26 |
42
+ | EE position RMS L2 (mm) | 24.34 |
43
+ | TCP rotvec (mrad) | 2556.38 |
44
+ | W1 effort mean (A) | 0.7903 |
45
+ | W1 effort per joint (A) | j0=0.2513, j1=1.2154, j2=1.5723, j3=0.6831, j4=0.4086, j5=0.6114 |
46
+
47
+ ## Phase-end anchor (sim - real)
48
+
49
+ | ph | d_tcp_x (m) | d_tcp_y (m) | d_tcp_z (m) | norm d_tcp (m) | max abs dq (deg) |
50
+ |---:|---:|---:|---:|---:|---:|
51
+ | 0 | 0.00034 | -0.00029 | -0.00038 | 0.00059 | 0.037 |
52
+ | 1 | 0.00041 | -0.00055 | -0.00078 | 0.00104 | 0.036 |
53
+ | 2 | 0.00042 | -0.00055 | -0.00077 | 0.00103 | 0.035 |
54
+ | 3 | 0.00106 | -0.00021 | -0.00054 | 0.00121 | 0.117 |
55
+ | 4 | 0.00029 | -0.00023 | -0.00045 | 0.00058 | 0.092 |
56
+ | 5 | 0.00128 | -0.00084 | -0.00147 | 0.00212 | 0.139 |
57
+ | 6 | 0.00124 | -0.00073 | -0.00114 | 0.00184 | 0.130 |
58
+ | 7 | 0.00019 | -0.00029 | -0.00055 | 0.00065 | 0.037 |
59
+ | 8 | -0.00008 | -0.00011 | -0.00015 | 0.00020 | 0.029 |
60
+
61
+ ## Suggested next edits (`pick_place.py`)
62
+
63
+ 1. No automatic rules fired; use per-phase tables and phase-end deltas to decide the next `pick_place.py` tweak.
64
+
65
+ ## Iteration loop
66
+
67
+ Re-run Isaac with updated `pick_place.py`, export a new sim CSV, then run:
68
+
69
+ ```bash
70
+ python sim_real_gap.py --real episode_29312353.csv --sim "episode (1).csv"
71
+ ```
72
+
73
+ Details: see `GAP_ITERATION.md` in this folder.
gap_reports/gap_05ffca40-49b5-4fc8-b1b1-0c5a463eafc8.md ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:25 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/05ffca40-49b5-4fc8-b1b1-0c5a463eafc8.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/05ffca40-49b5-4fc8-b1b1-0c5a463eafc8.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 1214 |
12
+ | Sim rows | 126 |
13
+ | Real episode_id | `05ffca40-49b5-4fc8-b1b1-0c5a463eafc8` |
14
+ | Sim episode_id | `05ffca40-49b5-4fc8-b1b1-0c5a463eafc8` |
15
+
16
+ ## Methodology
17
+
18
+ **Scope:** offline comparison of two CSV exports (real executed vs sim-planned/exported) with identical schema; not Isaac replay of real commands. **Kinematic** (joints, logged TCP) and **effort proxy** (`joint_current_*`) only.
19
+
20
+ Within each `task_phase`, time is normalized to [0, 1]. The shorter series is linearly resampled to `max(n_real, n_sim)` samples. RMSE is computed on `joint_*` (deg), TCP position (per-axis pooled, mm), TCP rotation vector (rad -> mrad). **RMS EE (mm)** is the root-mean-square of the **Euclidean** TCP position error per timestep. **W1 effort (A)** is the 1D Wasserstein distance between aligned samples of `joint_current_*` per joint (equal-n sorting). Metrics omitted when `min(n_real, n_sim) < 2`. Phase-end table is **sim - real** on the **last** row of each phase.
21
+
22
+ ## Per-phase metrics
23
+
24
+ | ph | name | n_real | n_sim | RMSE joints (deg) | RMSE TCP pos (mm) | RMS EE L2 (mm) | RMSE rot (mrad) | W1 effort mean (A) |
25
+ |---:|---|---:|---:|---:|---:|---:|---:|---:|
26
+ | 0 | above_pick | 163 | 16 | 4.954 | 15.49 | 26.83 | 1604.51 | 0.8240 |
27
+ | 1 | descend | 65 | 7 | 0.492 | 3.53 | 6.12 | 4.65 | 0.6470 |
28
+ | 2 | settle | 28 | 4 | 0.022 | 2.65 | 4.59 | 5.14 | 0.7281 |
29
+ | 3 | close | 381 | 38 | 0.118 | 2.18 | 3.78 | 6.60 | 1.2207 |
30
+ | 4 | lift | 85 | 9 | 0.773 | 4.13 | 7.14 | 6.09 | 1.2337 |
31
+ | 5 | move_xy | 162 | 16 | 4.691 | 15.99 | 27.69 | 71.46 | 1.0462 |
32
+ | 6 | lower | 56 | 6 | 0.253 | 2.14 | 3.70 | 8.03 | 1.0507 |
33
+ | 7 | open | 260 | 26 | 0.735 | 4.49 | 7.77 | 11.99 | 0.5635 |
34
+ | 8 | retract | 6 | 2 | 0.014 | 2.09 | 3.62 | 4.20 | 0.6049 |
35
+ | 9 | return | 8 | 2 | 0.015 | 2.09 | 3.62 | 4.21 | 0.5974 |
36
+
37
+ ## Pooled metrics (matched phases only)
38
+
39
+ | Metric | Value |
40
+ |---|---:|
41
+ | Joints (deg) | 2.191 |
42
+ | TCP position RMSE (mm, per-axis) | 7.55 |
43
+ | EE position RMS L2 (mm) | 14.94 |
44
+ | TCP rotvec (mrad) | 507.93 |
45
+ | W1 effort mean (A) | 0.9278 |
46
+ | W1 effort per joint (A) | j0=0.1809, j1=1.5226, j2=1.5886, j3=1.1452, j4=0.5052, j5=0.6244 |
47
+
48
+ ## Phase-end anchor (sim - real)
49
+
50
+ | ph | d_tcp_x (m) | d_tcp_y (m) | d_tcp_z (m) | norm d_tcp (m) | max abs dq (deg) |
51
+ |---:|---:|---:|---:|---:|---:|
52
+ | 0 | 0.00156 | -0.00390 | -0.00102 | 0.00433 | 0.039 |
53
+ | 1 | 0.00177 | -0.00408 | -0.00099 | 0.00456 | 0.045 |
54
+ | 2 | 0.00180 | -0.00409 | -0.00117 | 0.00462 | 0.047 |
55
+ | 3 | 0.00056 | -0.00367 | -0.00032 | 0.00372 | 0.202 |
56
+ | 4 | 0.00043 | -0.00342 | -0.00098 | 0.00358 | 0.180 |
57
+ | 5 | 0.00096 | -0.00273 | -0.00058 | 0.00295 | 0.298 |
58
+ | 6 | 0.00316 | -0.00027 | -0.00396 | 0.00508 | 0.624 |
59
+ | 7 | 0.00292 | -0.00212 | 0.00004 | 0.00361 | 0.027 |
60
+ | 8 | 0.00294 | -0.00212 | 0.00005 | 0.00362 | 0.026 |
61
+ | 9 | 0.00293 | -0.00211 | 0.00004 | 0.00362 | 0.029 |
62
+
63
+ ## Suggested next edits (`pick_place.py`)
64
+
65
+ 1. No automatic rules fired; use per-phase tables and phase-end deltas to decide the next `pick_place.py` tweak.
66
+
67
+ ## Iteration loop
68
+
69
+ Re-run Isaac with updated `pick_place.py`, export a new sim CSV, then run:
70
+
71
+ ```bash
72
+ python sim_real_gap.py --real episode_29312353.csv --sim "episode (1).csv"
73
+ ```
74
+
75
+ Details: see `GAP_ITERATION.md` in this folder.
gap_reports/gap_06019aff-361e-43fb-b5ee-044cb825b89c.md ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:25 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/06019aff-361e-43fb-b5ee-044cb825b89c.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/06019aff-361e-43fb-b5ee-044cb825b89c.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 1046 |
12
+ | Sim rows | 110 |
13
+ | Real episode_id | `06019aff-361e-43fb-b5ee-044cb825b89c` |
14
+ | Sim episode_id | `06019aff-361e-43fb-b5ee-044cb825b89c` |
15
+
16
+ ## Methodology
17
+
18
+ **Scope:** offline comparison of two CSV exports (real executed vs sim-planned/exported) with identical schema; not Isaac replay of real commands. **Kinematic** (joints, logged TCP) and **effort proxy** (`joint_current_*`) only.
19
+
20
+ Within each `task_phase`, time is normalized to [0, 1]. The shorter series is linearly resampled to `max(n_real, n_sim)` samples. RMSE is computed on `joint_*` (deg), TCP position (per-axis pooled, mm), TCP rotation vector (rad -> mrad). **RMS EE (mm)** is the root-mean-square of the **Euclidean** TCP position error per timestep. **W1 effort (A)** is the 1D Wasserstein distance between aligned samples of `joint_current_*` per joint (equal-n sorting). Metrics omitted when `min(n_real, n_sim) < 2`. Phase-end table is **sim - real** on the **last** row of each phase.
21
+
22
+ ## Per-phase metrics
23
+
24
+ | ph | name | n_real | n_sim | RMSE joints (deg) | RMSE TCP pos (mm) | RMS EE L2 (mm) | RMSE rot (mrad) | W1 effort mean (A) |
25
+ |---:|---|---:|---:|---:|---:|---:|---:|---:|
26
+ | 0 | above_pick | 127 | 13 | 2.257 | 11.16 | 19.32 | 645.57 | 0.7205 |
27
+ | 1 | descend | 79 | 8 | 0.689 | 3.83 | 6.64 | 4.80 | 0.6502 |
28
+ | 2 | settle | 22 | 3 | 0.034 | 2.75 | 4.76 | 5.28 | 0.6903 |
29
+ | 3 | close | 48 | 6 | 0.103 | 3.56 | 6.16 | 7.69 | 1.1510 |
30
+ | 4 | lift | 100 | 10 | 1.146 | 6.20 | 10.74 | 6.62 | 1.0782 |
31
+ | 5 | move_xy | 153 | 16 | 3.269 | 17.70 | 30.66 | 17.93 | 1.0326 |
32
+ | 6 | lower | 71 | 8 | 0.886 | 4.29 | 7.43 | 4.13 | 0.9791 |
33
+ | 7 | open | 99 | 10 | 0.017 | 2.14 | 3.71 | 4.61 | 0.6078 |
34
+ | 8 | retract | 67 | 8 | 0.746 | 3.69 | 6.40 | 3.93 | 0.6699 |
35
+ | 9 | return | 280 | 28 | 3.397 | 18.89 | 32.71 | 1125.45 | 0.7554 |
36
+
37
+ ## Pooled metrics (matched phases only)
38
+
39
+ | Metric | Value |
40
+ |---|---:|
41
+ | Joints (deg) | 1.745 |
42
+ | TCP position RMSE (mm, per-axis) | 9.51 |
43
+ | EE position RMS L2 (mm) | 22.22 |
44
+ | TCP rotvec (mrad) | 410.36 |
45
+ | W1 effort mean (A) | 0.8061 |
46
+ | W1 effort per joint (A) | j0=0.2381, j1=1.3596, j2=1.5627, j3=0.7934, j4=0.3197, j5=0.5631 |
47
+
48
+ ## Phase-end anchor (sim - real)
49
+
50
+ | ph | d_tcp_x (m) | d_tcp_y (m) | d_tcp_z (m) | norm d_tcp (m) | max abs dq (deg) |
51
+ |---:|---:|---:|---:|---:|---:|
52
+ | 0 | 0.00194 | -0.00386 | -0.00067 | 0.00437 | 0.036 |
53
+ | 1 | 0.00232 | -0.00410 | -0.00062 | 0.00475 | 0.041 |
54
+ | 2 | 0.00237 | -0.00407 | -0.00085 | 0.00479 | 0.050 |
55
+ | 3 | 0.00339 | -0.00497 | -0.00138 | 0.00617 | 0.176 |
56
+ | 4 | 0.00273 | -0.00467 | -0.00140 | 0.00559 | 0.147 |
57
+ | 5 | 0.00145 | -0.00352 | -0.00020 | 0.00381 | 0.076 |
58
+ | 6 | 0.00220 | -0.00310 | 0.00019 | 0.00381 | 0.049 |
59
+ | 7 | 0.00204 | -0.00309 | 0.00008 | 0.00371 | 0.035 |
60
+ | 8 | 0.00167 | -0.00332 | -0.00010 | 0.00372 | 0.054 |
61
+ | 9 | 0.00002 | -0.00009 | -0.00022 | 0.00023 | 0.034 |
62
+
63
+ ## Suggested next edits (`pick_place.py`)
64
+
65
+ 1. No automatic rules fired; use per-phase tables and phase-end deltas to decide the next `pick_place.py` tweak.
66
+
67
+ ## Iteration loop
68
+
69
+ Re-run Isaac with updated `pick_place.py`, export a new sim CSV, then run:
70
+
71
+ ```bash
72
+ python sim_real_gap.py --real episode_29312353.csv --sim "episode (1).csv"
73
+ ```
74
+
75
+ Details: see `GAP_ITERATION.md` in this folder.
gap_reports/gap_06037134-6a16-4b85-82a3-91c67718b75b.md ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:25 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/06037134-6a16-4b85-82a3-91c67718b75b.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/06037134-6a16-4b85-82a3-91c67718b75b.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 439 |
12
+ | Sim rows | 60 |
13
+ | Real episode_id | `06037134-6a16-4b85-82a3-91c67718b75b` |
14
+ | Sim episode_id | `06037134-6a16-4b85-82a3-91c67718b75b` |
15
+
16
+ ## Methodology
17
+
18
+ **Scope:** offline comparison of two CSV exports (real executed vs sim-planned/exported) with identical schema; not Isaac replay of real commands. **Kinematic** (joints, logged TCP) and **effort proxy** (`joint_current_*`) only.
19
+
20
+ Within each `task_phase`, time is normalized to [0, 1]. The shorter series is linearly resampled to `max(n_real, n_sim)` samples. RMSE is computed on `joint_*` (deg), TCP position (per-axis pooled, mm), TCP rotation vector (rad -> mrad). **RMS EE (mm)** is the root-mean-square of the **Euclidean** TCP position error per timestep. **W1 effort (A)** is the 1D Wasserstein distance between aligned samples of `joint_current_*` per joint (equal-n sorting). Metrics omitted when `min(n_real, n_sim) < 2`. Phase-end table is **sim - real** on the **last** row of each phase.
21
+
22
+ ## Per-phase metrics
23
+
24
+ | ph | name | n_real | n_sim | RMSE joints (deg) | RMSE TCP pos (mm) | RMS EE L2 (mm) | RMSE rot (mrad) | W1 effort mean (A) |
25
+ |---:|---|---:|---:|---:|---:|---:|---:|---:|
26
+ | 0 | above_pick | 229 | 23 | 2.378 | 10.45 | 18.10 | 935.23 | 0.7993 |
27
+ | 1 | descend | 210 | 21 | 0.022 | 0.49 | 0.84 | 2.08 | 0.7535 |
28
+
29
+ ## Pooled metrics (matched phases only)
30
+
31
+ | Metric | Value |
32
+ |---|---:|
33
+ | Joints (deg) | 1.682 |
34
+ | TCP position RMSE (mm, per-axis) | 7.40 |
35
+ | EE position RMS L2 (mm) | 13.08 |
36
+ | TCP rotvec (mrad) | 661.31 |
37
+ | W1 effort mean (A) | 0.7771 |
38
+ | W1 effort per joint (A) | j0=0.1431, j1=1.6698, j2=1.6783, j3=0.9325, j4=0.0951, j5=0.1438 |
39
+
40
+ ## Phase-end anchor (sim - real)
41
+
42
+ | ph | d_tcp_x (m) | d_tcp_y (m) | d_tcp_z (m) | norm d_tcp (m) | max abs dq (deg) |
43
+ |---:|---:|---:|---:|---:|---:|
44
+ | 0 | -0.00019 | -0.00054 | 0.00068 | 0.00089 | 0.040 |
45
+ | 1 | -0.00004 | -0.00051 | 0.00066 | 0.00083 | 0.041 |
46
+
47
+ ## Suggested next edits (`pick_place.py`)
48
+
49
+ 1. No automatic rules fired; use per-phase tables and phase-end deltas to decide the next `pick_place.py` tweak.
50
+
51
+ ## Iteration loop
52
+
53
+ Re-run Isaac with updated `pick_place.py`, export a new sim CSV, then run:
54
+
55
+ ```bash
56
+ python sim_real_gap.py --real episode_29312353.csv --sim "episode (1).csv"
57
+ ```
58
+
59
+ Details: see `GAP_ITERATION.md` in this folder.
gap_reports/gap_0620e44a-0a06-45a7-89da-3b9474e1fea9.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:25 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/0620e44a-0a06-45a7-89da-3b9474e1fea9.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/0620e44a-0a06-45a7-89da-3b9474e1fea9.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 2741 |
12
+ | Sim rows | 245 |
13
+ | Real episode_id | `0620e44a-0a06-45a7-89da-3b9474e1fea9` |
14
+ | Sim episode_id | `0620e44a-0a06-45a7-89da-3b9474e1fea9` |
15
+
16
+ ## Methodology
17
+
18
+ **Scope:** offline comparison of two CSV exports (real executed vs sim-planned/exported) with identical schema; not Isaac replay of real commands. **Kinematic** (joints, logged TCP) and **effort proxy** (`joint_current_*`) only.
19
+
20
+ Within each `task_phase`, time is normalized to [0, 1]. The shorter series is linearly resampled to `max(n_real, n_sim)` samples. RMSE is computed on `joint_*` (deg), TCP position (per-axis pooled, mm), TCP rotation vector (rad -> mrad). **RMS EE (mm)** is the root-mean-square of the **Euclidean** TCP position error per timestep. **W1 effort (A)** is the 1D Wasserstein distance between aligned samples of `joint_current_*` per joint (equal-n sorting). Metrics omitted when `min(n_real, n_sim) < 2`. Phase-end table is **sim - real** on the **last** row of each phase.
21
+
22
+ ## Per-phase metrics
23
+
24
+ | ph | name | n_real | n_sim | RMSE joints (deg) | RMSE TCP pos (mm) | RMS EE L2 (mm) | RMSE rot (mrad) | W1 effort mean (A) |
25
+ |---:|---|---:|---:|---:|---:|---:|---:|---:|
26
+ | 0 | above_pick | 256 | 23 | 3.311 | 12.15 | 21.04 | 1962.63 | 0.5675 |
27
+ | 1 | descend | 297 | 26 | 0.707 | 4.33 | 7.49 | 3625.92 | 0.7269 |
28
+ | 2 | settle | 350 | 31 | 0.025 | 0.68 | 1.18 | 3552.70 | 0.6473 |
29
+ | 3 | close | 109 | 10 | 0.551 | 3.44 | 5.96 | 1411.24 | 0.9340 |
30
+ | 4 | lift | 417 | 37 | 4.027 | 16.78 | 29.07 | 1831.54 | 1.0633 |
31
+ | 5 | move_xy | 398 | 35 | 7.301 | 31.46 | 54.48 | 2199.35 | 0.9013 |
32
+ | 6 | lower | 388 | 34 | 0.087 | 1.28 | 2.23 | 1925.84 | 0.9048 |
33
+ | 7 | open | 109 | 10 | 0.553 | 3.29 | 5.69 | 3626.21 | 0.5715 |
34
+ | 8 | retract | 417 | 37 | 3.864 | 16.03 | 27.77 | 2252.81 | 0.6815 |
35
+
36
+ ## Pooled metrics (matched phases only)
37
+
38
+ | Metric | Value |
39
+ |---|---:|
40
+ | Joints (deg) | 3.275 |
41
+ | TCP position RMSE (mm, per-axis) | 13.82 |
42
+ | EE position RMS L2 (mm) | 26.98 |
43
+ | TCP rotvec (mrad) | 2619.11 |
44
+ | W1 effort mean (A) | 0.7803 |
45
+ | W1 effort per joint (A) | j0=0.2579, j1=1.1443, j2=1.4869, j3=0.7262, j4=0.4514, j5=0.6151 |
46
+
47
+ ## Phase-end anchor (sim - real)
48
+
49
+ | ph | d_tcp_x (m) | d_tcp_y (m) | d_tcp_z (m) | norm d_tcp (m) | max abs dq (deg) |
50
+ |---:|---:|---:|---:|---:|---:|
51
+ | 0 | 0.00069 | -0.00032 | -0.00061 | 0.00098 | 0.041 |
52
+ | 1 | 0.00066 | -0.00056 | -0.00071 | 0.00112 | 0.030 |
53
+ | 2 | 0.00067 | -0.00057 | -0.00075 | 0.00116 | 0.038 |
54
+ | 3 | 0.00099 | -0.00047 | -0.00048 | 0.00120 | 0.111 |
55
+ | 4 | 0.00019 | -0.00013 | -0.00005 | 0.00023 | 0.090 |
56
+ | 5 | 0.00136 | -0.00070 | -0.00097 | 0.00181 | 0.106 |
57
+ | 6 | 0.00139 | -0.00069 | -0.00214 | 0.00264 | 0.198 |
58
+ | 7 | 0.00047 | -0.00030 | -0.00064 | 0.00085 | 0.044 |
59
+ | 8 | -0.00004 | -0.00008 | -0.00013 | 0.00016 | 0.026 |
60
+
61
+ ## Suggested next edits (`pick_place.py`)
62
+
63
+ 1. No automatic rules fired; use per-phase tables and phase-end deltas to decide the next `pick_place.py` tweak.
64
+
65
+ ## Iteration loop
66
+
67
+ Re-run Isaac with updated `pick_place.py`, export a new sim CSV, then run:
68
+
69
+ ```bash
70
+ python sim_real_gap.py --real episode_29312353.csv --sim "episode (1).csv"
71
+ ```
72
+
73
+ Details: see `GAP_ITERATION.md` in this folder.
gap_reports/gap_0634b817-1453-43c6-ac02-f844dc07efd3.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:25 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/0634b817-1453-43c6-ac02-f844dc07efd3.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/0634b817-1453-43c6-ac02-f844dc07efd3.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 2815 |
12
+ | Sim rows | 250 |
13
+ | Real episode_id | `0634b817-1453-43c6-ac02-f844dc07efd3` |
14
+ | Sim episode_id | `0634b817-1453-43c6-ac02-f844dc07efd3` |
15
+
16
+ ## Methodology
17
+
18
+ **Scope:** offline comparison of two CSV exports (real executed vs sim-planned/exported) with identical schema; not Isaac replay of real commands. **Kinematic** (joints, logged TCP) and **effort proxy** (`joint_current_*`) only.
19
+
20
+ Within each `task_phase`, time is normalized to [0, 1]. The shorter series is linearly resampled to `max(n_real, n_sim)` samples. RMSE is computed on `joint_*` (deg), TCP position (per-axis pooled, mm), TCP rotation vector (rad -> mrad). **RMS EE (mm)** is the root-mean-square of the **Euclidean** TCP position error per timestep. **W1 effort (A)** is the 1D Wasserstein distance between aligned samples of `joint_current_*` per joint (equal-n sorting). Metrics omitted when `min(n_real, n_sim) < 2`. Phase-end table is **sim - real** on the **last** row of each phase.
21
+
22
+ ## Per-phase metrics
23
+
24
+ | ph | name | n_real | n_sim | RMSE joints (deg) | RMSE TCP pos (mm) | RMS EE L2 (mm) | RMSE rot (mrad) | W1 effort mean (A) |
25
+ |---:|---|---:|---:|---:|---:|---:|---:|---:|
26
+ | 0 | above_pick | 197 | 18 | 2.843 | 12.88 | 22.31 | 1932.93 | 0.5831 |
27
+ | 1 | descend | 338 | 30 | 1.228 | 7.88 | 13.65 | 3625.37 | 0.7525 |
28
+ | 2 | settle | 360 | 32 | 0.023 | 0.76 | 1.32 | 3625.26 | 0.7305 |
29
+ | 3 | close | 169 | 15 | 0.943 | 6.08 | 10.52 | 3450.35 | 0.9412 |
30
+ | 4 | lift | 421 | 37 | 3.132 | 14.23 | 24.65 | 2231.28 | 1.1010 |
31
+ | 5 | move_xy | 358 | 31 | 6.162 | 31.58 | 54.71 | 2607.91 | 0.8892 |
32
+ | 6 | lower | 380 | 33 | 0.088 | 1.39 | 2.40 | 3549.72 | 1.0208 |
33
+ | 7 | open | 168 | 15 | 0.926 | 5.89 | 10.20 | 3625.50 | 0.6505 |
34
+ | 8 | retract | 424 | 37 | 3.193 | 14.76 | 25.57 | 2335.75 | 0.7246 |
35
+
36
+ ## Pooled metrics (matched phases only)
37
+
38
+ | Metric | Value |
39
+ |---|---:|
40
+ | Joints (deg) | 2.775 |
41
+ | TCP position RMSE (mm, per-axis) | 13.83 |
42
+ | EE position RMS L2 (mm) | 25.32 |
43
+ | TCP rotvec (mrad) | 3071.51 |
44
+ | W1 effort mean (A) | 0.8244 |
45
+ | W1 effort per joint (A) | j0=0.2423, j1=1.3681, j2=1.6284, j3=0.7673, j4=0.3239, j5=0.6166 |
46
+
47
+ ## Phase-end anchor (sim - real)
48
+
49
+ | ph | d_tcp_x (m) | d_tcp_y (m) | d_tcp_z (m) | norm d_tcp (m) | max abs dq (deg) |
50
+ |---:|---:|---:|---:|---:|---:|
51
+ | 0 | 0.00059 | -0.00024 | -0.00064 | 0.00090 | 0.038 |
52
+ | 1 | 0.00060 | -0.00064 | -0.00097 | 0.00131 | 0.045 |
53
+ | 2 | 0.00063 | -0.00068 | -0.00094 | 0.00132 | 0.045 |
54
+ | 3 | 0.00128 | -0.00047 | -0.00139 | 0.00194 | 0.136 |
55
+ | 4 | 0.00009 | -0.00026 | -0.00030 | 0.00041 | 0.057 |
56
+ | 5 | 0.00192 | -0.00100 | -0.00244 | 0.00327 | 0.179 |
57
+ | 6 | 0.00154 | -0.00087 | -0.00185 | 0.00256 | 0.118 |
58
+ | 7 | 0.00047 | -0.00038 | -0.00076 | 0.00097 | 0.048 |
59
+ | 8 | -0.00007 | -0.00010 | -0.00012 | 0.00017 | 0.021 |
60
+
61
+ ## Suggested next edits (`pick_place.py`)
62
+
63
+ 1. No automatic rules fired; use per-phase tables and phase-end deltas to decide the next `pick_place.py` tweak.
64
+
65
+ ## Iteration loop
66
+
67
+ Re-run Isaac with updated `pick_place.py`, export a new sim CSV, then run:
68
+
69
+ ```bash
70
+ python sim_real_gap.py --real episode_29312353.csv --sim "episode (1).csv"
71
+ ```
72
+
73
+ Details: see `GAP_ITERATION.md` in this folder.
gap_reports/gap_0639c663-4f35-4a9c-9e04-11d696b46aa4.md ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:25 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/0639c663-4f35-4a9c-9e04-11d696b46aa4.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/0639c663-4f35-4a9c-9e04-11d696b46aa4.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 1430 |
12
+ | Sim rows | 149 |
13
+ | Real episode_id | `0639c663-4f35-4a9c-9e04-11d696b46aa4` |
14
+ | Sim episode_id | `0639c663-4f35-4a9c-9e04-11d696b46aa4` |
15
+
16
+ ## Methodology
17
+
18
+ **Scope:** offline comparison of two CSV exports (real executed vs sim-planned/exported) with identical schema; not Isaac replay of real commands. **Kinematic** (joints, logged TCP) and **effort proxy** (`joint_current_*`) only.
19
+
20
+ Within each `task_phase`, time is normalized to [0, 1]. The shorter series is linearly resampled to `max(n_real, n_sim)` samples. RMSE is computed on `joint_*` (deg), TCP position (per-axis pooled, mm), TCP rotation vector (rad -> mrad). **RMS EE (mm)** is the root-mean-square of the **Euclidean** TCP position error per timestep. **W1 effort (A)** is the 1D Wasserstein distance between aligned samples of `joint_current_*` per joint (equal-n sorting). Metrics omitted when `min(n_real, n_sim) < 2`. Phase-end table is **sim - real** on the **last** row of each phase.
21
+
22
+ ## Per-phase metrics
23
+
24
+ | ph | name | n_real | n_sim | RMSE joints (deg) | RMSE TCP pos (mm) | RMS EE L2 (mm) | RMSE rot (mrad) | W1 effort mean (A) |
25
+ |---:|---|---:|---:|---:|---:|---:|---:|---:|
26
+ | 0 | above_pick | 122 | 13 | 3.229 | 14.28 | 24.74 | 895.66 | 0.6675 |
27
+ | 1 | descend | 59 | 7 | 0.181 | 2.77 | 4.80 | 4.58 | 0.6785 |
28
+ | 2 | settle | 38 | 5 | 0.023 | 2.69 | 4.66 | 4.88 | 0.7314 |
29
+ | 3 | close | 381 | 37 | 0.124 | 3.00 | 5.20 | 9.06 | 1.1208 |
30
+ | 4 | lift | 60 | 7 | 0.342 | 3.30 | 5.72 | 8.72 | 1.1451 |
31
+ | 5 | move_xy | 111 | 12 | 1.913 | 9.21 | 15.96 | 16.00 | 1.3047 |
32
+ | 6 | lower | 60 | 7 | 0.236 | 3.23 | 5.59 | 8.80 | 1.0949 |
33
+ | 7 | open | 350 | 35 | 0.020 | 2.79 | 4.83 | 4.90 | 0.6509 |
34
+ | 8 | retract | 59 | 7 | 0.455 | 3.19 | 5.53 | 4.50 | 0.6891 |
35
+ | 9 | return | 190 | 19 | 2.356 | 11.84 | 20.50 | 283.52 | 0.6857 |
36
+
37
+ ## Pooled metrics (matched phases only)
38
+
39
+ | Metric | Value |
40
+ |---|---:|
41
+ | Joints (deg) | 1.417 |
42
+ | TCP position RMSE (mm, per-axis) | 7.01 |
43
+ | EE position RMS L2 (mm) | 12.09 |
44
+ | TCP rotvec (mrad) | 297.18 |
45
+ | W1 effort mean (A) | 0.8512 |
46
+ | W1 effort per joint (A) | j0=0.1086, j1=1.6178, j2=1.5709, j3=0.8247, j4=0.4523, j5=0.5331 |
47
+
48
+ ## Phase-end anchor (sim - real)
49
+
50
+ | ph | d_tcp_x (m) | d_tcp_y (m) | d_tcp_z (m) | norm d_tcp (m) | max abs dq (deg) |
51
+ |---:|---:|---:|---:|---:|---:|
52
+ | 0 | 0.00207 | -0.00386 | -0.00017 | 0.00439 | 0.028 |
53
+ | 1 | 0.00252 | -0.00390 | -0.00028 | 0.00465 | 0.050 |
54
+ | 2 | 0.00248 | -0.00393 | -0.00045 | 0.00467 | 0.051 |
55
+ | 3 | 0.00314 | -0.00338 | -0.00218 | 0.00510 | 0.187 |
56
+ | 4 | 0.00273 | -0.00371 | -0.00243 | 0.00521 | 0.204 |
57
+ | 5 | 0.00269 | -0.00374 | -0.00254 | 0.00526 | 0.268 |
58
+ | 6 | 0.00346 | -0.00352 | -0.00297 | 0.00576 | 0.283 |
59
+ | 7 | 0.00231 | -0.00421 | -0.00061 | 0.00484 | 0.039 |
60
+ | 8 | 0.00194 | -0.00405 | -0.00083 | 0.00457 | 0.061 |
61
+ | 9 | -0.00014 | -0.00015 | -0.00027 | 0.00034 | 0.033 |
62
+
63
+ ## Suggested next edits (`pick_place.py`)
64
+
65
+ 1. No automatic rules fired; use per-phase tables and phase-end deltas to decide the next `pick_place.py` tweak.
66
+
67
+ ## Iteration loop
68
+
69
+ Re-run Isaac with updated `pick_place.py`, export a new sim CSV, then run:
70
+
71
+ ```bash
72
+ python sim_real_gap.py --real episode_29312353.csv --sim "episode (1).csv"
73
+ ```
74
+
75
+ Details: see `GAP_ITERATION.md` in this folder.
gap_reports/gap_0654c723-5a8c-4812-a51b-0e3362eb809b.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:25 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/0654c723-5a8c-4812-a51b-0e3362eb809b.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/0654c723-5a8c-4812-a51b-0e3362eb809b.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 2820 |
12
+ | Sim rows | 250 |
13
+ | Real episode_id | `0654c723-5a8c-4812-a51b-0e3362eb809b` |
14
+ | Sim episode_id | `0654c723-5a8c-4812-a51b-0e3362eb809b` |
15
+
16
+ ## Methodology
17
+
18
+ **Scope:** offline comparison of two CSV exports (real executed vs sim-planned/exported) with identical schema; not Isaac replay of real commands. **Kinematic** (joints, logged TCP) and **effort proxy** (`joint_current_*`) only.
19
+
20
+ Within each `task_phase`, time is normalized to [0, 1]. The shorter series is linearly resampled to `max(n_real, n_sim)` samples. RMSE is computed on `joint_*` (deg), TCP position (per-axis pooled, mm), TCP rotation vector (rad -> mrad). **RMS EE (mm)** is the root-mean-square of the **Euclidean** TCP position error per timestep. **W1 effort (A)** is the 1D Wasserstein distance between aligned samples of `joint_current_*` per joint (equal-n sorting). Metrics omitted when `min(n_real, n_sim) < 2`. Phase-end table is **sim - real** on the **last** row of each phase.
21
+
22
+ ## Per-phase metrics
23
+
24
+ | ph | name | n_real | n_sim | RMSE joints (deg) | RMSE TCP pos (mm) | RMS EE L2 (mm) | RMSE rot (mrad) | W1 effort mean (A) |
25
+ |---:|---|---:|---:|---:|---:|---:|---:|---:|
26
+ | 0 | above_pick | 198 | 18 | 2.287 | 12.41 | 21.50 | 1944.95 | 0.6192 |
27
+ | 1 | descend | 449 | 39 | 1.226 | 8.42 | 14.59 | 3624.71 | 0.8021 |
28
+ | 2 | settle | 368 | 32 | 0.027 | 0.97 | 1.67 | 3624.53 | 0.7575 |
29
+ | 3 | close | 183 | 16 | 0.846 | 5.88 | 10.19 | 3625.31 | 1.0324 |
30
+ | 4 | lift | 327 | 29 | 2.377 | 13.62 | 23.59 | 2254.77 | 1.1765 |
31
+ | 5 | move_xy | 380 | 33 | 5.752 | 34.87 | 60.39 | 2862.61 | 0.9793 |
32
+ | 6 | lower | 408 | 36 | 0.099 | 1.74 | 3.01 | 3555.36 | 1.1384 |
33
+ | 7 | open | 182 | 16 | 0.842 | 5.80 | 10.04 | 3624.76 | 0.7402 |
34
+ | 8 | retract | 325 | 29 | 2.470 | 14.19 | 24.57 | 2429.54 | 0.7489 |
35
+
36
+ ## Pooled metrics (matched phases only)
37
+
38
+ | Metric | Value |
39
+ |---|---:|
40
+ | Joints (deg) | 2.427 |
41
+ | TCP position RMSE (mm, per-axis) | 14.53 |
42
+ | EE position RMS L2 (mm) | 26.59 |
43
+ | TCP rotvec (mrad) | 3129.82 |
44
+ | W1 effort mean (A) | 0.8792 |
45
+ | W1 effort per joint (A) | j0=0.2481, j1=1.6247, j2=1.7080, j3=0.7680, j4=0.3234, j5=0.6033 |
46
+
47
+ ## Phase-end anchor (sim - real)
48
+
49
+ | ph | d_tcp_x (m) | d_tcp_y (m) | d_tcp_z (m) | norm d_tcp (m) | max abs dq (deg) |
50
+ |---:|---:|---:|---:|---:|---:|
51
+ | 0 | 0.00072 | -0.00042 | -0.00073 | 0.00111 | 0.029 |
52
+ | 1 | 0.00076 | -0.00086 | -0.00119 | 0.00165 | 0.055 |
53
+ | 2 | 0.00077 | -0.00086 | -0.00118 | 0.00165 | 0.054 |
54
+ | 3 | 0.00182 | -0.00033 | -0.00063 | 0.00195 | 0.138 |
55
+ | 4 | 0.00032 | 0.00019 | 0.00005 | 0.00038 | 0.072 |
56
+ | 5 | 0.00205 | -0.00104 | -0.00075 | 0.00242 | 0.161 |
57
+ | 6 | 0.00171 | -0.00107 | -0.00149 | 0.00250 | 0.112 |
58
+ | 7 | 0.00062 | -0.00052 | -0.00103 | 0.00130 | 0.061 |
59
+ | 8 | -0.00011 | -0.00017 | -0.00019 | 0.00028 | 0.031 |
60
+
61
+ ## Suggested next edits (`pick_place.py`)
62
+
63
+ 1. No automatic rules fired; use per-phase tables and phase-end deltas to decide the next `pick_place.py` tweak.
64
+
65
+ ## Iteration loop
66
+
67
+ Re-run Isaac with updated `pick_place.py`, export a new sim CSV, then run:
68
+
69
+ ```bash
70
+ python sim_real_gap.py --real episode_29312353.csv --sim "episode (1).csv"
71
+ ```
72
+
73
+ Details: see `GAP_ITERATION.md` in this folder.
gap_reports/gap_066d7cab-b45b-40f2-9f49-5ed8f010e2e1.md ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:25 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/066d7cab-b45b-40f2-9f49-5ed8f010e2e1.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/066d7cab-b45b-40f2-9f49-5ed8f010e2e1.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 463 |
12
+ | Sim rows | 62 |
13
+ | Real episode_id | `066d7cab-b45b-40f2-9f49-5ed8f010e2e1` |
14
+ | Sim episode_id | `066d7cab-b45b-40f2-9f49-5ed8f010e2e1` |
15
+
16
+ ## Methodology
17
+
18
+ **Scope:** offline comparison of two CSV exports (real executed vs sim-planned/exported) with identical schema; not Isaac replay of real commands. **Kinematic** (joints, logged TCP) and **effort proxy** (`joint_current_*`) only.
19
+
20
+ Within each `task_phase`, time is normalized to [0, 1]. The shorter series is linearly resampled to `max(n_real, n_sim)` samples. RMSE is computed on `joint_*` (deg), TCP position (per-axis pooled, mm), TCP rotation vector (rad -> mrad). **RMS EE (mm)** is the root-mean-square of the **Euclidean** TCP position error per timestep. **W1 effort (A)** is the 1D Wasserstein distance between aligned samples of `joint_current_*` per joint (equal-n sorting). Metrics omitted when `min(n_real, n_sim) < 2`. Phase-end table is **sim - real** on the **last** row of each phase.
21
+
22
+ ## Per-phase metrics
23
+
24
+ | ph | name | n_real | n_sim | RMSE joints (deg) | RMSE TCP pos (mm) | RMS EE L2 (mm) | RMSE rot (mrad) | W1 effort mean (A) |
25
+ |---:|---|---:|---:|---:|---:|---:|---:|---:|
26
+ | 0 | above_pick | 254 | 25 | 2.582 | 11.07 | 19.17 | 6.93 | 0.8275 |
27
+ | 1 | descend | 209 | 21 | 0.027 | 0.63 | 1.08 | 2.19 | 0.8232 |
28
+
29
+ ## Pooled metrics (matched phases only)
30
+
31
+ | Metric | Value |
32
+ |---|---:|
33
+ | Joints (deg) | 1.826 |
34
+ | TCP position RMSE (mm, per-axis) | 7.84 |
35
+ | EE position RMS L2 (mm) | 14.22 |
36
+ | TCP rotvec (mrad) | 5.14 |
37
+ | W1 effort mean (A) | 0.8244 |
38
+ | W1 effort per joint (A) | j0=0.1606, j1=1.8589, j2=1.8358, j3=0.8865, j4=0.0815, j5=0.1230 |
39
+
40
+ ## Phase-end anchor (sim - real)
41
+
42
+ | ph | d_tcp_x (m) | d_tcp_y (m) | d_tcp_z (m) | norm d_tcp (m) | max abs dq (deg) |
43
+ |---:|---:|---:|---:|---:|---:|
44
+ | 0 | -0.00014 | -0.00086 | 0.00077 | 0.00117 | 0.048 |
45
+ | 1 | 0.00010 | -0.00089 | 0.00063 | 0.00109 | 0.046 |
46
+
47
+ ## Suggested next edits (`pick_place.py`)
48
+
49
+ 1. No automatic rules fired; use per-phase tables and phase-end deltas to decide the next `pick_place.py` tweak.
50
+
51
+ ## Iteration loop
52
+
53
+ Re-run Isaac with updated `pick_place.py`, export a new sim CSV, then run:
54
+
55
+ ```bash
56
+ python sim_real_gap.py --real episode_29312353.csv --sim "episode (1).csv"
57
+ ```
58
+
59
+ Details: see `GAP_ITERATION.md` in this folder.
gap_reports/gap_067a6703-e46d-456a-8e47-428b917bec49.md ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:25 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/067a6703-e46d-456a-8e47-428b917bec49.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/067a6703-e46d-456a-8e47-428b917bec49.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 502 |
12
+ | Sim rows | 66 |
13
+ | Real episode_id | `067a6703-e46d-456a-8e47-428b917bec49` |
14
+ | Sim episode_id | `067a6703-e46d-456a-8e47-428b917bec49` |
15
+
16
+ ## Methodology
17
+
18
+ **Scope:** offline comparison of two CSV exports (real executed vs sim-planned/exported) with identical schema; not Isaac replay of real commands. **Kinematic** (joints, logged TCP) and **effort proxy** (`joint_current_*`) only.
19
+
20
+ Within each `task_phase`, time is normalized to [0, 1]. The shorter series is linearly resampled to `max(n_real, n_sim)` samples. RMSE is computed on `joint_*` (deg), TCP position (per-axis pooled, mm), TCP rotation vector (rad -> mrad). **RMS EE (mm)** is the root-mean-square of the **Euclidean** TCP position error per timestep. **W1 effort (A)** is the 1D Wasserstein distance between aligned samples of `joint_current_*` per joint (equal-n sorting). Metrics omitted when `min(n_real, n_sim) < 2`. Phase-end table is **sim - real** on the **last** row of each phase.
21
+
22
+ ## Per-phase metrics
23
+
24
+ | ph | name | n_real | n_sim | RMSE joints (deg) | RMSE TCP pos (mm) | RMS EE L2 (mm) | RMSE rot (mrad) | W1 effort mean (A) |
25
+ |---:|---|---:|---:|---:|---:|---:|---:|---:|
26
+ | 0 | above_pick | 293 | 29 | 1.712 | 6.88 | 11.92 | 3.79 | 0.7684 |
27
+ | 1 | descend | 209 | 21 | 0.024 | 0.45 | 0.77 | 2.19 | 0.7690 |
28
+
29
+ ## Pooled metrics (matched phases only)
30
+
31
+ | Metric | Value |
32
+ |---|---:|
33
+ | Joints (deg) | 1.211 |
34
+ | TCP position RMSE (mm, per-axis) | 4.88 |
35
+ | EE position RMS L2 (mm) | 9.12 |
36
+ | TCP rotvec (mrad) | 3.09 |
37
+ | W1 effort mean (A) | 0.7685 |
38
+ | W1 effort per joint (A) | j0=0.1262, j1=1.6405, j2=1.7561, j3=0.8523, j4=0.1318, j5=0.1042 |
39
+
40
+ ## Phase-end anchor (sim - real)
41
+
42
+ | ph | d_tcp_x (m) | d_tcp_y (m) | d_tcp_z (m) | norm d_tcp (m) | max abs dq (deg) |
43
+ |---:|---:|---:|---:|---:|---:|
44
+ | 0 | 0.00016 | -0.00024 | 0.00071 | 0.00077 | 0.039 |
45
+ | 1 | 0.00041 | -0.00025 | 0.00066 | 0.00082 | 0.041 |
46
+
47
+ ## Suggested next edits (`pick_place.py`)
48
+
49
+ 1. No automatic rules fired; use per-phase tables and phase-end deltas to decide the next `pick_place.py` tweak.
50
+
51
+ ## Iteration loop
52
+
53
+ Re-run Isaac with updated `pick_place.py`, export a new sim CSV, then run:
54
+
55
+ ```bash
56
+ python sim_real_gap.py --real episode_29312353.csv --sim "episode (1).csv"
57
+ ```
58
+
59
+ Details: see `GAP_ITERATION.md` in this folder.
gap_reports/gap_068b4040-37c4-4448-b59d-e1a40a2b2c38.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:25 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/068b4040-37c4-4448-b59d-e1a40a2b2c38.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/068b4040-37c4-4448-b59d-e1a40a2b2c38.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 2355 |
12
+ | Sim rows | 210 |
13
+ | Real episode_id | `068b4040-37c4-4448-b59d-e1a40a2b2c38` |
14
+ | Sim episode_id | `068b4040-37c4-4448-b59d-e1a40a2b2c38` |
15
+
16
+ ## Methodology
17
+
18
+ **Scope:** offline comparison of two CSV exports (real executed vs sim-planned/exported) with identical schema; not Isaac replay of real commands. **Kinematic** (joints, logged TCP) and **effort proxy** (`joint_current_*`) only.
19
+
20
+ Within each `task_phase`, time is normalized to [0, 1]. The shorter series is linearly resampled to `max(n_real, n_sim)` samples. RMSE is computed on `joint_*` (deg), TCP position (per-axis pooled, mm), TCP rotation vector (rad -> mrad). **RMS EE (mm)** is the root-mean-square of the **Euclidean** TCP position error per timestep. **W1 effort (A)** is the 1D Wasserstein distance between aligned samples of `joint_current_*` per joint (equal-n sorting). Metrics omitted when `min(n_real, n_sim) < 2`. Phase-end table is **sim - real** on the **last** row of each phase.
21
+
22
+ ## Per-phase metrics
23
+
24
+ | ph | name | n_real | n_sim | RMSE joints (deg) | RMSE TCP pos (mm) | RMS EE L2 (mm) | RMSE rot (mrad) | W1 effort mean (A) |
25
+ |---:|---|---:|---:|---:|---:|---:|---:|---:|
26
+ | 0 | above_pick | 184 | 17 | 2.140 | 10.05 | 17.40 | 2.71 | 0.5639 |
27
+ | 1 | descend | 258 | 23 | 0.733 | 4.95 | 8.57 | 3.87 | 0.7431 |
28
+ | 2 | settle | 366 | 32 | 0.026 | 0.91 | 1.58 | 3.98 | 0.6759 |
29
+ | 3 | close | 112 | 10 | 0.461 | 3.28 | 5.67 | 6.17 | 1.0185 |
30
+ | 4 | lift | 305 | 27 | 2.385 | 12.37 | 21.43 | 4.16 | 1.0876 |
31
+ | 5 | move_xy | 334 | 29 | 4.983 | 28.23 | 48.90 | 4.76 | 0.9142 |
32
+ | 6 | lower | 379 | 33 | 0.091 | 1.55 | 2.69 | 6.31 | 0.9921 |
33
+ | 7 | open | 112 | 10 | 0.470 | 3.18 | 5.51 | 3.92 | 0.6516 |
34
+ | 8 | retract | 305 | 27 | 2.384 | 12.34 | 21.37 | 2.87 | 0.7070 |
35
+
36
+ ## Pooled metrics (matched phases only)
37
+
38
+ | Metric | Value |
39
+ |---|---:|
40
+ | Joints (deg) | 2.154 |
41
+ | TCP position RMSE (mm, per-axis) | 11.79 |
42
+ | EE position RMS L2 (mm) | 22.23 |
43
+ | TCP rotvec (mrad) | 4.47 |
44
+ | W1 effort mean (A) | 0.7978 |
45
+ | W1 effort per joint (A) | j0=0.2595, j1=1.3408, j2=1.4589, j3=0.6582, j4=0.4599, j5=0.6097 |
46
+
47
+ ## Phase-end anchor (sim - real)
48
+
49
+ | ph | d_tcp_x (m) | d_tcp_y (m) | d_tcp_z (m) | norm d_tcp (m) | max abs dq (deg) |
50
+ |---:|---:|---:|---:|---:|---:|
51
+ | 0 | 0.00076 | -0.00077 | -0.00071 | 0.00129 | 0.032 |
52
+ | 1 | 0.00071 | -0.00100 | -0.00103 | 0.00160 | 0.048 |
53
+ | 2 | 0.00068 | -0.00099 | -0.00098 | 0.00155 | 0.043 |
54
+ | 3 | 0.00108 | -0.00099 | -0.00165 | 0.00221 | 0.120 |
55
+ | 4 | 0.00060 | -0.00003 | -0.00018 | 0.00062 | 0.173 |
56
+ | 5 | 0.00186 | -0.00122 | -0.00147 | 0.00267 | 0.160 |
57
+ | 6 | 0.00190 | -0.00106 | -0.00042 | 0.00221 | 0.151 |
58
+ | 7 | 0.00050 | -0.00083 | -0.00084 | 0.00128 | 0.043 |
59
+ | 8 | -0.00013 | -0.00018 | -0.00020 | 0.00030 | 0.032 |
60
+
61
+ ## Suggested next edits (`pick_place.py`)
62
+
63
+ 1. No automatic rules fired; use per-phase tables and phase-end deltas to decide the next `pick_place.py` tweak.
64
+
65
+ ## Iteration loop
66
+
67
+ Re-run Isaac with updated `pick_place.py`, export a new sim CSV, then run:
68
+
69
+ ```bash
70
+ python sim_real_gap.py --real episode_29312353.csv --sim "episode (1).csv"
71
+ ```
72
+
73
+ Details: see `GAP_ITERATION.md` in this folder.
gap_reports/gap_06bc3d49-3bb1-46a9-a160-d800ec20229c.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:25 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/06bc3d49-3bb1-46a9-a160-d800ec20229c.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/06bc3d49-3bb1-46a9-a160-d800ec20229c.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 2710 |
12
+ | Sim rows | 241 |
13
+ | Real episode_id | `06bc3d49-3bb1-46a9-a160-d800ec20229c` |
14
+ | Sim episode_id | `06bc3d49-3bb1-46a9-a160-d800ec20229c` |
15
+
16
+ ## Methodology
17
+
18
+ **Scope:** offline comparison of two CSV exports (real executed vs sim-planned/exported) with identical schema; not Isaac replay of real commands. **Kinematic** (joints, logged TCP) and **effort proxy** (`joint_current_*`) only.
19
+
20
+ Within each `task_phase`, time is normalized to [0, 1]. The shorter series is linearly resampled to `max(n_real, n_sim)` samples. RMSE is computed on `joint_*` (deg), TCP position (per-axis pooled, mm), TCP rotation vector (rad -> mrad). **RMS EE (mm)** is the root-mean-square of the **Euclidean** TCP position error per timestep. **W1 effort (A)** is the 1D Wasserstein distance between aligned samples of `joint_current_*` per joint (equal-n sorting). Metrics omitted when `min(n_real, n_sim) < 2`. Phase-end table is **sim - real** on the **last** row of each phase.
21
+
22
+ ## Per-phase metrics
23
+
24
+ | ph | name | n_real | n_sim | RMSE joints (deg) | RMSE TCP pos (mm) | RMS EE L2 (mm) | RMSE rot (mrad) | W1 effort mean (A) |
25
+ |---:|---|---:|---:|---:|---:|---:|---:|---:|
26
+ | 0 | above_pick | 207 | 19 | 2.675 | 10.81 | 18.72 | 1851.98 | 0.5713 |
27
+ | 1 | descend | 333 | 29 | 0.551 | 3.39 | 5.87 | 3625.99 | 0.6913 |
28
+ | 2 | settle | 352 | 31 | 0.022 | 0.60 | 1.04 | 3625.97 | 0.6801 |
29
+ | 3 | close | 121 | 11 | 0.720 | 4.32 | 7.48 | 1167.30 | 0.9199 |
30
+ | 4 | lift | 414 | 36 | 3.313 | 13.61 | 23.58 | 2069.86 | 1.1079 |
31
+ | 5 | move_xy | 366 | 32 | 6.636 | 29.99 | 51.94 | 2061.23 | 0.8686 |
32
+ | 6 | lower | 386 | 34 | 0.077 | 1.06 | 1.84 | 1409.22 | 0.9606 |
33
+ | 7 | open | 118 | 11 | 0.630 | 3.76 | 6.52 | 3626.23 | 0.5796 |
34
+ | 8 | retract | 413 | 36 | 3.224 | 13.36 | 23.15 | 2228.37 | 0.6903 |
35
+
36
+ ## Pooled metrics (matched phases only)
37
+
38
+ | Metric | Value |
39
+ |---|---:|
40
+ | Joints (deg) | 2.863 |
41
+ | TCP position RMSE (mm, per-axis) | 12.59 |
42
+ | EE position RMS L2 (mm) | 23.81 |
43
+ | TCP rotvec (mrad) | 2576.00 |
44
+ | W1 effort mean (A) | 0.7864 |
45
+ | W1 effort per joint (A) | j0=0.2352, j1=1.1745, j2=1.5816, j3=0.7103, j4=0.3875, j5=0.6296 |
46
+
47
+ ## Phase-end anchor (sim - real)
48
+
49
+ | ph | d_tcp_x (m) | d_tcp_y (m) | d_tcp_z (m) | norm d_tcp (m) | max abs dq (deg) |
50
+ |---:|---:|---:|---:|---:|---:|
51
+ | 0 | 0.00044 | -0.00027 | -0.00045 | 0.00068 | 0.034 |
52
+ | 1 | 0.00041 | -0.00053 | -0.00079 | 0.00104 | 0.042 |
53
+ | 2 | 0.00040 | -0.00058 | -0.00076 | 0.00104 | 0.037 |
54
+ | 3 | 0.00140 | -0.00037 | -0.00173 | 0.00226 | 0.165 |
55
+ | 4 | 0.00029 | -0.00006 | -0.00015 | 0.00033 | 0.105 |
56
+ | 5 | 0.00148 | -0.00076 | -0.00061 | 0.00177 | 0.149 |
57
+ | 6 | 0.00101 | -0.00075 | -0.00164 | 0.00206 | 0.115 |
58
+ | 7 | 0.00020 | -0.00030 | -0.00066 | 0.00075 | 0.049 |
59
+ | 8 | -0.00009 | -0.00011 | -0.00013 | 0.00019 | 0.028 |
60
+
61
+ ## Suggested next edits (`pick_place.py`)
62
+
63
+ 1. No automatic rules fired; use per-phase tables and phase-end deltas to decide the next `pick_place.py` tweak.
64
+
65
+ ## Iteration loop
66
+
67
+ Re-run Isaac with updated `pick_place.py`, export a new sim CSV, then run:
68
+
69
+ ```bash
70
+ python sim_real_gap.py --real episode_29312353.csv --sim "episode (1).csv"
71
+ ```
72
+
73
+ Details: see `GAP_ITERATION.md` in this folder.
gap_reports/gap_06bec074-6c02-4183-8a66-9ccd9e20a5c1.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:25 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/06bec074-6c02-4183-8a66-9ccd9e20a5c1.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/06bec074-6c02-4183-8a66-9ccd9e20a5c1.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 2913 |
12
+ | Sim rows | 260 |
13
+ | Real episode_id | `06bec074-6c02-4183-8a66-9ccd9e20a5c1` |
14
+ | Sim episode_id | `06bec074-6c02-4183-8a66-9ccd9e20a5c1` |
15
+
16
+ ## Methodology
17
+
18
+ **Scope:** offline comparison of two CSV exports (real executed vs sim-planned/exported) with identical schema; not Isaac replay of real commands. **Kinematic** (joints, logged TCP) and **effort proxy** (`joint_current_*`) only.
19
+
20
+ Within each `task_phase`, time is normalized to [0, 1]. The shorter series is linearly resampled to `max(n_real, n_sim)` samples. RMSE is computed on `joint_*` (deg), TCP position (per-axis pooled, mm), TCP rotation vector (rad -> mrad). **RMS EE (mm)** is the root-mean-square of the **Euclidean** TCP position error per timestep. **W1 effort (A)** is the 1D Wasserstein distance between aligned samples of `joint_current_*` per joint (equal-n sorting). Metrics omitted when `min(n_real, n_sim) < 2`. Phase-end table is **sim - real** on the **last** row of each phase.
21
+
22
+ ## Per-phase metrics
23
+
24
+ | ph | name | n_real | n_sim | RMSE joints (deg) | RMSE TCP pos (mm) | RMS EE L2 (mm) | RMSE rot (mrad) | W1 effort mean (A) |
25
+ |---:|---|---:|---:|---:|---:|---:|---:|---:|
26
+ | 0 | above_pick | 242 | 22 | 2.675 | 12.34 | 21.37 | 1977.45 | 0.5634 |
27
+ | 1 | descend | 466 | 41 | 1.211 | 7.83 | 13.56 | 3625.38 | 0.7286 |
28
+ | 2 | settle | 374 | 33 | 0.022 | 0.73 | 1.27 | 3625.25 | 0.6678 |
29
+ | 3 | close | 155 | 14 | 1.204 | 7.45 | 12.90 | 3435.90 | 0.9746 |
30
+ | 4 | lift | 338 | 30 | 2.658 | 12.69 | 21.97 | 2341.87 | 1.1228 |
31
+ | 5 | move_xy | 463 | 40 | 5.669 | 30.75 | 53.26 | 2724.13 | 0.8943 |
32
+ | 6 | lower | 384 | 34 | 0.085 | 1.30 | 2.24 | 3495.57 | 0.9769 |
33
+ | 7 | open | 155 | 14 | 1.027 | 6.50 | 11.26 | 3625.46 | 0.6820 |
34
+ | 8 | retract | 336 | 30 | 2.677 | 12.86 | 22.28 | 2381.66 | 0.7233 |
35
+
36
+ ## Pooled metrics (matched phases only)
37
+
38
+ | Metric | Value |
39
+ |---|---:|
40
+ | Joints (deg) | 2.528 |
41
+ | TCP position RMSE (mm, per-axis) | 13.27 |
42
+ | EE position RMS L2 (mm) | 25.45 |
43
+ | TCP rotvec (mrad) | 3090.17 |
44
+ | W1 effort mean (A) | 0.7967 |
45
+ | W1 effort per joint (A) | j0=0.2375, j1=1.3149, j2=1.5848, j3=0.7440, j4=0.3091, j5=0.5899 |
46
+
47
+ ## Phase-end anchor (sim - real)
48
+
49
+ | ph | d_tcp_x (m) | d_tcp_y (m) | d_tcp_z (m) | norm d_tcp (m) | max abs dq (deg) |
50
+ |---:|---:|---:|---:|---:|---:|
51
+ | 0 | 0.00042 | -0.00037 | -0.00072 | 0.00091 | 0.037 |
52
+ | 1 | 0.00040 | -0.00070 | -0.00096 | 0.00126 | 0.043 |
53
+ | 2 | 0.00040 | -0.00071 | -0.00093 | 0.00124 | 0.042 |
54
+ | 3 | 0.00129 | -0.00034 | -0.00079 | 0.00155 | 0.133 |
55
+ | 4 | 0.00021 | -0.00005 | -0.00005 | 0.00022 | 0.051 |
56
+ | 5 | 0.00155 | -0.00107 | -0.00134 | 0.00231 | 0.160 |
57
+ | 6 | 0.00151 | -0.00095 | -0.00171 | 0.00247 | 0.147 |
58
+ | 7 | 0.00028 | -0.00044 | -0.00076 | 0.00092 | 0.048 |
59
+ | 8 | -0.00008 | -0.00012 | -0.00015 | 0.00021 | 0.023 |
60
+
61
+ ## Suggested next edits (`pick_place.py`)
62
+
63
+ 1. No automatic rules fired; use per-phase tables and phase-end deltas to decide the next `pick_place.py` tweak.
64
+
65
+ ## Iteration loop
66
+
67
+ Re-run Isaac with updated `pick_place.py`, export a new sim CSV, then run:
68
+
69
+ ```bash
70
+ python sim_real_gap.py --real episode_29312353.csv --sim "episode (1).csv"
71
+ ```
72
+
73
+ Details: see `GAP_ITERATION.md` in this folder.
gap_reports/gap_06e41449-2a5b-47fe-81f3-7fdd5cdca626.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:25 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/06e41449-2a5b-47fe-81f3-7fdd5cdca626.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/06e41449-2a5b-47fe-81f3-7fdd5cdca626.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 2682 |
12
+ | Sim rows | 240 |
13
+ | Real episode_id | `06e41449-2a5b-47fe-81f3-7fdd5cdca626` |
14
+ | Sim episode_id | `06e41449-2a5b-47fe-81f3-7fdd5cdca626` |
15
+
16
+ ## Methodology
17
+
18
+ **Scope:** offline comparison of two CSV exports (real executed vs sim-planned/exported) with identical schema; not Isaac replay of real commands. **Kinematic** (joints, logged TCP) and **effort proxy** (`joint_current_*`) only.
19
+
20
+ Within each `task_phase`, time is normalized to [0, 1]. The shorter series is linearly resampled to `max(n_real, n_sim)` samples. RMSE is computed on `joint_*` (deg), TCP position (per-axis pooled, mm), TCP rotation vector (rad -> mrad). **RMS EE (mm)** is the root-mean-square of the **Euclidean** TCP position error per timestep. **W1 effort (A)** is the 1D Wasserstein distance between aligned samples of `joint_current_*` per joint (equal-n sorting). Metrics omitted when `min(n_real, n_sim) < 2`. Phase-end table is **sim - real** on the **last** row of each phase.
21
+
22
+ ## Per-phase metrics
23
+
24
+ | ph | name | n_real | n_sim | RMSE joints (deg) | RMSE TCP pos (mm) | RMS EE L2 (mm) | RMSE rot (mrad) | W1 effort mean (A) |
25
+ |---:|---|---:|---:|---:|---:|---:|---:|---:|
26
+ | 0 | above_pick | 193 | 17 | 2.726 | 14.24 | 24.67 | 1826.51 | 0.6221 |
27
+ | 1 | descend | 533 | 46 | 0.455 | 3.45 | 5.97 | 3624.68 | 0.8252 |
28
+ | 2 | settle | 382 | 34 | 0.027 | 0.97 | 1.67 | 3624.56 | 0.6696 |
29
+ | 3 | close | 113 | 11 | 0.638 | 4.65 | 8.06 | 3624.95 | 1.0273 |
30
+ | 4 | lift | 304 | 27 | 2.870 | 16.04 | 27.79 | 2333.68 | 1.1123 |
31
+ | 5 | move_xy | 343 | 30 | 6.465 | 37.54 | 65.02 | 2781.86 | 0.9372 |
32
+ | 6 | lower | 394 | 35 | 0.094 | 1.71 | 2.97 | 3625.07 | 1.0656 |
33
+ | 7 | open | 114 | 11 | 0.631 | 4.43 | 7.67 | 3624.68 | 0.7400 |
34
+ | 8 | retract | 306 | 27 | 2.897 | 16.28 | 28.20 | 2362.64 | 0.7492 |
35
+
36
+ ## Pooled metrics (matched phases only)
37
+
38
+ | Metric | Value |
39
+ |---|---:|
40
+ | Joints (deg) | 2.726 |
41
+ | TCP position RMSE (mm, per-axis) | 15.60 |
42
+ | EE position RMS L2 (mm) | 27.87 |
43
+ | TCP rotvec (mrad) | 3123.36 |
44
+ | W1 effort mean (A) | 0.8390 |
45
+ | W1 effort per joint (A) | j0=0.2352, j1=1.4560, j2=1.7044, j3=0.8132, j4=0.2628, j5=0.5622 |
46
+
47
+ ## Phase-end anchor (sim - real)
48
+
49
+ | ph | d_tcp_x (m) | d_tcp_y (m) | d_tcp_z (m) | norm d_tcp (m) | max abs dq (deg) |
50
+ |---:|---:|---:|---:|---:|---:|
51
+ | 0 | 0.00092 | -0.00040 | -0.00068 | 0.00121 | 0.027 |
52
+ | 1 | 0.00093 | -0.00073 | -0.00124 | 0.00171 | 0.057 |
53
+ | 2 | 0.00092 | -0.00072 | -0.00120 | 0.00168 | 0.053 |
54
+ | 3 | 0.00200 | -0.00044 | -0.00092 | 0.00224 | 0.159 |
55
+ | 4 | 0.00014 | -0.00033 | -0.00044 | 0.00057 | 0.077 |
56
+ | 5 | 0.00243 | -0.00110 | -0.00223 | 0.00348 | 0.206 |
57
+ | 6 | 0.00186 | -0.00099 | -0.00072 | 0.00223 | 0.113 |
58
+ | 7 | 0.00072 | -0.00045 | -0.00098 | 0.00130 | 0.043 |
59
+ | 8 | -0.00015 | -0.00022 | -0.00021 | 0.00034 | 0.039 |
60
+
61
+ ## Suggested next edits (`pick_place.py`)
62
+
63
+ 1. No automatic rules fired; use per-phase tables and phase-end deltas to decide the next `pick_place.py` tweak.
64
+
65
+ ## Iteration loop
66
+
67
+ Re-run Isaac with updated `pick_place.py`, export a new sim CSV, then run:
68
+
69
+ ```bash
70
+ python sim_real_gap.py --real episode_29312353.csv --sim "episode (1).csv"
71
+ ```
72
+
73
+ Details: see `GAP_ITERATION.md` in this folder.
gap_reports/gap_06f0cddf-f066-4f7a-a953-13d15e7457cc.md ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:25 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/06f0cddf-f066-4f7a-a953-13d15e7457cc.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/06f0cddf-f066-4f7a-a953-13d15e7457cc.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 1476 |
12
+ | Sim rows | 150 |
13
+ | Real episode_id | `06f0cddf-f066-4f7a-a953-13d15e7457cc` |
14
+ | Sim episode_id | `06f0cddf-f066-4f7a-a953-13d15e7457cc` |
15
+
16
+ ## Methodology
17
+
18
+ **Scope:** offline comparison of two CSV exports (real executed vs sim-planned/exported) with identical schema; not Isaac replay of real commands. **Kinematic** (joints, logged TCP) and **effort proxy** (`joint_current_*`) only.
19
+
20
+ Within each `task_phase`, time is normalized to [0, 1]. The shorter series is linearly resampled to `max(n_real, n_sim)` samples. RMSE is computed on `joint_*` (deg), TCP position (per-axis pooled, mm), TCP rotation vector (rad -> mrad). **RMS EE (mm)** is the root-mean-square of the **Euclidean** TCP position error per timestep. **W1 effort (A)** is the 1D Wasserstein distance between aligned samples of `joint_current_*` per joint (equal-n sorting). Metrics omitted when `min(n_real, n_sim) < 2`. Phase-end table is **sim - real** on the **last** row of each phase.
21
+
22
+ ## Per-phase metrics
23
+
24
+ | ph | name | n_real | n_sim | RMSE joints (deg) | RMSE TCP pos (mm) | RMS EE L2 (mm) | RMSE rot (mrad) | W1 effort mean (A) |
25
+ |---:|---|---:|---:|---:|---:|---:|---:|---:|
26
+ | 0 | above_pick | 161 | 16 | 3.471 | 17.26 | 29.90 | 802.37 | 0.7223 |
27
+ | 1 | descend | 67 | 7 | 0.410 | 2.75 | 4.77 | 4.82 | 0.6681 |
28
+ | 2 | settle | 28 | 4 | 0.023 | 1.91 | 3.31 | 5.20 | 0.6265 |
29
+ | 3 | close | 380 | 37 | 0.129 | 1.77 | 3.07 | 7.72 | 1.1565 |
30
+ | 4 | lift | 68 | 7 | 0.452 | 2.77 | 4.79 | 7.11 | 1.2286 |
31
+ | 5 | move_xy | 195 | 20 | 6.006 | 28.97 | 50.17 | 5.70 | 1.2088 |
32
+ | 6 | lower | 65 | 7 | 0.408 | 2.76 | 4.79 | 6.01 | 1.1083 |
33
+ | 7 | open | 93 | 10 | 0.029 | 2.64 | 4.57 | 5.09 | 0.7242 |
34
+ | 8 | retract | 65 | 7 | 0.393 | 3.09 | 5.36 | 4.66 | 0.7349 |
35
+ | 9 | return | 354 | 35 | 3.665 | 12.69 | 21.98 | 673.93 | 0.7170 |
36
+
37
+ ## Pooled metrics (matched phases only)
38
+
39
+ | Metric | Value |
40
+ |---|---:|
41
+ | Joints (deg) | 2.495 |
42
+ | TCP position RMSE (mm, per-axis) | 11.59 |
43
+ | EE position RMS L2 (mm) | 23.54 |
44
+ | TCP rotvec (mrad) | 331.40 |
45
+ | W1 effort mean (A) | 0.8887 |
46
+ | W1 effort per joint (A) | j0=0.1459, j1=1.6525, j2=1.5689, j3=0.8238, j4=0.5469, j5=0.5941 |
47
+
48
+ ## Phase-end anchor (sim - real)
49
+
50
+ | ph | d_tcp_x (m) | d_tcp_y (m) | d_tcp_z (m) | norm d_tcp (m) | max abs dq (deg) |
51
+ |---:|---:|---:|---:|---:|---:|
52
+ | 0 | 0.00150 | -0.00288 | 0.00009 | 0.00325 | 0.048 |
53
+ | 1 | 0.00191 | -0.00268 | -0.00004 | 0.00329 | 0.051 |
54
+ | 2 | 0.00190 | -0.00274 | -0.00016 | 0.00333 | 0.052 |
55
+ | 3 | 0.00057 | -0.00292 | -0.00088 | 0.00310 | 0.283 |
56
+ | 4 | 0.00049 | -0.00321 | -0.00097 | 0.00339 | 0.265 |
57
+ | 5 | 0.00062 | -0.00356 | -0.00101 | 0.00375 | 0.154 |
58
+ | 6 | 0.00061 | -0.00368 | -0.00034 | 0.00375 | 0.200 |
59
+ | 7 | 0.00178 | -0.00407 | -0.00117 | 0.00460 | 0.048 |
60
+ | 8 | 0.00142 | -0.00381 | -0.00135 | 0.00428 | 0.063 |
61
+ | 9 | -0.00013 | -0.00008 | -0.00025 | 0.00030 | 0.028 |
62
+
63
+ ## Suggested next edits (`pick_place.py`)
64
+
65
+ 1. No automatic rules fired; use per-phase tables and phase-end deltas to decide the next `pick_place.py` tweak.
66
+
67
+ ## Iteration loop
68
+
69
+ Re-run Isaac with updated `pick_place.py`, export a new sim CSV, then run:
70
+
71
+ ```bash
72
+ python sim_real_gap.py --real episode_29312353.csv --sim "episode (1).csv"
73
+ ```
74
+
75
+ Details: see `GAP_ITERATION.md` in this folder.
gap_reports/gap_06f6c8d0-e983-4e74-95b5-9cd8808774d9.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:25 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/06f6c8d0-e983-4e74-95b5-9cd8808774d9.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/06f6c8d0-e983-4e74-95b5-9cd8808774d9.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 2956 |
12
+ | Sim rows | 262 |
13
+ | Real episode_id | `06f6c8d0-e983-4e74-95b5-9cd8808774d9` |
14
+ | Sim episode_id | `06f6c8d0-e983-4e74-95b5-9cd8808774d9` |
15
+
16
+ ## Methodology
17
+
18
+ **Scope:** offline comparison of two CSV exports (real executed vs sim-planned/exported) with identical schema; not Isaac replay of real commands. **Kinematic** (joints, logged TCP) and **effort proxy** (`joint_current_*`) only.
19
+
20
+ Within each `task_phase`, time is normalized to [0, 1]. The shorter series is linearly resampled to `max(n_real, n_sim)` samples. RMSE is computed on `joint_*` (deg), TCP position (per-axis pooled, mm), TCP rotation vector (rad -> mrad). **RMS EE (mm)** is the root-mean-square of the **Euclidean** TCP position error per timestep. **W1 effort (A)** is the 1D Wasserstein distance between aligned samples of `joint_current_*` per joint (equal-n sorting). Metrics omitted when `min(n_real, n_sim) < 2`. Phase-end table is **sim - real** on the **last** row of each phase.
21
+
22
+ ## Per-phase metrics
23
+
24
+ | ph | name | n_real | n_sim | RMSE joints (deg) | RMSE TCP pos (mm) | RMS EE L2 (mm) | RMSE rot (mrad) | W1 effort mean (A) |
25
+ |---:|---|---:|---:|---:|---:|---:|---:|---:|
26
+ | 0 | above_pick | 205 | 18 | 2.980 | 13.41 | 23.23 | 2025.63 | 0.5910 |
27
+ | 1 | descend | 530 | 46 | 0.483 | 3.21 | 5.55 | 3625.39 | 0.6954 |
28
+ | 2 | settle | 385 | 34 | 0.024 | 0.77 | 1.33 | 3625.26 | 0.7421 |
29
+ | 3 | close | 188 | 17 | 0.930 | 5.94 | 10.29 | 3185.81 | 0.9810 |
30
+ | 4 | lift | 342 | 30 | 3.242 | 15.00 | 25.98 | 2401.28 | 1.1268 |
31
+ | 5 | move_xy | 369 | 33 | 6.555 | 33.46 | 57.95 | 2818.30 | 0.8996 |
32
+ | 6 | lower | 404 | 35 | 0.081 | 1.28 | 2.22 | 3252.01 | 1.0012 |
33
+ | 7 | open | 187 | 17 | 0.823 | 5.27 | 9.12 | 3625.48 | 0.6770 |
34
+ | 8 | retract | 346 | 30 | 3.230 | 15.06 | 26.08 | 2314.33 | 0.7292 |
35
+
36
+ ## Pooled metrics (matched phases only)
37
+
38
+ | Metric | Value |
39
+ |---|---:|
40
+ | Joints (deg) | 2.878 |
41
+ | TCP position RMSE (mm, per-axis) | 14.25 |
42
+ | EE position RMS L2 (mm) | 25.15 |
43
+ | TCP rotvec (mrad) | 3042.72 |
44
+ | W1 effort mean (A) | 0.8078 |
45
+ | W1 effort per joint (A) | j0=0.2316, j1=1.3663, j2=1.6318, j3=0.7435, j4=0.3181, j5=0.5552 |
46
+
47
+ ## Phase-end anchor (sim - real)
48
+
49
+ | ph | d_tcp_x (m) | d_tcp_y (m) | d_tcp_z (m) | norm d_tcp (m) | max abs dq (deg) |
50
+ |---:|---:|---:|---:|---:|---:|
51
+ | 0 | 0.00063 | -0.00026 | -0.00067 | 0.00096 | 0.040 |
52
+ | 1 | 0.00058 | -0.00062 | -0.00099 | 0.00130 | 0.047 |
53
+ | 2 | 0.00063 | -0.00063 | -0.00099 | 0.00133 | 0.045 |
54
+ | 3 | 0.00127 | -0.00028 | -0.00162 | 0.00208 | 0.128 |
55
+ | 4 | -0.00006 | -0.00056 | -0.00050 | 0.00076 | 0.094 |
56
+ | 5 | 0.00141 | -0.00100 | -0.00265 | 0.00316 | 0.231 |
57
+ | 6 | 0.00189 | -0.00079 | -0.00116 | 0.00236 | 0.169 |
58
+ | 7 | 0.00050 | -0.00034 | -0.00073 | 0.00095 | 0.035 |
59
+ | 8 | -0.00010 | -0.00013 | -0.00015 | 0.00022 | 0.024 |
60
+
61
+ ## Suggested next edits (`pick_place.py`)
62
+
63
+ 1. No automatic rules fired; use per-phase tables and phase-end deltas to decide the next `pick_place.py` tweak.
64
+
65
+ ## Iteration loop
66
+
67
+ Re-run Isaac with updated `pick_place.py`, export a new sim CSV, then run:
68
+
69
+ ```bash
70
+ python sim_real_gap.py --real episode_29312353.csv --sim "episode (1).csv"
71
+ ```
72
+
73
+ Details: see `GAP_ITERATION.md` in this folder.
gap_reports/gap_0705dc62-3ae4-4f53-b875-72ce03bc2ad1.md ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:25 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/0705dc62-3ae4-4f53-b875-72ce03bc2ad1.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/0705dc62-3ae4-4f53-b875-72ce03bc2ad1.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 1104 |
12
+ | Sim rows | 115 |
13
+ | Real episode_id | `0705dc62-3ae4-4f53-b875-72ce03bc2ad1` |
14
+ | Sim episode_id | `0705dc62-3ae4-4f53-b875-72ce03bc2ad1` |
15
+
16
+ ## Methodology
17
+
18
+ **Scope:** offline comparison of two CSV exports (real executed vs sim-planned/exported) with identical schema; not Isaac replay of real commands. **Kinematic** (joints, logged TCP) and **effort proxy** (`joint_current_*`) only.
19
+
20
+ Within each `task_phase`, time is normalized to [0, 1]. The shorter series is linearly resampled to `max(n_real, n_sim)` samples. RMSE is computed on `joint_*` (deg), TCP position (per-axis pooled, mm), TCP rotation vector (rad -> mrad). **RMS EE (mm)** is the root-mean-square of the **Euclidean** TCP position error per timestep. **W1 effort (A)** is the 1D Wasserstein distance between aligned samples of `joint_current_*` per joint (equal-n sorting). Metrics omitted when `min(n_real, n_sim) < 2`. Phase-end table is **sim - real** on the **last** row of each phase.
21
+
22
+ ## Per-phase metrics
23
+
24
+ | ph | name | n_real | n_sim | RMSE joints (deg) | RMSE TCP pos (mm) | RMS EE L2 (mm) | RMSE rot (mrad) | W1 effort mean (A) |
25
+ |---:|---|---:|---:|---:|---:|---:|---:|---:|
26
+ | 0 | above_pick | 138 | 14 | 1.725 | 10.58 | 18.32 | 345.22 | 0.7402 |
27
+ | 1 | descend | 64 | 7 | 0.515 | 4.01 | 6.95 | 6.05 | 0.7382 |
28
+ | 2 | settle | 26 | 3 | 0.025 | 3.10 | 5.38 | 6.44 | 0.7810 |
29
+ | 3 | close | 51 | 6 | 0.158 | 3.73 | 6.46 | 11.28 | 1.2663 |
30
+ | 4 | lift | 84 | 9 | 0.731 | 5.45 | 9.43 | 10.46 | 1.2519 |
31
+ | 5 | move_xy | 234 | 23 | 4.894 | 23.35 | 40.45 | 42.39 | 1.0614 |
32
+ | 6 | lower | 101 | 11 | 5.062 | 4.30 | 7.44 | 197.51 | 0.9687 |
33
+ | 7 | open | 94 | 10 | 4.982 | 2.28 | 3.96 | 196.92 | 0.6696 |
34
+ | 8 | retract | 101 | 11 | 5.084 | 4.56 | 7.91 | 196.33 | 0.6900 |
35
+ | 9 | return | 211 | 21 | 4.200 | 17.51 | 30.34 | 1117.65 | 0.7922 |
36
+
37
+ ## Pooled metrics (matched phases only)
38
+
39
+ | Metric | Value |
40
+ |---|---:|
41
+ | Joints (deg) | 3.488 |
42
+ | TCP position RMSE (mm, per-axis) | 10.38 |
43
+ | EE position RMS L2 (mm) | 24.27 |
44
+ | TCP rotvec (mrad) | 385.59 |
45
+ | W1 effort mean (A) | 0.8758 |
46
+ | W1 effort per joint (A) | j0=0.2387, j1=1.5147, j2=1.5835, j3=0.7590, j4=0.4980, j5=0.6609 |
47
+
48
+ ## Phase-end anchor (sim - real)
49
+
50
+ | ph | d_tcp_x (m) | d_tcp_y (m) | d_tcp_z (m) | norm d_tcp (m) | max abs dq (deg) |
51
+ |---:|---:|---:|---:|---:|---:|
52
+ | 0 | 0.00244 | -0.00439 | -0.00093 | 0.00511 | 0.068 |
53
+ | 1 | 0.00263 | -0.00456 | -0.00103 | 0.00537 | 0.043 |
54
+ | 2 | 0.00263 | -0.00457 | -0.00116 | 0.00540 | 0.055 |
55
+ | 3 | 0.00306 | -0.00390 | -0.00374 | 0.00621 | 0.254 |
56
+ | 4 | 0.00246 | -0.00395 | -0.00352 | 0.00584 | 0.264 |
57
+ | 5 | 0.00177 | -0.00293 | -0.00165 | 0.00380 | 12.227 |
58
+ | 6 | 0.00222 | -0.00245 | -0.00122 | 0.00352 | 12.202 |
59
+ | 7 | 0.00207 | -0.00337 | 0.00010 | 0.00396 | 12.200 |
60
+ | 8 | 0.00167 | -0.00359 | 0.00001 | 0.00396 | 12.227 |
61
+ | 9 | 0.00006 | -0.00018 | -0.00024 | 0.00031 | 0.031 |
62
+
63
+ ## Suggested next edits (`pick_place.py`)
64
+
65
+ 1. No automatic rules fired; use per-phase tables and phase-end deltas to decide the next `pick_place.py` tweak.
66
+
67
+ ## Iteration loop
68
+
69
+ Re-run Isaac with updated `pick_place.py`, export a new sim CSV, then run:
70
+
71
+ ```bash
72
+ python sim_real_gap.py --real episode_29312353.csv --sim "episode (1).csv"
73
+ ```
74
+
75
+ Details: see `GAP_ITERATION.md` in this folder.
gap_reports/gap_0723407a-d7b0-4074-8257-47e742277e2a.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:25 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/0723407a-d7b0-4074-8257-47e742277e2a.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/0723407a-d7b0-4074-8257-47e742277e2a.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 2524 |
12
+ | Sim rows | 224 |
13
+ | Real episode_id | `0723407a-d7b0-4074-8257-47e742277e2a` |
14
+ | Sim episode_id | `0723407a-d7b0-4074-8257-47e742277e2a` |
15
+
16
+ ## Methodology
17
+
18
+ **Scope:** offline comparison of two CSV exports (real executed vs sim-planned/exported) with identical schema; not Isaac replay of real commands. **Kinematic** (joints, logged TCP) and **effort proxy** (`joint_current_*`) only.
19
+
20
+ Within each `task_phase`, time is normalized to [0, 1]. The shorter series is linearly resampled to `max(n_real, n_sim)` samples. RMSE is computed on `joint_*` (deg), TCP position (per-axis pooled, mm), TCP rotation vector (rad -> mrad). **RMS EE (mm)** is the root-mean-square of the **Euclidean** TCP position error per timestep. **W1 effort (A)** is the 1D Wasserstein distance between aligned samples of `joint_current_*` per joint (equal-n sorting). Metrics omitted when `min(n_real, n_sim) < 2`. Phase-end table is **sim - real** on the **last** row of each phase.
21
+
22
+ ## Per-phase metrics
23
+
24
+ | ph | name | n_real | n_sim | RMSE joints (deg) | RMSE TCP pos (mm) | RMS EE L2 (mm) | RMSE rot (mrad) | W1 effort mean (A) |
25
+ |---:|---|---:|---:|---:|---:|---:|---:|---:|
26
+ | 0 | above_pick | 196 | 17 | 2.863 | 14.45 | 25.03 | 1920.20 | 0.6220 |
27
+ | 1 | descend | 327 | 29 | 0.893 | 6.30 | 10.91 | 3624.68 | 0.7275 |
28
+ | 2 | settle | 377 | 33 | 0.027 | 0.99 | 1.71 | 3624.57 | 0.7022 |
29
+ | 3 | close | 121 | 11 | 0.507 | 3.83 | 6.63 | 3625.20 | 1.0062 |
30
+ | 4 | lift | 332 | 29 | 2.065 | 11.26 | 19.50 | 2098.55 | 1.1284 |
31
+ | 5 | move_xy | 317 | 28 | 5.882 | 34.31 | 59.43 | 2708.70 | 0.9160 |
32
+ | 6 | lower | 406 | 35 | 0.096 | 1.75 | 3.03 | 3624.97 | 1.0369 |
33
+ | 7 | open | 119 | 11 | 0.519 | 3.66 | 6.33 | 3624.67 | 0.7586 |
34
+ | 8 | retract | 329 | 29 | 2.299 | 12.64 | 21.89 | 2234.28 | 0.7587 |
35
+
36
+ ## Pooled metrics (matched phases only)
37
+
38
+ | Metric | Value |
39
+ |---|---:|
40
+ | Joints (deg) | 2.442 |
41
+ | TCP position RMSE (mm, per-axis) | 13.92 |
42
+ | EE position RMS L2 (mm) | 25.02 |
43
+ | TCP rotvec (mrad) | 3093.30 |
44
+ | W1 effort mean (A) | 0.8417 |
45
+ | W1 effort per joint (A) | j0=0.2076, j1=1.5282, j2=1.7166, j3=0.7518, j4=0.3179, j5=0.5283 |
46
+
47
+ ## Phase-end anchor (sim - real)
48
+
49
+ | ph | d_tcp_x (m) | d_tcp_y (m) | d_tcp_z (m) | norm d_tcp (m) | max abs dq (deg) |
50
+ |---:|---:|---:|---:|---:|---:|
51
+ | 0 | 0.00093 | -0.00046 | -0.00074 | 0.00127 | 0.025 |
52
+ | 1 | 0.00099 | -0.00076 | -0.00118 | 0.00172 | 0.049 |
53
+ | 2 | 0.00094 | -0.00075 | -0.00122 | 0.00172 | 0.055 |
54
+ | 3 | 0.00149 | -0.00068 | -0.00182 | 0.00245 | 0.140 |
55
+ | 4 | -0.00014 | -0.00068 | -0.00069 | 0.00098 | 0.112 |
56
+ | 5 | 0.00252 | -0.00116 | -0.00168 | 0.00324 | 0.207 |
57
+ | 6 | 0.00193 | -0.00112 | -0.00260 | 0.00343 | 0.192 |
58
+ | 7 | 0.00070 | -0.00049 | -0.00099 | 0.00131 | 0.043 |
59
+ | 8 | -0.00015 | -0.00023 | -0.00023 | 0.00035 | 0.033 |
60
+
61
+ ## Suggested next edits (`pick_place.py`)
62
+
63
+ 1. No automatic rules fired; use per-phase tables and phase-end deltas to decide the next `pick_place.py` tweak.
64
+
65
+ ## Iteration loop
66
+
67
+ Re-run Isaac with updated `pick_place.py`, export a new sim CSV, then run:
68
+
69
+ ```bash
70
+ python sim_real_gap.py --real episode_29312353.csv --sim "episode (1).csv"
71
+ ```
72
+
73
+ Details: see `GAP_ITERATION.md` in this folder.
gap_reports/gap_0727e32a-a7d3-4849-8ec6-46bbbb560599.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:25 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/0727e32a-a7d3-4849-8ec6-46bbbb560599.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/0727e32a-a7d3-4849-8ec6-46bbbb560599.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 2583 |
12
+ | Sim rows | 231 |
13
+ | Real episode_id | `0727e32a-a7d3-4849-8ec6-46bbbb560599` |
14
+ | Sim episode_id | `0727e32a-a7d3-4849-8ec6-46bbbb560599` |
15
+
16
+ ## Methodology
17
+
18
+ **Scope:** offline comparison of two CSV exports (real executed vs sim-planned/exported) with identical schema; not Isaac replay of real commands. **Kinematic** (joints, logged TCP) and **effort proxy** (`joint_current_*`) only.
19
+
20
+ Within each `task_phase`, time is normalized to [0, 1]. The shorter series is linearly resampled to `max(n_real, n_sim)` samples. RMSE is computed on `joint_*` (deg), TCP position (per-axis pooled, mm), TCP rotation vector (rad -> mrad). **RMS EE (mm)** is the root-mean-square of the **Euclidean** TCP position error per timestep. **W1 effort (A)** is the 1D Wasserstein distance between aligned samples of `joint_current_*` per joint (equal-n sorting). Metrics omitted when `min(n_real, n_sim) < 2`. Phase-end table is **sim - real** on the **last** row of each phase.
21
+
22
+ ## Per-phase metrics
23
+
24
+ | ph | name | n_real | n_sim | RMSE joints (deg) | RMSE TCP pos (mm) | RMS EE L2 (mm) | RMSE rot (mrad) | W1 effort mean (A) |
25
+ |---:|---|---:|---:|---:|---:|---:|---:|---:|
26
+ | 0 | above_pick | 245 | 22 | 2.545 | 12.62 | 21.86 | 1923.92 | 0.5585 |
27
+ | 1 | descend | 248 | 22 | 0.845 | 5.50 | 9.52 | 3625.29 | 0.7720 |
28
+ | 2 | settle | 379 | 33 | 0.025 | 0.75 | 1.30 | 3625.24 | 0.6216 |
29
+ | 3 | close | 112 | 11 | 0.580 | 4.00 | 6.92 | 3625.53 | 1.0094 |
30
+ | 4 | lift | 331 | 29 | 2.552 | 12.81 | 22.19 | 2133.62 | 1.1099 |
31
+ | 5 | move_xy | 439 | 38 | 5.161 | 28.89 | 50.04 | 2737.11 | 0.8909 |
32
+ | 6 | lower | 384 | 34 | 0.080 | 1.25 | 2.16 | 3476.59 | 0.9673 |
33
+ | 7 | open | 113 | 11 | 0.559 | 3.66 | 6.35 | 3625.46 | 0.6635 |
34
+ | 8 | retract | 332 | 29 | 2.426 | 12.33 | 21.36 | 2250.98 | 0.7100 |
35
+
36
+ ## Pooled metrics (matched phases only)
37
+
38
+ | Metric | Value |
39
+ |---|---:|
40
+ | Joints (deg) | 2.282 |
41
+ | TCP position RMSE (mm, per-axis) | 12.35 |
42
+ | EE position RMS L2 (mm) | 24.62 |
43
+ | TCP rotvec (mrad) | 3081.71 |
44
+ | W1 effort mean (A) | 0.7974 |
45
+ | W1 effort per joint (A) | j0=0.2030, j1=1.2978, j2=1.5561, j3=0.7882, j4=0.3280, j5=0.6112 |
46
+
47
+ ## Phase-end anchor (sim - real)
48
+
49
+ | ph | d_tcp_x (m) | d_tcp_y (m) | d_tcp_z (m) | norm d_tcp (m) | max abs dq (deg) |
50
+ |---:|---:|---:|---:|---:|---:|
51
+ | 0 | 0.00046 | -0.00048 | -0.00080 | 0.00104 | 0.037 |
52
+ | 1 | 0.00040 | -0.00069 | -0.00102 | 0.00129 | 0.049 |
53
+ | 2 | 0.00040 | -0.00071 | -0.00099 | 0.00129 | 0.048 |
54
+ | 3 | 0.00137 | -0.00055 | -0.00133 | 0.00198 | 0.168 |
55
+ | 4 | 0.00029 | -0.00013 | -0.00021 | 0.00038 | 0.104 |
56
+ | 5 | 0.00109 | -0.00091 | -0.00151 | 0.00208 | 0.096 |
57
+ | 6 | 0.00116 | -0.00097 | -0.00166 | 0.00224 | 0.100 |
58
+ | 7 | 0.00020 | -0.00050 | -0.00082 | 0.00099 | 0.039 |
59
+ | 8 | -0.00010 | -0.00014 | -0.00015 | 0.00022 | 0.023 |
60
+
61
+ ## Suggested next edits (`pick_place.py`)
62
+
63
+ 1. No automatic rules fired; use per-phase tables and phase-end deltas to decide the next `pick_place.py` tweak.
64
+
65
+ ## Iteration loop
66
+
67
+ Re-run Isaac with updated `pick_place.py`, export a new sim CSV, then run:
68
+
69
+ ```bash
70
+ python sim_real_gap.py --real episode_29312353.csv --sim "episode (1).csv"
71
+ ```
72
+
73
+ Details: see `GAP_ITERATION.md` in this folder.
gap_reports/gap_0733ceb5-8b90-4369-8103-3756237f4fec.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:25 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/0733ceb5-8b90-4369-8103-3756237f4fec.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/0733ceb5-8b90-4369-8103-3756237f4fec.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 2317 |
12
+ | Sim rows | 236 |
13
+ | Real episode_id | `0733ceb5-8b90-4369-8103-3756237f4fec` |
14
+ | Sim episode_id | `0733ceb5-8b90-4369-8103-3756237f4fec` |
15
+
16
+ ## Methodology
17
+
18
+ **Scope:** offline comparison of two CSV exports (real executed vs sim-planned/exported) with identical schema; not Isaac replay of real commands. **Kinematic** (joints, logged TCP) and **effort proxy** (`joint_current_*`) only.
19
+
20
+ Within each `task_phase`, time is normalized to [0, 1]. The shorter series is linearly resampled to `max(n_real, n_sim)` samples. RMSE is computed on `joint_*` (deg), TCP position (per-axis pooled, mm), TCP rotation vector (rad -> mrad). **RMS EE (mm)** is the root-mean-square of the **Euclidean** TCP position error per timestep. **W1 effort (A)** is the 1D Wasserstein distance between aligned samples of `joint_current_*` per joint (equal-n sorting). Metrics omitted when `min(n_real, n_sim) < 2`. Phase-end table is **sim - real** on the **last** row of each phase.
21
+
22
+ ## Per-phase metrics
23
+
24
+ | ph | name | n_real | n_sim | RMSE joints (deg) | RMSE TCP pos (mm) | RMS EE L2 (mm) | RMSE rot (mrad) | W1 effort mean (A) |
25
+ |---:|---|---:|---:|---:|---:|---:|---:|---:|
26
+ | 0 | above_pick | 176 | 18 | 2.222 | 12.25 | 21.21 | 1970.35 | 0.6171 |
27
+ | 1 | descend | 356 | 36 | 0.999 | 6.82 | 11.81 | 3624.68 | 0.7655 |
28
+ | 2 | settle | 321 | 32 | 0.028 | 0.98 | 1.69 | 3624.53 | 0.7235 |
29
+ | 3 | close | 105 | 11 | 0.618 | 4.55 | 7.87 | 3625.03 | 1.0213 |
30
+ | 4 | lift | 297 | 30 | 2.511 | 14.62 | 25.33 | 2379.95 | 1.1795 |
31
+ | 5 | move_xy | 331 | 33 | 5.386 | 32.99 | 57.14 | 2838.76 | 0.9620 |
32
+ | 6 | lower | 332 | 33 | 0.093 | 1.67 | 2.88 | 3548.86 | 1.0922 |
33
+ | 7 | open | 106 | 11 | 0.750 | 5.19 | 8.98 | 3624.67 | 0.7617 |
34
+ | 8 | retract | 293 | 30 | 2.415 | 14.12 | 24.46 | 2358.11 | 0.7405 |
35
+
36
+ ## Pooled metrics (matched phases only)
37
+
38
+ | Metric | Value |
39
+ |---|---:|
40
+ | Joints (deg) | 2.310 |
41
+ | TCP position RMSE (mm, per-axis) | 13.94 |
42
+ | EE position RMS L2 (mm) | 26.23 |
43
+ | TCP rotvec (mrad) | 3132.53 |
44
+ | W1 effort mean (A) | 0.8625 |
45
+ | W1 effort per joint (A) | j0=0.2592, j1=1.5634, j2=1.7188, j3=0.7179, j4=0.3276, j5=0.5881 |
46
+
47
+ ## Phase-end anchor (sim - real)
48
+
49
+ | ph | d_tcp_x (m) | d_tcp_y (m) | d_tcp_z (m) | norm d_tcp (m) | max abs dq (deg) |
50
+ |---:|---:|---:|---:|---:|---:|
51
+ | 0 | 0.00078 | -0.00047 | -0.00075 | 0.00118 | 0.030 |
52
+ | 1 | 0.00074 | -0.00088 | -0.00122 | 0.00168 | 0.057 |
53
+ | 2 | 0.00076 | -0.00085 | -0.00123 | 0.00168 | 0.057 |
54
+ | 3 | 0.00233 | -0.00071 | -0.00244 | 0.00345 | 0.238 |
55
+ | 4 | 0.00008 | -0.00028 | -0.00018 | 0.00035 | 0.091 |
56
+ | 5 | 0.00225 | -0.00135 | -0.00215 | 0.00339 | 0.189 |
57
+ | 6 | 0.00175 | -0.00109 | -0.00134 | 0.00246 | 0.121 |
58
+ | 7 | 0.00057 | -0.00053 | -0.00098 | 0.00125 | 0.043 |
59
+ | 8 | -0.00013 | -0.00018 | -0.00018 | 0.00029 | 0.033 |
60
+
61
+ ## Suggested next edits (`pick_place.py`)
62
+
63
+ 1. No automatic rules fired; use per-phase tables and phase-end deltas to decide the next `pick_place.py` tweak.
64
+
65
+ ## Iteration loop
66
+
67
+ Re-run Isaac with updated `pick_place.py`, export a new sim CSV, then run:
68
+
69
+ ```bash
70
+ python sim_real_gap.py --real episode_29312353.csv --sim "episode (1).csv"
71
+ ```
72
+
73
+ Details: see `GAP_ITERATION.md` in this folder.
gap_reports/gap_073b83cb-c1d4-42d2-bba6-95b168ad47cd.md ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:25 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/073b83cb-c1d4-42d2-bba6-95b168ad47cd.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/073b83cb-c1d4-42d2-bba6-95b168ad47cd.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 1861 |
12
+ | Sim rows | 188 |
13
+ | Real episode_id | `073b83cb-c1d4-42d2-bba6-95b168ad47cd` |
14
+ | Sim episode_id | `073b83cb-c1d4-42d2-bba6-95b168ad47cd` |
15
+
16
+ ## Methodology
17
+
18
+ **Scope:** offline comparison of two CSV exports (real executed vs sim-planned/exported) with identical schema; not Isaac replay of real commands. **Kinematic** (joints, logged TCP) and **effort proxy** (`joint_current_*`) only.
19
+
20
+ Within each `task_phase`, time is normalized to [0, 1]. The shorter series is linearly resampled to `max(n_real, n_sim)` samples. RMSE is computed on `joint_*` (deg), TCP position (per-axis pooled, mm), TCP rotation vector (rad -> mrad). **RMS EE (mm)** is the root-mean-square of the **Euclidean** TCP position error per timestep. **W1 effort (A)** is the 1D Wasserstein distance between aligned samples of `joint_current_*` per joint (equal-n sorting). Metrics omitted when `min(n_real, n_sim) < 2`. Phase-end table is **sim - real** on the **last** row of each phase.
21
+
22
+ ## Per-phase metrics
23
+
24
+ | ph | name | n_real | n_sim | RMSE joints (deg) | RMSE TCP pos (mm) | RMS EE L2 (mm) | RMSE rot (mrad) | W1 effort mean (A) |
25
+ |---:|---|---:|---:|---:|---:|---:|---:|---:|
26
+ | 0 | above_pick | 206 | 21 | 3.115 | 17.11 | 29.63 | 533.69 | 0.7405 |
27
+ | 1 | descend | 84 | 9 | 0.457 | 4.10 | 7.10 | 6.60 | 0.8139 |
28
+ | 2 | settle | 37 | 4 | 0.033 | 3.47 | 6.01 | 6.96 | 0.8306 |
29
+ | 3 | close | 368 | 36 | 0.148 | 4.37 | 7.57 | 12.08 | 1.2475 |
30
+ | 4 | lift | 85 | 9 | 0.427 | 4.77 | 8.26 | 11.66 | 1.3969 |
31
+ | 5 | move_xy | 230 | 23 | 10.812 | 27.10 | 46.93 | 305.88 | 1.1836 |
32
+ | 6 | lower | 85 | 9 | 18.747 | 2.98 | 5.17 | 725.26 | 1.1670 |
33
+ | 7 | open | 379 | 38 | 18.736 | 2.50 | 4.34 | 724.21 | 0.8121 |
34
+ | 8 | retract | 82 | 9 | 18.749 | 3.52 | 6.09 | 723.91 | 0.8161 |
35
+ | 9 | return | 305 | 30 | 10.640 | 16.26 | 28.16 | 1213.18 | 0.8314 |
36
+
37
+ ## Pooled metrics (matched phases only)
38
+
39
+ | Metric | Value |
40
+ |---|---:|
41
+ | Joints (deg) | 11.376 |
42
+ | TCP position RMSE (mm, per-axis) | 11.79 |
43
+ | EE position RMS L2 (mm) | 22.88 |
44
+ | TCP rotvec (mrad) | 585.24 |
45
+ | W1 effort mean (A) | 0.9617 |
46
+ | W1 effort per joint (A) | j0=0.2497, j1=1.8389, j2=1.5651, j3=0.7474, j4=0.4426, j5=0.9267 |
47
+
48
+ ## Phase-end anchor (sim - real)
49
+
50
+ | ph | d_tcp_x (m) | d_tcp_y (m) | d_tcp_z (m) | norm d_tcp (m) | max abs dq (deg) |
51
+ |---:|---:|---:|---:|---:|---:|
52
+ | 0 | 0.00247 | -0.00501 | -0.00148 | 0.00578 | 0.085 |
53
+ | 1 | 0.00275 | -0.00512 | -0.00142 | 0.00598 | 0.062 |
54
+ | 2 | 0.00273 | -0.00515 | -0.00150 | 0.00602 | 0.072 |
55
+ | 3 | 0.00362 | -0.00526 | -0.00431 | 0.00770 | 0.269 |
56
+ | 4 | 0.00316 | -0.00555 | -0.00430 | 0.00770 | 0.254 |
57
+ | 5 | 0.00222 | -0.00338 | -0.00216 | 0.00459 | 45.929 |
58
+ | 6 | 0.00272 | -0.00267 | -0.00193 | 0.00428 | 45.895 |
59
+ | 7 | 0.00211 | -0.00377 | -0.00019 | 0.00433 | 45.891 |
60
+ | 8 | 0.00183 | -0.00390 | -0.00032 | 0.00432 | 45.921 |
61
+ | 9 | -0.00005 | -0.00010 | -0.00020 | 0.00023 | 0.030 |
62
+
63
+ ## Suggested next edits (`pick_place.py`)
64
+
65
+ 1. No automatic rules fired; use per-phase tables and phase-end deltas to decide the next `pick_place.py` tweak.
66
+
67
+ ## Iteration loop
68
+
69
+ Re-run Isaac with updated `pick_place.py`, export a new sim CSV, then run:
70
+
71
+ ```bash
72
+ python sim_real_gap.py --real episode_29312353.csv --sim "episode (1).csv"
73
+ ```
74
+
75
+ Details: see `GAP_ITERATION.md` in this folder.
gap_reports/gap_073c5eca-a4c7-425d-a249-58a9d18e9be5.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:25 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/073c5eca-a4c7-425d-a249-58a9d18e9be5.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/073c5eca-a4c7-425d-a249-58a9d18e9be5.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 2779 |
12
+ | Sim rows | 277 |
13
+ | Real episode_id | `073c5eca-a4c7-425d-a249-58a9d18e9be5` |
14
+ | Sim episode_id | `073c5eca-a4c7-425d-a249-58a9d18e9be5` |
15
+
16
+ ## Methodology
17
+
18
+ **Scope:** offline comparison of two CSV exports (real executed vs sim-planned/exported) with identical schema; not Isaac replay of real commands. **Kinematic** (joints, logged TCP) and **effort proxy** (`joint_current_*`) only.
19
+
20
+ Within each `task_phase`, time is normalized to [0, 1]. The shorter series is linearly resampled to `max(n_real, n_sim)` samples. RMSE is computed on `joint_*` (deg), TCP position (per-axis pooled, mm), TCP rotation vector (rad -> mrad). **RMS EE (mm)** is the root-mean-square of the **Euclidean** TCP position error per timestep. **W1 effort (A)** is the 1D Wasserstein distance between aligned samples of `joint_current_*` per joint (equal-n sorting). Metrics omitted when `min(n_real, n_sim) < 2`. Phase-end table is **sim - real** on the **last** row of each phase.
21
+
22
+ ## Per-phase metrics
23
+
24
+ | ph | name | n_real | n_sim | RMSE joints (deg) | RMSE TCP pos (mm) | RMS EE L2 (mm) | RMSE rot (mrad) | W1 effort mean (A) |
25
+ |---:|---|---:|---:|---:|---:|---:|---:|---:|
26
+ | 0 | above_pick | 221 | 51 | 2.372 | 11.43 | 19.80 | 1904.68 | 0.5473 |
27
+ | 1 | descend | 391 | 34 | 0.918 | 5.98 | 10.36 | 3625.30 | 0.6839 |
28
+ | 2 | settle | 363 | 32 | 0.023 | 0.73 | 1.27 | 3625.24 | 0.7208 |
29
+ | 3 | close | 143 | 13 | 0.498 | 3.30 | 5.72 | 3625.57 | 1.0259 |
30
+ | 4 | lift | 368 | 32 | 2.434 | 12.71 | 22.01 | 2204.17 | 1.0838 |
31
+ | 5 | move_xy | 398 | 35 | 5.283 | 29.77 | 51.56 | 2560.63 | 0.8800 |
32
+ | 6 | lower | 381 | 33 | 0.083 | 1.26 | 2.18 | 3331.34 | 0.9604 |
33
+ | 7 | open | 144 | 13 | 0.569 | 3.73 | 6.47 | 3625.46 | 0.6504 |
34
+ | 8 | retract | 370 | 32 | 2.376 | 12.32 | 21.34 | 2213.98 | 0.7041 |
35
+
36
+ ## Pooled metrics (matched phases only)
37
+
38
+ | Metric | Value |
39
+ |---|---:|
40
+ | Joints (deg) | 2.274 |
41
+ | TCP position RMSE (mm, per-axis) | 12.44 |
42
+ | EE position RMS L2 (mm) | 23.59 |
43
+ | TCP rotvec (mrad) | 3048.07 |
44
+ | W1 effort mean (A) | 0.7881 |
45
+ | W1 effort per joint (A) | j0=0.2200, j1=1.3386, j2=1.5658, j3=0.7007, j4=0.3597, j5=0.5440 |
46
+
47
+ ## Phase-end anchor (sim - real)
48
+
49
+ | ph | d_tcp_x (m) | d_tcp_y (m) | d_tcp_z (m) | norm d_tcp (m) | max abs dq (deg) |
50
+ |---:|---:|---:|---:|---:|---:|
51
+ | 0 | 0.00034 | -0.00055 | -0.00080 | 0.00103 | 0.039 |
52
+ | 1 | 0.00041 | -0.00071 | -0.00096 | 0.00126 | 0.041 |
53
+ | 2 | 0.00042 | -0.00070 | -0.00097 | 0.00127 | 0.042 |
54
+ | 3 | 0.00115 | -0.00095 | -0.00243 | 0.00285 | 0.221 |
55
+ | 4 | 0.00008 | -0.00046 | -0.00063 | 0.00078 | 0.098 |
56
+ | 5 | 0.00125 | -0.00094 | -0.00108 | 0.00190 | 0.143 |
57
+ | 6 | 0.00106 | -0.00103 | -0.00119 | 0.00189 | 0.107 |
58
+ | 7 | 0.00030 | -0.00052 | -0.00081 | 0.00101 | 0.039 |
59
+ | 8 | -0.00010 | -0.00014 | -0.00016 | 0.00023 | 0.023 |
60
+
61
+ ## Suggested next edits (`pick_place.py`)
62
+
63
+ 1. No automatic rules fired; use per-phase tables and phase-end deltas to decide the next `pick_place.py` tweak.
64
+
65
+ ## Iteration loop
66
+
67
+ Re-run Isaac with updated `pick_place.py`, export a new sim CSV, then run:
68
+
69
+ ```bash
70
+ python sim_real_gap.py --real episode_29312353.csv --sim "episode (1).csv"
71
+ ```
72
+
73
+ Details: see `GAP_ITERATION.md` in this folder.
gap_reports/gap_079de6e7-eb07-48ad-9619-4563109ba46d.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:25 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/079de6e7-eb07-48ad-9619-4563109ba46d.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/079de6e7-eb07-48ad-9619-4563109ba46d.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 2756 |
12
+ | Sim rows | 244 |
13
+ | Real episode_id | `079de6e7-eb07-48ad-9619-4563109ba46d` |
14
+ | Sim episode_id | `079de6e7-eb07-48ad-9619-4563109ba46d` |
15
+
16
+ ## Methodology
17
+
18
+ **Scope:** offline comparison of two CSV exports (real executed vs sim-planned/exported) with identical schema; not Isaac replay of real commands. **Kinematic** (joints, logged TCP) and **effort proxy** (`joint_current_*`) only.
19
+
20
+ Within each `task_phase`, time is normalized to [0, 1]. The shorter series is linearly resampled to `max(n_real, n_sim)` samples. RMSE is computed on `joint_*` (deg), TCP position (per-axis pooled, mm), TCP rotation vector (rad -> mrad). **RMS EE (mm)** is the root-mean-square of the **Euclidean** TCP position error per timestep. **W1 effort (A)** is the 1D Wasserstein distance between aligned samples of `joint_current_*` per joint (equal-n sorting). Metrics omitted when `min(n_real, n_sim) < 2`. Phase-end table is **sim - real** on the **last** row of each phase.
21
+
22
+ ## Per-phase metrics
23
+
24
+ | ph | name | n_real | n_sim | RMSE joints (deg) | RMSE TCP pos (mm) | RMS EE L2 (mm) | RMSE rot (mrad) | W1 effort mean (A) |
25
+ |---:|---|---:|---:|---:|---:|---:|---:|---:|
26
+ | 0 | above_pick | 200 | 18 | 3.054 | 11.81 | 20.45 | 1935.70 | 0.5789 |
27
+ | 1 | descend | 479 | 42 | 0.889 | 5.30 | 9.18 | 3626.09 | 0.6937 |
28
+ | 2 | settle | 370 | 32 | 0.021 | 0.59 | 1.03 | 3625.97 | 0.6880 |
29
+ | 3 | close | 142 | 13 | 1.409 | 8.37 | 14.50 | 2331.72 | 0.9586 |
30
+ | 4 | lift | 319 | 28 | 3.426 | 13.77 | 23.85 | 1671.13 | 1.0888 |
31
+ | 5 | move_xy | 394 | 34 | 7.258 | 32.45 | 56.21 | 2078.05 | 0.8735 |
32
+ | 6 | lower | 389 | 34 | 0.079 | 1.09 | 1.89 | 1455.22 | 0.9846 |
33
+ | 7 | open | 143 | 13 | 1.386 | 8.08 | 14.00 | 3626.24 | 0.6127 |
34
+ | 8 | retract | 320 | 28 | 3.199 | 12.92 | 22.37 | 2372.51 | 0.7087 |
35
+
36
+ ## Pooled metrics (matched phases only)
37
+
38
+ | Metric | Value |
39
+ |---|---:|
40
+ | Joints (deg) | 3.139 |
41
+ | TCP position RMSE (mm, per-axis) | 13.80 |
42
+ | EE position RMS L2 (mm) | 25.34 |
43
+ | TCP rotvec (mrad) | 2655.96 |
44
+ | W1 effort mean (A) | 0.7773 |
45
+ | W1 effort per joint (A) | j0=0.2623, j1=1.1998, j2=1.5701, j3=0.6965, j4=0.3320, j5=0.6032 |
46
+
47
+ ## Phase-end anchor (sim - real)
48
+
49
+ | ph | d_tcp_x (m) | d_tcp_y (m) | d_tcp_z (m) | norm d_tcp (m) | max abs dq (deg) |
50
+ |---:|---:|---:|---:|---:|---:|
51
+ | 0 | 0.00037 | -0.00018 | -0.00048 | 0.00063 | 0.037 |
52
+ | 1 | 0.00037 | -0.00054 | -0.00076 | 0.00100 | 0.035 |
53
+ | 2 | 0.00042 | -0.00056 | -0.00073 | 0.00101 | 0.035 |
54
+ | 3 | 0.00079 | -0.00025 | -0.00101 | 0.00131 | 0.096 |
55
+ | 4 | 0.00029 | -0.00016 | -0.00026 | 0.00042 | 0.104 |
56
+ | 5 | 0.00099 | -0.00088 | -0.00147 | 0.00198 | 0.123 |
57
+ | 6 | 0.00101 | -0.00083 | -0.00141 | 0.00192 | 0.110 |
58
+ | 7 | 0.00016 | -0.00030 | -0.00050 | 0.00060 | 0.030 |
59
+ | 8 | -0.00007 | -0.00010 | -0.00013 | 0.00018 | 0.026 |
60
+
61
+ ## Suggested next edits (`pick_place.py`)
62
+
63
+ 1. No automatic rules fired; use per-phase tables and phase-end deltas to decide the next `pick_place.py` tweak.
64
+
65
+ ## Iteration loop
66
+
67
+ Re-run Isaac with updated `pick_place.py`, export a new sim CSV, then run:
68
+
69
+ ```bash
70
+ python sim_real_gap.py --real episode_29312353.csv --sim "episode (1).csv"
71
+ ```
72
+
73
+ Details: see `GAP_ITERATION.md` in this folder.
gap_reports/gap_07ac79e9-7a42-4ee3-ba1b-39dec7d3afd3.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:25 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/07ac79e9-7a42-4ee3-ba1b-39dec7d3afd3.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/07ac79e9-7a42-4ee3-ba1b-39dec7d3afd3.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 2509 |
12
+ | Sim rows | 254 |
13
+ | Real episode_id | `07ac79e9-7a42-4ee3-ba1b-39dec7d3afd3` |
14
+ | Sim episode_id | `07ac79e9-7a42-4ee3-ba1b-39dec7d3afd3` |
15
+
16
+ ## Methodology
17
+
18
+ **Scope:** offline comparison of two CSV exports (real executed vs sim-planned/exported) with identical schema; not Isaac replay of real commands. **Kinematic** (joints, logged TCP) and **effort proxy** (`joint_current_*`) only.
19
+
20
+ Within each `task_phase`, time is normalized to [0, 1]. The shorter series is linearly resampled to `max(n_real, n_sim)` samples. RMSE is computed on `joint_*` (deg), TCP position (per-axis pooled, mm), TCP rotation vector (rad -> mrad). **RMS EE (mm)** is the root-mean-square of the **Euclidean** TCP position error per timestep. **W1 effort (A)** is the 1D Wasserstein distance between aligned samples of `joint_current_*` per joint (equal-n sorting). Metrics omitted when `min(n_real, n_sim) < 2`. Phase-end table is **sim - real** on the **last** row of each phase.
21
+
22
+ ## Per-phase metrics
23
+
24
+ | ph | name | n_real | n_sim | RMSE joints (deg) | RMSE TCP pos (mm) | RMS EE L2 (mm) | RMSE rot (mrad) | W1 effort mean (A) |
25
+ |---:|---|---:|---:|---:|---:|---:|---:|---:|
26
+ | 0 | above_pick | 195 | 19 | 2.372 | 11.55 | 20.01 | 1960.04 | 0.5660 |
27
+ | 1 | descend | 303 | 31 | 0.577 | 3.81 | 6.60 | 3625.32 | 0.7543 |
28
+ | 2 | settle | 318 | 32 | 0.022 | 0.74 | 1.29 | 3625.20 | 0.6721 |
29
+ | 3 | close | 143 | 15 | 0.754 | 4.92 | 8.52 | 3532.48 | 0.9843 |
30
+ | 4 | lift | 350 | 35 | 2.478 | 12.20 | 21.14 | 2301.43 | 1.1099 |
31
+ | 5 | move_xy | 364 | 36 | 5.167 | 28.46 | 49.29 | 2767.78 | 0.8988 |
32
+ | 6 | lower | 346 | 34 | 0.086 | 1.33 | 2.30 | 3625.81 | 0.9635 |
33
+ | 7 | open | 143 | 15 | 0.735 | 4.71 | 8.17 | 3625.39 | 0.6999 |
34
+ | 8 | retract | 347 | 35 | 2.563 | 12.75 | 22.08 | 2286.24 | 0.7119 |
35
+
36
+ ## Pooled metrics (matched phases only)
37
+
38
+ | Metric | Value |
39
+ |---|---:|
40
+ | Joints (deg) | 2.273 |
41
+ | TCP position RMSE (mm, per-axis) | 12.10 |
42
+ | EE position RMS L2 (mm) | 22.97 |
43
+ | TCP rotvec (mrad) | 3110.54 |
44
+ | W1 effort mean (A) | 0.8070 |
45
+ | W1 effort per joint (A) | j0=0.2311, j1=1.3541, j2=1.5917, j3=0.7725, j4=0.2882, j5=0.6043 |
46
+
47
+ ## Phase-end anchor (sim - real)
48
+
49
+ | ph | d_tcp_x (m) | d_tcp_y (m) | d_tcp_z (m) | norm d_tcp (m) | max abs dq (deg) |
50
+ |---:|---:|---:|---:|---:|---:|
51
+ | 0 | 0.00044 | -0.00042 | -0.00077 | 0.00098 | 0.037 |
52
+ | 1 | 0.00040 | -0.00069 | -0.00103 | 0.00130 | 0.044 |
53
+ | 2 | 0.00041 | -0.00071 | -0.00100 | 0.00129 | 0.043 |
54
+ | 3 | 0.00099 | -0.00041 | -0.00038 | 0.00114 | 0.113 |
55
+ | 4 | -0.00015 | -0.00067 | -0.00066 | 0.00096 | 0.111 |
56
+ | 5 | 0.00129 | -0.00107 | -0.00171 | 0.00239 | 0.137 |
57
+ | 6 | 0.00155 | -0.00088 | -0.00097 | 0.00203 | 0.169 |
58
+ | 7 | 0.00030 | -0.00045 | -0.00081 | 0.00098 | 0.041 |
59
+ | 8 | -0.00008 | -0.00012 | -0.00015 | 0.00020 | 0.020 |
60
+
61
+ ## Suggested next edits (`pick_place.py`)
62
+
63
+ 1. No automatic rules fired; use per-phase tables and phase-end deltas to decide the next `pick_place.py` tweak.
64
+
65
+ ## Iteration loop
66
+
67
+ Re-run Isaac with updated `pick_place.py`, export a new sim CSV, then run:
68
+
69
+ ```bash
70
+ python sim_real_gap.py --real episode_29312353.csv --sim "episode (1).csv"
71
+ ```
72
+
73
+ Details: see `GAP_ITERATION.md` in this folder.
gap_reports/gap_07e6aeb7-79c0-4abd-bfd8-f63980ef9c90.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:25 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/07e6aeb7-79c0-4abd-bfd8-f63980ef9c90.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/07e6aeb7-79c0-4abd-bfd8-f63980ef9c90.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 2472 |
12
+ | Sim rows | 221 |
13
+ | Real episode_id | `07e6aeb7-79c0-4abd-bfd8-f63980ef9c90` |
14
+ | Sim episode_id | `07e6aeb7-79c0-4abd-bfd8-f63980ef9c90` |
15
+
16
+ ## Methodology
17
+
18
+ **Scope:** offline comparison of two CSV exports (real executed vs sim-planned/exported) with identical schema; not Isaac replay of real commands. **Kinematic** (joints, logged TCP) and **effort proxy** (`joint_current_*`) only.
19
+
20
+ Within each `task_phase`, time is normalized to [0, 1]. The shorter series is linearly resampled to `max(n_real, n_sim)` samples. RMSE is computed on `joint_*` (deg), TCP position (per-axis pooled, mm), TCP rotation vector (rad -> mrad). **RMS EE (mm)** is the root-mean-square of the **Euclidean** TCP position error per timestep. **W1 effort (A)** is the 1D Wasserstein distance between aligned samples of `joint_current_*` per joint (equal-n sorting). Metrics omitted when `min(n_real, n_sim) < 2`. Phase-end table is **sim - real** on the **last** row of each phase.
21
+
22
+ ## Per-phase metrics
23
+
24
+ | ph | name | n_real | n_sim | RMSE joints (deg) | RMSE TCP pos (mm) | RMS EE L2 (mm) | RMSE rot (mrad) | W1 effort mean (A) |
25
+ |---:|---|---:|---:|---:|---:|---:|---:|---:|
26
+ | 0 | above_pick | 195 | 18 | 2.287 | 10.66 | 18.46 | 1925.41 | 0.5719 |
27
+ | 1 | descend | 318 | 28 | 0.709 | 4.58 | 7.93 | 3625.34 | 0.9474 |
28
+ | 2 | settle | 361 | 32 | 0.024 | 0.75 | 1.29 | 3625.22 | 0.9962 |
29
+ | 3 | close | 119 | 11 | 0.860 | 5.52 | 9.56 | 3109.73 | 1.1739 |
30
+ | 4 | lift | 308 | 27 | 2.013 | 9.80 | 16.98 | 2089.04 | 1.2385 |
31
+ | 5 | move_xy | 365 | 32 | 4.496 | 24.70 | 42.78 | 2660.67 | 1.0318 |
32
+ | 6 | lower | 380 | 33 | 0.089 | 1.37 | 2.37 | 3549.50 | 1.4060 |
33
+ | 7 | open | 119 | 11 | 0.846 | 5.36 | 9.28 | 3625.50 | 0.8040 |
34
+ | 8 | retract | 307 | 27 | 2.100 | 10.43 | 18.07 | 2209.23 | 0.8521 |
35
+
36
+ ## Pooled metrics (matched phases only)
37
+
38
+ | Metric | Value |
39
+ |---|---:|
40
+ | Joints (deg) | 1.996 |
41
+ | TCP position RMSE (mm, per-axis) | 10.60 |
42
+ | EE position RMS L2 (mm) | 19.78 |
43
+ | TCP rotvec (mrad) | 3013.49 |
44
+ | W1 effort mean (A) | 1.0249 |
45
+ | W1 effort per joint (A) | j0=0.6425, j1=1.2957, j2=1.8127, j3=1.0748, j4=0.7218, j5=0.6020 |
46
+
47
+ ## Phase-end anchor (sim - real)
48
+
49
+ | ph | d_tcp_x (m) | d_tcp_y (m) | d_tcp_z (m) | norm d_tcp (m) | max abs dq (deg) |
50
+ |---:|---:|---:|---:|---:|---:|
51
+ | 0 | 0.00039 | -0.00040 | -0.00075 | 0.00093 | 0.041 |
52
+ | 1 | 0.00037 | -0.00070 | -0.00097 | 0.00125 | 0.042 |
53
+ | 2 | 0.00041 | -0.00071 | -0.00099 | 0.00129 | 0.047 |
54
+ | 3 | 0.00099 | -0.00062 | -0.00142 | 0.00184 | 0.109 |
55
+ | 4 | 0.00034 | -0.00005 | -0.00007 | 0.00035 | 0.078 |
56
+ | 5 | 0.00189 | -0.00097 | -0.00096 | 0.00233 | 0.191 |
57
+ | 6 | 0.00092 | -0.00109 | -0.00234 | 0.00274 | 0.187 |
58
+ | 7 | 0.00022 | -0.00045 | -0.00076 | 0.00091 | 0.043 |
59
+ | 8 | -0.00011 | -0.00016 | -0.00017 | 0.00026 | 0.026 |
60
+
61
+ ## Suggested next edits (`pick_place.py`)
62
+
63
+ 1. No automatic rules fired; use per-phase tables and phase-end deltas to decide the next `pick_place.py` tweak.
64
+
65
+ ## Iteration loop
66
+
67
+ Re-run Isaac with updated `pick_place.py`, export a new sim CSV, then run:
68
+
69
+ ```bash
70
+ python sim_real_gap.py --real episode_29312353.csv --sim "episode (1).csv"
71
+ ```
72
+
73
+ Details: see `GAP_ITERATION.md` in this folder.
gap_reports/gap_07fb111e-cb88-4562-b38b-52d6f81256f1.md ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:25 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/07fb111e-cb88-4562-b38b-52d6f81256f1.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/07fb111e-cb88-4562-b38b-52d6f81256f1.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 478 |
12
+ | Sim rows | 64 |
13
+ | Real episode_id | `07fb111e-cb88-4562-b38b-52d6f81256f1` |
14
+ | Sim episode_id | `07fb111e-cb88-4562-b38b-52d6f81256f1` |
15
+
16
+ ## Methodology
17
+
18
+ **Scope:** offline comparison of two CSV exports (real executed vs sim-planned/exported) with identical schema; not Isaac replay of real commands. **Kinematic** (joints, logged TCP) and **effort proxy** (`joint_current_*`) only.
19
+
20
+ Within each `task_phase`, time is normalized to [0, 1]. The shorter series is linearly resampled to `max(n_real, n_sim)` samples. RMSE is computed on `joint_*` (deg), TCP position (per-axis pooled, mm), TCP rotation vector (rad -> mrad). **RMS EE (mm)** is the root-mean-square of the **Euclidean** TCP position error per timestep. **W1 effort (A)** is the 1D Wasserstein distance between aligned samples of `joint_current_*` per joint (equal-n sorting). Metrics omitted when `min(n_real, n_sim) < 2`. Phase-end table is **sim - real** on the **last** row of each phase.
21
+
22
+ ## Per-phase metrics
23
+
24
+ | ph | name | n_real | n_sim | RMSE joints (deg) | RMSE TCP pos (mm) | RMS EE L2 (mm) | RMSE rot (mrad) | W1 effort mean (A) |
25
+ |---:|---|---:|---:|---:|---:|---:|---:|---:|
26
+ | 0 | above_pick | 269 | 27 | 2.763 | 13.78 | 23.87 | 4.73 | 0.7777 |
27
+ | 1 | descend | 209 | 21 | 0.029 | 0.45 | 0.77 | 2.17 | 0.7160 |
28
+
29
+ ## Pooled metrics (matched phases only)
30
+
31
+ | Metric | Value |
32
+ |---|---:|
33
+ | Joints (deg) | 1.954 |
34
+ | TCP position RMSE (mm, per-axis) | 9.75 |
35
+ | EE position RMS L2 (mm) | 17.91 |
36
+ | TCP rotvec (mrad) | 3.68 |
37
+ | W1 effort mean (A) | 0.7506 |
38
+ | W1 effort per joint (A) | j0=0.1416, j1=1.6154, j2=1.5894, j3=0.9086, j4=0.1203, j5=0.1285 |
39
+
40
+ ## Phase-end anchor (sim - real)
41
+
42
+ | ph | d_tcp_x (m) | d_tcp_y (m) | d_tcp_z (m) | norm d_tcp (m) | max abs dq (deg) |
43
+ |---:|---:|---:|---:|---:|---:|
44
+ | 0 | 0.00004 | 0.00001 | 0.00088 | 0.00088 | 0.060 |
45
+ | 1 | 0.00001 | -0.00031 | 0.00066 | 0.00073 | 0.043 |
46
+
47
+ ## Suggested next edits (`pick_place.py`)
48
+
49
+ 1. No automatic rules fired; use per-phase tables and phase-end deltas to decide the next `pick_place.py` tweak.
50
+
51
+ ## Iteration loop
52
+
53
+ Re-run Isaac with updated `pick_place.py`, export a new sim CSV, then run:
54
+
55
+ ```bash
56
+ python sim_real_gap.py --real episode_29312353.csv --sim "episode (1).csv"
57
+ ```
58
+
59
+ Details: see `GAP_ITERATION.md` in this folder.
gap_reports/gap_081a16b0-ddc3-4a5d-8d24-84957a5b15d6.md ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:25 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/081a16b0-ddc3-4a5d-8d24-84957a5b15d6.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/081a16b0-ddc3-4a5d-8d24-84957a5b15d6.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 1627 |
12
+ | Sim rows | 164 |
13
+ | Real episode_id | `081a16b0-ddc3-4a5d-8d24-84957a5b15d6` |
14
+ | Sim episode_id | `081a16b0-ddc3-4a5d-8d24-84957a5b15d6` |
15
+
16
+ ## Methodology
17
+
18
+ **Scope:** offline comparison of two CSV exports (real executed vs sim-planned/exported) with identical schema; not Isaac replay of real commands. **Kinematic** (joints, logged TCP) and **effort proxy** (`joint_current_*`) only.
19
+
20
+ Within each `task_phase`, time is normalized to [0, 1]. The shorter series is linearly resampled to `max(n_real, n_sim)` samples. RMSE is computed on `joint_*` (deg), TCP position (per-axis pooled, mm), TCP rotation vector (rad -> mrad). **RMS EE (mm)** is the root-mean-square of the **Euclidean** TCP position error per timestep. **W1 effort (A)** is the 1D Wasserstein distance between aligned samples of `joint_current_*` per joint (equal-n sorting). Metrics omitted when `min(n_real, n_sim) < 2`. Phase-end table is **sim - real** on the **last** row of each phase.
21
+
22
+ ## Per-phase metrics
23
+
24
+ | ph | name | n_real | n_sim | RMSE joints (deg) | RMSE TCP pos (mm) | RMS EE L2 (mm) | RMSE rot (mrad) | W1 effort mean (A) |
25
+ |---:|---|---:|---:|---:|---:|---:|---:|---:|
26
+ | 0 | above_pick | 162 | 17 | 2.855 | 10.33 | 17.89 | 385.13 | 0.6555 |
27
+ | 1 | descend | 76 | 8 | 0.571 | 2.92 | 5.05 | 3.79 | 0.5586 |
28
+ | 2 | settle | 43 | 5 | 0.017 | 2.11 | 3.65 | 4.46 | 0.5421 |
29
+ | 3 | close | 381 | 37 | 0.159 | 1.72 | 2.98 | 5.72 | 0.9658 |
30
+ | 4 | lift | 76 | 8 | 0.814 | 3.34 | 5.79 | 5.48 | 1.0874 |
31
+ | 5 | move_xy | 155 | 16 | 3.707 | 23.56 | 40.80 | 141.68 | 1.1982 |
32
+ | 6 | lower | 78 | 8 | 0.646 | 3.92 | 6.79 | 10.46 | 1.2252 |
33
+ | 7 | open | 376 | 37 | 0.029 | 2.94 | 5.10 | 6.11 | 0.6768 |
34
+ | 8 | retract | 75 | 8 | 0.563 | 3.90 | 6.75 | 5.54 | 0.7761 |
35
+ | 9 | return | 205 | 20 | 2.063 | 13.68 | 23.69 | 1178.44 | 0.7411 |
36
+
37
+ ## Pooled metrics (matched phases only)
38
+
39
+ | Metric | Value |
40
+ |---|---:|
41
+ | Joints (deg) | 1.670 |
42
+ | TCP position RMSE (mm, per-axis) | 9.57 |
43
+ | EE position RMS L2 (mm) | 16.63 |
44
+ | TCP rotvec (mrad) | 394.64 |
45
+ | W1 effort mean (A) | 0.8136 |
46
+ | W1 effort per joint (A) | j0=0.0968, j1=1.4895, j2=1.5546, j3=0.7849, j4=0.5858, j5=0.3703 |
47
+
48
+ ## Phase-end anchor (sim - real)
49
+
50
+ | ph | d_tcp_x (m) | d_tcp_y (m) | d_tcp_z (m) | norm d_tcp (m) | max abs dq (deg) |
51
+ |---:|---:|---:|---:|---:|---:|
52
+ | 0 | 0.00124 | -0.00313 | 0.00017 | 0.00337 | 0.037 |
53
+ | 1 | 0.00190 | -0.00309 | 0.00025 | 0.00363 | 0.063 |
54
+ | 2 | 0.00187 | -0.00313 | 0.00012 | 0.00365 | 0.025 |
55
+ | 3 | 0.00051 | -0.00293 | -0.00026 | 0.00298 | 0.255 |
56
+ | 4 | 0.00004 | -0.00308 | -0.00053 | 0.00312 | 0.284 |
57
+ | 5 | 0.00170 | -0.00292 | -0.00207 | 0.00397 | 0.252 |
58
+ | 6 | 0.00196 | -0.00268 | -0.00230 | 0.00404 | 0.383 |
59
+ | 7 | 0.00261 | -0.00424 | -0.00107 | 0.00509 | 0.061 |
60
+ | 8 | 0.00218 | -0.00424 | -0.00127 | 0.00493 | 0.074 |
61
+ | 9 | -0.00009 | -0.00018 | -0.00026 | 0.00033 | 0.039 |
62
+
63
+ ## Suggested next edits (`pick_place.py`)
64
+
65
+ 1. No automatic rules fired; use per-phase tables and phase-end deltas to decide the next `pick_place.py` tweak.
66
+
67
+ ## Iteration loop
68
+
69
+ Re-run Isaac with updated `pick_place.py`, export a new sim CSV, then run:
70
+
71
+ ```bash
72
+ python sim_real_gap.py --real episode_29312353.csv --sim "episode (1).csv"
73
+ ```
74
+
75
+ Details: see `GAP_ITERATION.md` in this folder.
gap_reports/gap_081c7bb1-3b90-4e28-9aa2-d7ac00e66381.md ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:25 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/081c7bb1-3b90-4e28-9aa2-d7ac00e66381.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/081c7bb1-3b90-4e28-9aa2-d7ac00e66381.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 1516 |
12
+ | Sim rows | 155 |
13
+ | Real episode_id | `081c7bb1-3b90-4e28-9aa2-d7ac00e66381` |
14
+ | Sim episode_id | `081c7bb1-3b90-4e28-9aa2-d7ac00e66381` |
15
+
16
+ ## Methodology
17
+
18
+ **Scope:** offline comparison of two CSV exports (real executed vs sim-planned/exported) with identical schema; not Isaac replay of real commands. **Kinematic** (joints, logged TCP) and **effort proxy** (`joint_current_*`) only.
19
+
20
+ Within each `task_phase`, time is normalized to [0, 1]. The shorter series is linearly resampled to `max(n_real, n_sim)` samples. RMSE is computed on `joint_*` (deg), TCP position (per-axis pooled, mm), TCP rotation vector (rad -> mrad). **RMS EE (mm)** is the root-mean-square of the **Euclidean** TCP position error per timestep. **W1 effort (A)** is the 1D Wasserstein distance between aligned samples of `joint_current_*` per joint (equal-n sorting). Metrics omitted when `min(n_real, n_sim) < 2`. Phase-end table is **sim - real** on the **last** row of each phase.
21
+
22
+ ## Per-phase metrics
23
+
24
+ | ph | name | n_real | n_sim | RMSE joints (deg) | RMSE TCP pos (mm) | RMS EE L2 (mm) | RMSE rot (mrad) | W1 effort mean (A) |
25
+ |---:|---|---:|---:|---:|---:|---:|---:|---:|
26
+ | 0 | above_pick | 200 | 20 | 1.887 | 12.19 | 21.11 | 397.92 | 0.7355 |
27
+ | 1 | descend | 103 | 11 | 0.826 | 4.97 | 8.61 | 6.13 | 0.7291 |
28
+ | 2 | settle | 31 | 4 | 0.027 | 3.23 | 5.59 | 6.55 | 0.7994 |
29
+ | 3 | close | 291 | 29 | 0.151 | 3.94 | 6.82 | 2880.66 | 1.3251 |
30
+ | 4 | lift | 126 | 13 | 1.152 | 6.96 | 12.06 | 2631.43 | 1.4111 |
31
+ | 5 | move_xy | 204 | 20 | 4.006 | 14.59 | 25.28 | 80.13 | 1.1313 |
32
+ | 6 | lower | 94 | 10 | 6.461 | 3.70 | 6.41 | 253.29 | 0.9608 |
33
+ | 7 | open | 83 | 9 | 6.421 | 2.69 | 4.66 | 252.66 | 0.5993 |
34
+ | 8 | retract | 94 | 10 | 6.466 | 3.82 | 6.62 | 252.12 | 0.6746 |
35
+ | 9 | return | 290 | 29 | 4.507 | 11.18 | 19.37 | 1111.67 | 0.7385 |
36
+
37
+ ## Pooled metrics (matched phases only)
38
+
39
+ | Metric | Value |
40
+ |---|---:|
41
+ | Joints (deg) | 4.083 |
42
+ | TCP position RMSE (mm, per-axis) | 7.88 |
43
+ | EE position RMS L2 (mm) | 15.80 |
44
+ | TCP rotvec (mrad) | 1296.72 |
45
+ | W1 effort mean (A) | 0.9431 |
46
+ | W1 effort per joint (A) | j0=0.2319, j1=1.6802, j2=1.6274, j3=0.8599, j4=0.5599, j5=0.6991 |
47
+
48
+ ## Phase-end anchor (sim - real)
49
+
50
+ | ph | d_tcp_x (m) | d_tcp_y (m) | d_tcp_z (m) | norm d_tcp (m) | max abs dq (deg) |
51
+ |---:|---:|---:|---:|---:|---:|
52
+ | 0 | 0.00189 | -0.00472 | -0.00110 | 0.00520 | 0.046 |
53
+ | 1 | 0.00230 | -0.00495 | -0.00128 | 0.00561 | 0.045 |
54
+ | 2 | 0.00227 | -0.00491 | -0.00138 | 0.00559 | 0.059 |
55
+ | 3 | 0.00307 | -0.00473 | -0.00399 | 0.00691 | 0.245 |
56
+ | 4 | 0.00222 | -0.00474 | -0.00397 | 0.00657 | 0.270 |
57
+ | 5 | 0.00222 | -0.00382 | -0.00144 | 0.00465 | 15.735 |
58
+ | 6 | 0.00302 | -0.00369 | -0.00147 | 0.00498 | 15.727 |
59
+ | 7 | 0.00201 | -0.00419 | -0.00015 | 0.00465 | 15.730 |
60
+ | 8 | 0.00157 | -0.00412 | -0.00022 | 0.00441 | 15.729 |
61
+ | 9 | -0.00011 | -0.00007 | -0.00020 | 0.00024 | 0.031 |
62
+
63
+ ## Suggested next edits (`pick_place.py`)
64
+
65
+ 1. No automatic rules fired; use per-phase tables and phase-end deltas to decide the next `pick_place.py` tweak.
66
+
67
+ ## Iteration loop
68
+
69
+ Re-run Isaac with updated `pick_place.py`, export a new sim CSV, then run:
70
+
71
+ ```bash
72
+ python sim_real_gap.py --real episode_29312353.csv --sim "episode (1).csv"
73
+ ```
74
+
75
+ Details: see `GAP_ITERATION.md` in this folder.
gap_reports/gap_08206409-9aa5-4eee-94c7-1a2b637f89ab.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:25 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/08206409-9aa5-4eee-94c7-1a2b637f89ab.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/08206409-9aa5-4eee-94c7-1a2b637f89ab.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 2887 |
12
+ | Sim rows | 257 |
13
+ | Real episode_id | `08206409-9aa5-4eee-94c7-1a2b637f89ab` |
14
+ | Sim episode_id | `08206409-9aa5-4eee-94c7-1a2b637f89ab` |
15
+
16
+ ## Methodology
17
+
18
+ **Scope:** offline comparison of two CSV exports (real executed vs sim-planned/exported) with identical schema; not Isaac replay of real commands. **Kinematic** (joints, logged TCP) and **effort proxy** (`joint_current_*`) only.
19
+
20
+ Within each `task_phase`, time is normalized to [0, 1]. The shorter series is linearly resampled to `max(n_real, n_sim)` samples. RMSE is computed on `joint_*` (deg), TCP position (per-axis pooled, mm), TCP rotation vector (rad -> mrad). **RMS EE (mm)** is the root-mean-square of the **Euclidean** TCP position error per timestep. **W1 effort (A)** is the 1D Wasserstein distance between aligned samples of `joint_current_*` per joint (equal-n sorting). Metrics omitted when `min(n_real, n_sim) < 2`. Phase-end table is **sim - real** on the **last** row of each phase.
21
+
22
+ ## Per-phase metrics
23
+
24
+ | ph | name | n_real | n_sim | RMSE joints (deg) | RMSE TCP pos (mm) | RMS EE L2 (mm) | RMSE rot (mrad) | W1 effort mean (A) |
25
+ |---:|---|---:|---:|---:|---:|---:|---:|---:|
26
+ | 0 | above_pick | 247 | 22 | 3.337 | 13.02 | 22.55 | 1971.17 | 0.5648 |
27
+ | 1 | descend | 343 | 30 | 1.427 | 8.45 | 14.63 | 3626.12 | 0.6907 |
28
+ | 2 | settle | 428 | 37 | 0.020 | 0.59 | 1.02 | 3625.90 | 0.6466 |
29
+ | 3 | close | 150 | 14 | 1.259 | 7.39 | 12.81 | 1530.64 | 0.9051 |
30
+ | 4 | lift | 336 | 30 | 3.463 | 13.95 | 24.17 | 1942.58 | 1.0603 |
31
+ | 5 | move_xy | 470 | 41 | 7.050 | 31.78 | 55.05 | 2211.40 | 0.9103 |
32
+ | 6 | lower | 425 | 37 | 0.079 | 1.10 | 1.91 | 1707.42 | 0.9707 |
33
+ | 7 | open | 152 | 14 | 1.159 | 6.58 | 11.40 | 3626.10 | 0.6538 |
34
+ | 8 | retract | 336 | 30 | 3.247 | 13.12 | 22.72 | 2446.80 | 0.6919 |
35
+
36
+ ## Pooled metrics (matched phases only)
37
+
38
+ | Metric | Value |
39
+ |---|---:|
40
+ | Joints (deg) | 3.133 |
41
+ | TCP position RMSE (mm, per-axis) | 13.81 |
42
+ | EE position RMS L2 (mm) | 26.58 |
43
+ | TCP rotvec (mrad) | 2650.76 |
44
+ | W1 effort mean (A) | 0.7821 |
45
+ | W1 effort per joint (A) | j0=0.2117, j1=1.1880, j2=1.5983, j3=0.7750, j4=0.2917, j5=0.6278 |
46
+
47
+ ## Phase-end anchor (sim - real)
48
+
49
+ | ph | d_tcp_x (m) | d_tcp_y (m) | d_tcp_z (m) | norm d_tcp (m) | max abs dq (deg) |
50
+ |---:|---:|---:|---:|---:|---:|
51
+ | 0 | 0.00038 | -0.00019 | -0.00051 | 0.00067 | 0.039 |
52
+ | 1 | 0.00041 | -0.00055 | -0.00079 | 0.00105 | 0.040 |
53
+ | 2 | 0.00039 | -0.00056 | -0.00073 | 0.00100 | 0.035 |
54
+ | 3 | 0.00055 | -0.00043 | -0.00028 | 0.00075 | 0.097 |
55
+ | 4 | 0.00048 | 0.00017 | -0.00023 | 0.00056 | 0.103 |
56
+ | 5 | 0.00153 | -0.00073 | -0.00021 | 0.00170 | 0.165 |
57
+ | 6 | 0.00131 | -0.00081 | -0.00209 | 0.00260 | 0.155 |
58
+ | 7 | 0.00021 | -0.00030 | -0.00050 | 0.00062 | 0.033 |
59
+ | 8 | -0.00006 | -0.00009 | -0.00014 | 0.00018 | 0.028 |
60
+
61
+ ## Suggested next edits (`pick_place.py`)
62
+
63
+ 1. No automatic rules fired; use per-phase tables and phase-end deltas to decide the next `pick_place.py` tweak.
64
+
65
+ ## Iteration loop
66
+
67
+ Re-run Isaac with updated `pick_place.py`, export a new sim CSV, then run:
68
+
69
+ ```bash
70
+ python sim_real_gap.py --real episode_29312353.csv --sim "episode (1).csv"
71
+ ```
72
+
73
+ Details: see `GAP_ITERATION.md` in this folder.
gap_reports/gap_08521a2b-abd0-4d75-9531-e3def2c6eb81.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:25 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/08521a2b-abd0-4d75-9531-e3def2c6eb81.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/08521a2b-abd0-4d75-9531-e3def2c6eb81.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 2540 |
12
+ | Sim rows | 228 |
13
+ | Real episode_id | `08521a2b-abd0-4d75-9531-e3def2c6eb81` |
14
+ | Sim episode_id | `08521a2b-abd0-4d75-9531-e3def2c6eb81` |
15
+
16
+ ## Methodology
17
+
18
+ **Scope:** offline comparison of two CSV exports (real executed vs sim-planned/exported) with identical schema; not Isaac replay of real commands. **Kinematic** (joints, logged TCP) and **effort proxy** (`joint_current_*`) only.
19
+
20
+ Within each `task_phase`, time is normalized to [0, 1]. The shorter series is linearly resampled to `max(n_real, n_sim)` samples. RMSE is computed on `joint_*` (deg), TCP position (per-axis pooled, mm), TCP rotation vector (rad -> mrad). **RMS EE (mm)** is the root-mean-square of the **Euclidean** TCP position error per timestep. **W1 effort (A)** is the 1D Wasserstein distance between aligned samples of `joint_current_*` per joint (equal-n sorting). Metrics omitted when `min(n_real, n_sim) < 2`. Phase-end table is **sim - real** on the **last** row of each phase.
21
+
22
+ ## Per-phase metrics
23
+
24
+ | ph | name | n_real | n_sim | RMSE joints (deg) | RMSE TCP pos (mm) | RMS EE L2 (mm) | RMSE rot (mrad) | W1 effort mean (A) |
25
+ |---:|---|---:|---:|---:|---:|---:|---:|---:|
26
+ | 0 | above_pick | 190 | 17 | 2.191 | 8.31 | 14.39 | 1986.06 | 0.5631 |
27
+ | 1 | descend | 292 | 26 | 1.171 | 6.80 | 11.77 | 3626.02 | 0.7595 |
28
+ | 2 | settle | 382 | 33 | 0.022 | 0.58 | 1.00 | 3625.97 | 0.6627 |
29
+ | 3 | close | 183 | 17 | 0.904 | 5.19 | 9.00 | 1043.57 | 0.8897 |
30
+ | 4 | lift | 268 | 24 | 2.724 | 11.06 | 19.16 | 2079.72 | 1.0688 |
31
+ | 5 | move_xy | 377 | 33 | 5.341 | 24.88 | 43.10 | 1871.73 | 0.8822 |
32
+ | 6 | lower | 399 | 35 | 0.081 | 1.05 | 1.82 | 1863.13 | 1.0123 |
33
+ | 7 | open | 181 | 17 | 0.879 | 5.07 | 8.77 | 3626.15 | 0.6143 |
34
+ | 8 | retract | 268 | 24 | 2.482 | 10.18 | 17.64 | 2333.54 | 0.6955 |
35
+
36
+ ## Pooled metrics (matched phases only)
37
+
38
+ | Metric | Value |
39
+ |---|---:|
40
+ | Joints (deg) | 2.354 |
41
+ | TCP position RMSE (mm, per-axis) | 10.62 |
42
+ | EE position RMS L2 (mm) | 19.77 |
43
+ | TCP rotvec (mrad) | 2608.18 |
44
+ | W1 effort mean (A) | 0.7904 |
45
+ | W1 effort per joint (A) | j0=0.2154, j1=1.1737, j2=1.6013, j3=0.8002, j4=0.3602, j5=0.5916 |
46
+
47
+ ## Phase-end anchor (sim - real)
48
+
49
+ | ph | d_tcp_x (m) | d_tcp_y (m) | d_tcp_z (m) | norm d_tcp (m) | max abs dq (deg) |
50
+ |---:|---:|---:|---:|---:|---:|
51
+ | 0 | 0.00012 | -0.00035 | -0.00051 | 0.00063 | 0.034 |
52
+ | 1 | 0.00013 | -0.00058 | -0.00077 | 0.00097 | 0.037 |
53
+ | 2 | 0.00019 | -0.00058 | -0.00076 | 0.00098 | 0.035 |
54
+ | 3 | 0.00054 | -0.00036 | -0.00022 | 0.00069 | 0.099 |
55
+ | 4 | 0.00063 | -0.00003 | -0.00036 | 0.00073 | 0.137 |
56
+ | 5 | 0.00070 | -0.00079 | -0.00063 | 0.00123 | 0.108 |
57
+ | 6 | 0.00094 | -0.00074 | -0.00046 | 0.00128 | 0.117 |
58
+ | 7 | -0.00000 | -0.00037 | -0.00057 | 0.00068 | 0.038 |
59
+ | 8 | -0.00006 | -0.00010 | -0.00013 | 0.00018 | 0.028 |
60
+
61
+ ## Suggested next edits (`pick_place.py`)
62
+
63
+ 1. No automatic rules fired; use per-phase tables and phase-end deltas to decide the next `pick_place.py` tweak.
64
+
65
+ ## Iteration loop
66
+
67
+ Re-run Isaac with updated `pick_place.py`, export a new sim CSV, then run:
68
+
69
+ ```bash
70
+ python sim_real_gap.py --real episode_29312353.csv --sim "episode (1).csv"
71
+ ```
72
+
73
+ Details: see `GAP_ITERATION.md` in this folder.
gap_reports/gap_085b8a6d-94ad-4194-8839-e48cbbcc59e9.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:25 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/085b8a6d-94ad-4194-8839-e48cbbcc59e9.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/085b8a6d-94ad-4194-8839-e48cbbcc59e9.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 2462 |
12
+ | Sim rows | 222 |
13
+ | Real episode_id | `085b8a6d-94ad-4194-8839-e48cbbcc59e9` |
14
+ | Sim episode_id | `085b8a6d-94ad-4194-8839-e48cbbcc59e9` |
15
+
16
+ ## Methodology
17
+
18
+ **Scope:** offline comparison of two CSV exports (real executed vs sim-planned/exported) with identical schema; not Isaac replay of real commands. **Kinematic** (joints, logged TCP) and **effort proxy** (`joint_current_*`) only.
19
+
20
+ Within each `task_phase`, time is normalized to [0, 1]. The shorter series is linearly resampled to `max(n_real, n_sim)` samples. RMSE is computed on `joint_*` (deg), TCP position (per-axis pooled, mm), TCP rotation vector (rad -> mrad). **RMS EE (mm)** is the root-mean-square of the **Euclidean** TCP position error per timestep. **W1 effort (A)** is the 1D Wasserstein distance between aligned samples of `joint_current_*` per joint (equal-n sorting). Metrics omitted when `min(n_real, n_sim) < 2`. Phase-end table is **sim - real** on the **last** row of each phase.
21
+
22
+ ## Per-phase metrics
23
+
24
+ | ph | name | n_real | n_sim | RMSE joints (deg) | RMSE TCP pos (mm) | RMS EE L2 (mm) | RMSE rot (mrad) | W1 effort mean (A) |
25
+ |---:|---|---:|---:|---:|---:|---:|---:|---:|
26
+ | 0 | above_pick | 177 | 16 | 2.060 | 7.78 | 13.48 | 1965.35 | 0.5587 |
27
+ | 1 | descend | 315 | 28 | 1.036 | 6.01 | 10.42 | 3626.09 | 0.7069 |
28
+ | 2 | settle | 398 | 35 | 0.020 | 0.56 | 0.98 | 3625.89 | 0.6480 |
29
+ | 3 | close | 118 | 11 | 0.897 | 5.22 | 9.04 | 1631.35 | 0.9158 |
30
+ | 4 | lift | 270 | 24 | 2.428 | 10.02 | 17.36 | 1929.03 | 1.0335 |
31
+ | 5 | move_xy | 357 | 32 | 5.458 | 25.85 | 44.78 | 2086.25 | 0.8958 |
32
+ | 6 | lower | 438 | 39 | 0.078 | 1.02 | 1.76 | 1700.45 | 1.0288 |
33
+ | 7 | open | 118 | 11 | 0.932 | 5.41 | 9.38 | 3626.02 | 0.6357 |
34
+ | 8 | retract | 271 | 24 | 2.391 | 9.80 | 16.97 | 2299.60 | 0.6801 |
35
+
36
+ ## Pooled metrics (matched phases only)
37
+
38
+ | Metric | Value |
39
+ |---|---:|
40
+ | Joints (deg) | 2.319 |
41
+ | TCP position RMSE (mm, per-axis) | 10.64 |
42
+ | EE position RMS L2 (mm) | 19.78 |
43
+ | TCP rotvec (mrad) | 2629.34 |
44
+ | W1 effort mean (A) | 0.7880 |
45
+ | W1 effort per joint (A) | j0=0.2004, j1=1.1854, j2=1.6466, j3=0.8240, j4=0.2433, j5=0.6283 |
46
+
47
+ ## Phase-end anchor (sim - real)
48
+
49
+ | ph | d_tcp_x (m) | d_tcp_y (m) | d_tcp_z (m) | norm d_tcp (m) | max abs dq (deg) |
50
+ |---:|---:|---:|---:|---:|---:|
51
+ | 0 | 0.00013 | -0.00034 | -0.00048 | 0.00060 | 0.030 |
52
+ | 1 | 0.00015 | -0.00058 | -0.00074 | 0.00095 | 0.033 |
53
+ | 2 | 0.00015 | -0.00057 | -0.00078 | 0.00098 | 0.035 |
54
+ | 3 | 0.00055 | -0.00040 | -0.00023 | 0.00072 | 0.089 |
55
+ | 4 | 0.00033 | -0.00024 | -0.00047 | 0.00062 | 0.097 |
56
+ | 5 | 0.00098 | -0.00077 | -0.00080 | 0.00148 | 0.140 |
57
+ | 6 | 0.00114 | -0.00098 | -0.00136 | 0.00203 | 0.164 |
58
+ | 7 | -0.00011 | -0.00036 | -0.00054 | 0.00066 | 0.038 |
59
+ | 8 | -0.00008 | -0.00012 | -0.00015 | 0.00021 | 0.031 |
60
+
61
+ ## Suggested next edits (`pick_place.py`)
62
+
63
+ 1. No automatic rules fired; use per-phase tables and phase-end deltas to decide the next `pick_place.py` tweak.
64
+
65
+ ## Iteration loop
66
+
67
+ Re-run Isaac with updated `pick_place.py`, export a new sim CSV, then run:
68
+
69
+ ```bash
70
+ python sim_real_gap.py --real episode_29312353.csv --sim "episode (1).csv"
71
+ ```
72
+
73
+ Details: see `GAP_ITERATION.md` in this folder.
gap_reports/gap_08c773e2-b22c-4dcb-9407-089395e30ecf.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:25 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/08c773e2-b22c-4dcb-9407-089395e30ecf.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/08c773e2-b22c-4dcb-9407-089395e30ecf.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 2596 |
12
+ | Sim rows | 231 |
13
+ | Real episode_id | `08c773e2-b22c-4dcb-9407-089395e30ecf` |
14
+ | Sim episode_id | `08c773e2-b22c-4dcb-9407-089395e30ecf` |
15
+
16
+ ## Methodology
17
+
18
+ **Scope:** offline comparison of two CSV exports (real executed vs sim-planned/exported) with identical schema; not Isaac replay of real commands. **Kinematic** (joints, logged TCP) and **effort proxy** (`joint_current_*`) only.
19
+
20
+ Within each `task_phase`, time is normalized to [0, 1]. The shorter series is linearly resampled to `max(n_real, n_sim)` samples. RMSE is computed on `joint_*` (deg), TCP position (per-axis pooled, mm), TCP rotation vector (rad -> mrad). **RMS EE (mm)** is the root-mean-square of the **Euclidean** TCP position error per timestep. **W1 effort (A)** is the 1D Wasserstein distance between aligned samples of `joint_current_*` per joint (equal-n sorting). Metrics omitted when `min(n_real, n_sim) < 2`. Phase-end table is **sim - real** on the **last** row of each phase.
21
+
22
+ ## Per-phase metrics
23
+
24
+ | ph | name | n_real | n_sim | RMSE joints (deg) | RMSE TCP pos (mm) | RMS EE L2 (mm) | RMSE rot (mrad) | W1 effort mean (A) |
25
+ |---:|---|---:|---:|---:|---:|---:|---:|---:|
26
+ | 0 | above_pick | 159 | 14 | 2.326 | 9.59 | 16.60 | 1950.28 | 0.5754 |
27
+ | 1 | descend | 390 | 34 | 1.614 | 9.53 | 16.51 | 3626.00 | 0.7939 |
28
+ | 2 | settle | 352 | 31 | 0.023 | 0.57 | 0.98 | 3615.68 | 0.7534 |
29
+ | 3 | close | 128 | 12 | 1.020 | 5.82 | 10.08 | 1256.98 | 0.9172 |
30
+ | 4 | lift | 368 | 32 | 2.677 | 10.90 | 18.88 | 1982.21 | 1.0514 |
31
+ | 5 | move_xy | 308 | 27 | 5.671 | 26.10 | 45.21 | 2405.05 | 0.9056 |
32
+ | 6 | lower | 397 | 35 | 0.075 | 0.98 | 1.70 | 1681.71 | 1.0165 |
33
+ | 7 | open | 127 | 12 | 0.982 | 5.65 | 9.79 | 3626.16 | 0.6124 |
34
+ | 8 | retract | 367 | 32 | 2.608 | 10.75 | 18.61 | 2302.62 | 0.6880 |
35
+
36
+ ## Pooled metrics (matched phases only)
37
+
38
+ | Metric | Value |
39
+ |---|---:|
40
+ | Joints (deg) | 2.498 |
41
+ | TCP position RMSE (mm, per-axis) | 11.38 |
42
+ | EE position RMS L2 (mm) | 20.25 |
43
+ | TCP rotvec (mrad) | 2637.28 |
44
+ | W1 effort mean (A) | 0.8223 |
45
+ | W1 effort per joint (A) | j0=0.3005, j1=1.1874, j2=1.6130, j3=0.7523, j4=0.4767, j5=0.6040 |
46
+
47
+ ## Phase-end anchor (sim - real)
48
+
49
+ | ph | d_tcp_x (m) | d_tcp_y (m) | d_tcp_z (m) | norm d_tcp (m) | max abs dq (deg) |
50
+ |---:|---:|---:|---:|---:|---:|
51
+ | 0 | 0.00010 | -0.00035 | -0.00043 | 0.00056 | 0.034 |
52
+ | 1 | 0.00014 | -0.00059 | -0.00078 | 0.00099 | 0.037 |
53
+ | 2 | 0.00017 | -0.00060 | -0.00076 | 0.00098 | 0.033 |
54
+ | 3 | 0.00041 | -0.00045 | -0.00085 | 0.00105 | 0.107 |
55
+ | 4 | 0.00018 | -0.00015 | -0.00013 | 0.00027 | 0.093 |
56
+ | 5 | 0.00104 | -0.00081 | -0.00153 | 0.00202 | 0.131 |
57
+ | 6 | 0.00132 | -0.00089 | -0.00145 | 0.00215 | 0.175 |
58
+ | 7 | -0.00010 | -0.00037 | -0.00054 | 0.00066 | 0.037 |
59
+ | 8 | -0.00007 | -0.00007 | -0.00010 | 0.00014 | 0.020 |
60
+
61
+ ## Suggested next edits (`pick_place.py`)
62
+
63
+ 1. No automatic rules fired; use per-phase tables and phase-end deltas to decide the next `pick_place.py` tweak.
64
+
65
+ ## Iteration loop
66
+
67
+ Re-run Isaac with updated `pick_place.py`, export a new sim CSV, then run:
68
+
69
+ ```bash
70
+ python sim_real_gap.py --real episode_29312353.csv --sim "episode (1).csv"
71
+ ```
72
+
73
+ Details: see `GAP_ITERATION.md` in this folder.
gap_reports/gap_08cf2416-3eaf-471a-8c19-c704c0224675.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:25 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/08cf2416-3eaf-471a-8c19-c704c0224675.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/08cf2416-3eaf-471a-8c19-c704c0224675.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 2885 |
12
+ | Sim rows | 286 |
13
+ | Real episode_id | `08cf2416-3eaf-471a-8c19-c704c0224675` |
14
+ | Sim episode_id | `08cf2416-3eaf-471a-8c19-c704c0224675` |
15
+
16
+ ## Methodology
17
+
18
+ **Scope:** offline comparison of two CSV exports (real executed vs sim-planned/exported) with identical schema; not Isaac replay of real commands. **Kinematic** (joints, logged TCP) and **effort proxy** (`joint_current_*`) only.
19
+
20
+ Within each `task_phase`, time is normalized to [0, 1]. The shorter series is linearly resampled to `max(n_real, n_sim)` samples. RMSE is computed on `joint_*` (deg), TCP position (per-axis pooled, mm), TCP rotation vector (rad -> mrad). **RMS EE (mm)** is the root-mean-square of the **Euclidean** TCP position error per timestep. **W1 effort (A)** is the 1D Wasserstein distance between aligned samples of `joint_current_*` per joint (equal-n sorting). Metrics omitted when `min(n_real, n_sim) < 2`. Phase-end table is **sim - real** on the **last** row of each phase.
21
+
22
+ ## Per-phase metrics
23
+
24
+ | ph | name | n_real | n_sim | RMSE joints (deg) | RMSE TCP pos (mm) | RMS EE L2 (mm) | RMSE rot (mrad) | W1 effort mean (A) |
25
+ |---:|---|---:|---:|---:|---:|---:|---:|---:|
26
+ | 0 | above_pick | 225 | 22 | 3.848 | 18.54 | 32.11 | 1963.26 | 0.6348 |
27
+ | 1 | descend | 475 | 46 | 0.725 | 5.26 | 9.11 | 3624.74 | 0.8285 |
28
+ | 2 | settle | 334 | 33 | 0.027 | 1.02 | 1.77 | 3624.57 | 0.7087 |
29
+ | 3 | close | 139 | 14 | 0.947 | 6.42 | 11.12 | 3625.01 | 1.0089 |
30
+ | 4 | lift | 405 | 40 | 3.617 | 18.82 | 32.59 | 2522.22 | 1.1174 |
31
+ | 5 | move_xy | 406 | 40 | 8.785 | 47.94 | 83.03 | 2838.87 | 0.9357 |
32
+ | 6 | lower | 353 | 35 | 0.091 | 1.75 | 3.03 | 3625.05 | 1.0309 |
33
+ | 7 | open | 140 | 14 | 1.112 | 7.58 | 13.13 | 3624.74 | 0.7497 |
34
+ | 8 | retract | 408 | 40 | 3.386 | 17.78 | 30.79 | 2473.72 | 0.7575 |
35
+
36
+ ## Pooled metrics (matched phases only)
37
+
38
+ | Metric | Value |
39
+ |---|---:|
40
+ | Joints (deg) | 3.639 |
41
+ | TCP position RMSE (mm, per-axis) | 19.56 |
42
+ | EE position RMS L2 (mm) | 36.92 |
43
+ | TCP rotvec (mrad) | 3163.88 |
44
+ | W1 effort mean (A) | 0.8504 |
45
+ | W1 effort per joint (A) | j0=0.2527, j1=1.5761, j2=1.6267, j3=0.7516, j4=0.2827, j5=0.6126 |
46
+
47
+ ## Phase-end anchor (sim - real)
48
+
49
+ | ph | d_tcp_x (m) | d_tcp_y (m) | d_tcp_z (m) | norm d_tcp (m) | max abs dq (deg) |
50
+ |---:|---:|---:|---:|---:|---:|
51
+ | 0 | 0.00107 | -0.00020 | -0.00074 | 0.00132 | 0.025 |
52
+ | 1 | 0.00109 | -0.00064 | -0.00119 | 0.00174 | 0.058 |
53
+ | 2 | 0.00112 | -0.00064 | -0.00119 | 0.00175 | 0.056 |
54
+ | 3 | 0.00187 | -0.00017 | -0.00248 | 0.00311 | 0.232 |
55
+ | 4 | 0.00013 | -0.00016 | -0.00009 | 0.00022 | 0.084 |
56
+ | 5 | 0.00278 | -0.00098 | -0.00219 | 0.00368 | 0.204 |
57
+ | 6 | 0.00211 | -0.00086 | -0.00122 | 0.00258 | 0.114 |
58
+ | 7 | 0.00088 | -0.00023 | -0.00099 | 0.00134 | 0.062 |
59
+ | 8 | -0.00007 | -0.00011 | -0.00013 | 0.00019 | 0.018 |
60
+
61
+ ## Suggested next edits (`pick_place.py`)
62
+
63
+ 1. No automatic rules fired; use per-phase tables and phase-end deltas to decide the next `pick_place.py` tweak.
64
+
65
+ ## Iteration loop
66
+
67
+ Re-run Isaac with updated `pick_place.py`, export a new sim CSV, then run:
68
+
69
+ ```bash
70
+ python sim_real_gap.py --real episode_29312353.csv --sim "episode (1).csv"
71
+ ```
72
+
73
+ Details: see `GAP_ITERATION.md` in this folder.
gap_reports/gap_08e0b8ad-276a-42af-aba6-d11aad87cbff.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:25 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/08e0b8ad-276a-42af-aba6-d11aad87cbff.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/08e0b8ad-276a-42af-aba6-d11aad87cbff.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 2703 |
12
+ | Sim rows | 241 |
13
+ | Real episode_id | `08e0b8ad-276a-42af-aba6-d11aad87cbff` |
14
+ | Sim episode_id | `08e0b8ad-276a-42af-aba6-d11aad87cbff` |
15
+
16
+ ## Methodology
17
+
18
+ **Scope:** offline comparison of two CSV exports (real executed vs sim-planned/exported) with identical schema; not Isaac replay of real commands. **Kinematic** (joints, logged TCP) and **effort proxy** (`joint_current_*`) only.
19
+
20
+ Within each `task_phase`, time is normalized to [0, 1]. The shorter series is linearly resampled to `max(n_real, n_sim)` samples. RMSE is computed on `joint_*` (deg), TCP position (per-axis pooled, mm), TCP rotation vector (rad -> mrad). **RMS EE (mm)** is the root-mean-square of the **Euclidean** TCP position error per timestep. **W1 effort (A)** is the 1D Wasserstein distance between aligned samples of `joint_current_*` per joint (equal-n sorting). Metrics omitted when `min(n_real, n_sim) < 2`. Phase-end table is **sim - real** on the **last** row of each phase.
21
+
22
+ ## Per-phase metrics
23
+
24
+ | ph | name | n_real | n_sim | RMSE joints (deg) | RMSE TCP pos (mm) | RMS EE L2 (mm) | RMSE rot (mrad) | W1 effort mean (A) |
25
+ |---:|---|---:|---:|---:|---:|---:|---:|---:|
26
+ | 0 | above_pick | 185 | 17 | 2.397 | 12.61 | 21.85 | 1976.49 | 0.6189 |
27
+ | 1 | descend | 382 | 33 | 1.011 | 6.97 | 12.08 | 3624.67 | 0.8088 |
28
+ | 2 | settle | 391 | 34 | 0.027 | 0.97 | 1.69 | 3624.53 | 0.7932 |
29
+ | 3 | close | 157 | 14 | 0.672 | 4.74 | 8.21 | 3625.25 | 1.0365 |
30
+ | 4 | lift | 350 | 31 | 2.447 | 14.36 | 24.87 | 2317.14 | 1.1240 |
31
+ | 5 | move_xy | 352 | 31 | 5.784 | 35.50 | 61.48 | 2885.04 | 0.9392 |
32
+ | 6 | lower | 386 | 34 | 0.094 | 1.70 | 2.95 | 3624.80 | 1.1384 |
33
+ | 7 | open | 153 | 14 | 0.905 | 6.20 | 10.74 | 3624.70 | 0.7525 |
34
+ | 8 | retract | 347 | 31 | 2.472 | 14.56 | 25.22 | 2302.42 | 0.7422 |
35
+
36
+ ## Pooled metrics (matched phases only)
37
+
38
+ | Metric | Value |
39
+ |---|---:|
40
+ | Joints (deg) | 2.440 |
41
+ | TCP position RMSE (mm, per-axis) | 14.72 |
42
+ | EE position RMS L2 (mm) | 26.82 |
43
+ | TCP rotvec (mrad) | 3137.51 |
44
+ | W1 effort mean (A) | 0.8746 |
45
+ | W1 effort per joint (A) | j0=0.2312, j1=1.6229, j2=1.7210, j3=0.7762, j4=0.2996, j5=0.5966 |
46
+
47
+ ## Phase-end anchor (sim - real)
48
+
49
+ | ph | d_tcp_x (m) | d_tcp_y (m) | d_tcp_z (m) | norm d_tcp (m) | max abs dq (deg) |
50
+ |---:|---:|---:|---:|---:|---:|
51
+ | 0 | 0.00080 | -0.00049 | -0.00071 | 0.00117 | 0.031 |
52
+ | 1 | 0.00074 | -0.00087 | -0.00122 | 0.00167 | 0.056 |
53
+ | 2 | 0.00077 | -0.00088 | -0.00125 | 0.00171 | 0.058 |
54
+ | 3 | 0.00149 | -0.00065 | -0.00127 | 0.00207 | 0.098 |
55
+ | 4 | 0.00012 | -0.00039 | -0.00045 | 0.00061 | 0.099 |
56
+ | 5 | 0.00154 | -0.00118 | -0.00203 | 0.00280 | 0.116 |
57
+ | 6 | 0.00215 | -0.00104 | -0.00124 | 0.00269 | 0.193 |
58
+ | 7 | 0.00063 | -0.00055 | -0.00101 | 0.00131 | 0.044 |
59
+ | 8 | -0.00012 | -0.00018 | -0.00016 | 0.00027 | 0.030 |
60
+
61
+ ## Suggested next edits (`pick_place.py`)
62
+
63
+ 1. No automatic rules fired; use per-phase tables and phase-end deltas to decide the next `pick_place.py` tweak.
64
+
65
+ ## Iteration loop
66
+
67
+ Re-run Isaac with updated `pick_place.py`, export a new sim CSV, then run:
68
+
69
+ ```bash
70
+ python sim_real_gap.py --real episode_29312353.csv --sim "episode (1).csv"
71
+ ```
72
+
73
+ Details: see `GAP_ITERATION.md` in this folder.
gap_reports/gap_08e71191-42d1-4243-bc5e-97068a3a60ea.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:25 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/08e71191-42d1-4243-bc5e-97068a3a60ea.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/08e71191-42d1-4243-bc5e-97068a3a60ea.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 2517 |
12
+ | Sim rows | 223 |
13
+ | Real episode_id | `08e71191-42d1-4243-bc5e-97068a3a60ea` |
14
+ | Sim episode_id | `08e71191-42d1-4243-bc5e-97068a3a60ea` |
15
+
16
+ ## Methodology
17
+
18
+ **Scope:** offline comparison of two CSV exports (real executed vs sim-planned/exported) with identical schema; not Isaac replay of real commands. **Kinematic** (joints, logged TCP) and **effort proxy** (`joint_current_*`) only.
19
+
20
+ Within each `task_phase`, time is normalized to [0, 1]. The shorter series is linearly resampled to `max(n_real, n_sim)` samples. RMSE is computed on `joint_*` (deg), TCP position (per-axis pooled, mm), TCP rotation vector (rad -> mrad). **RMS EE (mm)** is the root-mean-square of the **Euclidean** TCP position error per timestep. **W1 effort (A)** is the 1D Wasserstein distance between aligned samples of `joint_current_*` per joint (equal-n sorting). Metrics omitted when `min(n_real, n_sim) < 2`. Phase-end table is **sim - real** on the **last** row of each phase.
21
+
22
+ ## Per-phase metrics
23
+
24
+ | ph | name | n_real | n_sim | RMSE joints (deg) | RMSE TCP pos (mm) | RMS EE L2 (mm) | RMSE rot (mrad) | W1 effort mean (A) |
25
+ |---:|---|---:|---:|---:|---:|---:|---:|---:|
26
+ | 0 | above_pick | 193 | 17 | 2.371 | 12.44 | 21.54 | 1881.56 | 0.6281 |
27
+ | 1 | descend | 328 | 29 | 0.898 | 6.33 | 10.96 | 3624.68 | 0.8365 |
28
+ | 2 | settle | 370 | 32 | 0.027 | 0.97 | 1.69 | 3624.54 | 0.7113 |
29
+ | 3 | close | 119 | 11 | 0.555 | 4.12 | 7.14 | 3625.12 | 1.0627 |
30
+ | 4 | lift | 332 | 29 | 1.790 | 9.75 | 16.89 | 2242.28 | 1.1589 |
31
+ | 5 | move_xy | 316 | 28 | 6.385 | 37.35 | 64.69 | 2705.33 | 0.9286 |
32
+ | 6 | lower | 405 | 35 | 0.088 | 1.65 | 2.86 | 3625.19 | 1.0054 |
33
+ | 7 | open | 121 | 11 | 0.502 | 3.59 | 6.22 | 3624.69 | 0.7432 |
34
+ | 8 | retract | 333 | 29 | 2.195 | 12.07 | 20.91 | 2247.28 | 0.7528 |
35
+
36
+ ## Pooled metrics (matched phases only)
37
+
38
+ | Metric | Value |
39
+ |---|---:|
40
+ | Joints (deg) | 2.490 |
41
+ | TCP position RMSE (mm, per-axis) | 14.39 |
42
+ | EE position RMS L2 (mm) | 26.04 |
43
+ | TCP rotvec (mrad) | 3102.59 |
44
+ | W1 effort mean (A) | 0.8571 |
45
+ | W1 effort per joint (A) | j0=0.2364, j1=1.5364, j2=1.7050, j3=0.7709, j4=0.3235, j5=0.5705 |
46
+
47
+ ## Phase-end anchor (sim - real)
48
+
49
+ | ph | d_tcp_x (m) | d_tcp_y (m) | d_tcp_z (m) | norm d_tcp (m) | max abs dq (deg) |
50
+ |---:|---:|---:|---:|---:|---:|
51
+ | 0 | 0.00093 | -0.00045 | -0.00074 | 0.00127 | 0.025 |
52
+ | 1 | 0.00090 | -0.00073 | -0.00118 | 0.00165 | 0.050 |
53
+ | 2 | 0.00095 | -0.00077 | -0.00120 | 0.00171 | 0.060 |
54
+ | 3 | 0.00144 | -0.00064 | -0.00068 | 0.00172 | 0.104 |
55
+ | 4 | 0.00020 | -0.00018 | -0.00016 | 0.00031 | 0.092 |
56
+ | 5 | 0.00200 | -0.00101 | -0.00130 | 0.00259 | 0.134 |
57
+ | 6 | 0.00163 | -0.00103 | -0.00216 | 0.00289 | 0.149 |
58
+ | 7 | 0.00072 | -0.00046 | -0.00103 | 0.00134 | 0.044 |
59
+ | 8 | -0.00014 | -0.00019 | -0.00018 | 0.00030 | 0.032 |
60
+
61
+ ## Suggested next edits (`pick_place.py`)
62
+
63
+ 1. No automatic rules fired; use per-phase tables and phase-end deltas to decide the next `pick_place.py` tweak.
64
+
65
+ ## Iteration loop
66
+
67
+ Re-run Isaac with updated `pick_place.py`, export a new sim CSV, then run:
68
+
69
+ ```bash
70
+ python sim_real_gap.py --real episode_29312353.csv --sim "episode (1).csv"
71
+ ```
72
+
73
+ Details: see `GAP_ITERATION.md` in this folder.
gap_reports/gap_0921ada1-e4e7-45e1-a8a1-343adc9b3d02.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:25 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/0921ada1-e4e7-45e1-a8a1-343adc9b3d02.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/0921ada1-e4e7-45e1-a8a1-343adc9b3d02.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 2654 |
12
+ | Sim rows | 235 |
13
+ | Real episode_id | `0921ada1-e4e7-45e1-a8a1-343adc9b3d02` |
14
+ | Sim episode_id | `0921ada1-e4e7-45e1-a8a1-343adc9b3d02` |
15
+
16
+ ## Methodology
17
+
18
+ **Scope:** offline comparison of two CSV exports (real executed vs sim-planned/exported) with identical schema; not Isaac replay of real commands. **Kinematic** (joints, logged TCP) and **effort proxy** (`joint_current_*`) only.
19
+
20
+ Within each `task_phase`, time is normalized to [0, 1]. The shorter series is linearly resampled to `max(n_real, n_sim)` samples. RMSE is computed on `joint_*` (deg), TCP position (per-axis pooled, mm), TCP rotation vector (rad -> mrad). **RMS EE (mm)** is the root-mean-square of the **Euclidean** TCP position error per timestep. **W1 effort (A)** is the 1D Wasserstein distance between aligned samples of `joint_current_*` per joint (equal-n sorting). Metrics omitted when `min(n_real, n_sim) < 2`. Phase-end table is **sim - real** on the **last** row of each phase.
21
+
22
+ ## Per-phase metrics
23
+
24
+ | ph | name | n_real | n_sim | RMSE joints (deg) | RMSE TCP pos (mm) | RMS EE L2 (mm) | RMSE rot (mrad) | W1 effort mean (A) |
25
+ |---:|---|---:|---:|---:|---:|---:|---:|---:|
26
+ | 0 | above_pick | 202 | 18 | 3.615 | 17.66 | 30.59 | 3.62 | 0.6469 |
27
+ | 1 | descend | 375 | 33 | 1.002 | 7.02 | 12.15 | 5.55 | 0.7714 |
28
+ | 2 | settle | 382 | 33 | 0.026 | 1.16 | 2.00 | 5.68 | 0.6427 |
29
+ | 3 | close | 121 | 11 | 0.751 | 5.45 | 9.45 | 7.85 | 1.0201 |
30
+ | 4 | lift | 356 | 31 | 3.146 | 16.87 | 29.22 | 5.39 | 1.1254 |
31
+ | 5 | move_xy | 351 | 31 | 8.051 | 44.34 | 76.80 | 5.97 | 0.9317 |
32
+ | 6 | lower | 392 | 34 | 0.102 | 2.03 | 3.51 | 8.04 | 0.9669 |
33
+ | 7 | open | 120 | 11 | 0.804 | 5.59 | 9.67 | 5.65 | 0.6495 |
34
+ | 8 | retract | 355 | 31 | 3.215 | 17.22 | 29.83 | 3.79 | 0.7481 |
35
+
36
+ ## Pooled metrics (matched phases only)
37
+
38
+ | Metric | Value |
39
+ |---|---:|
40
+ | Joints (deg) | 3.339 |
41
+ | TCP position RMSE (mm, per-axis) | 18.18 |
42
+ | EE position RMS L2 (mm) | 33.41 |
43
+ | TCP rotvec (mrad) | 5.90 |
44
+ | W1 effort mean (A) | 0.8156 |
45
+ | W1 effort per joint (A) | j0=0.2925, j1=1.5025, j2=1.4870, j3=0.6313, j4=0.4285, j5=0.5514 |
46
+
47
+ ## Phase-end anchor (sim - real)
48
+
49
+ | ph | d_tcp_x (m) | d_tcp_y (m) | d_tcp_z (m) | norm d_tcp (m) | max abs dq (deg) |
50
+ |---:|---:|---:|---:|---:|---:|
51
+ | 0 | 0.00135 | -0.00051 | -0.00068 | 0.00160 | 0.038 |
52
+ | 1 | 0.00151 | -0.00094 | -0.00118 | 0.00214 | 0.057 |
53
+ | 2 | 0.00136 | -0.00097 | -0.00104 | 0.00197 | 0.053 |
54
+ | 3 | 0.00209 | -0.00055 | -0.00095 | 0.00236 | 0.096 |
55
+ | 4 | 0.00055 | -0.00015 | -0.00032 | 0.00065 | 0.165 |
56
+ | 5 | 0.00231 | -0.00112 | -0.00112 | 0.00280 | 0.113 |
57
+ | 6 | 0.00242 | -0.00106 | -0.00214 | 0.00340 | 0.133 |
58
+ | 7 | 0.00118 | -0.00054 | -0.00093 | 0.00160 | 0.046 |
59
+ | 8 | -0.00012 | -0.00016 | -0.00017 | 0.00026 | 0.031 |
60
+
61
+ ## Suggested next edits (`pick_place.py`)
62
+
63
+ 1. No automatic rules fired; use per-phase tables and phase-end deltas to decide the next `pick_place.py` tweak.
64
+
65
+ ## Iteration loop
66
+
67
+ Re-run Isaac with updated `pick_place.py`, export a new sim CSV, then run:
68
+
69
+ ```bash
70
+ python sim_real_gap.py --real episode_29312353.csv --sim "episode (1).csv"
71
+ ```
72
+
73
+ Details: see `GAP_ITERATION.md` in this folder.
gap_reports/gap_0925f330-33c7-4d82-b65b-119ad9e06876.md ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:25 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/0925f330-33c7-4d82-b65b-119ad9e06876.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/0925f330-33c7-4d82-b65b-119ad9e06876.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 395 |
12
+ | Sim rows | 56 |
13
+ | Real episode_id | `0925f330-33c7-4d82-b65b-119ad9e06876` |
14
+ | Sim episode_id | `0925f330-33c7-4d82-b65b-119ad9e06876` |
15
+
16
+ ## Methodology
17
+
18
+ **Scope:** offline comparison of two CSV exports (real executed vs sim-planned/exported) with identical schema; not Isaac replay of real commands. **Kinematic** (joints, logged TCP) and **effort proxy** (`joint_current_*`) only.
19
+
20
+ Within each `task_phase`, time is normalized to [0, 1]. The shorter series is linearly resampled to `max(n_real, n_sim)` samples. RMSE is computed on `joint_*` (deg), TCP position (per-axis pooled, mm), TCP rotation vector (rad -> mrad). **RMS EE (mm)** is the root-mean-square of the **Euclidean** TCP position error per timestep. **W1 effort (A)** is the 1D Wasserstein distance between aligned samples of `joint_current_*` per joint (equal-n sorting). Metrics omitted when `min(n_real, n_sim) < 2`. Phase-end table is **sim - real** on the **last** row of each phase.
21
+
22
+ ## Per-phase metrics
23
+
24
+ | ph | name | n_real | n_sim | RMSE joints (deg) | RMSE TCP pos (mm) | RMS EE L2 (mm) | RMSE rot (mrad) | W1 effort mean (A) |
25
+ |---:|---|---:|---:|---:|---:|---:|---:|---:|
26
+ | 0 | above_pick | 185 | 19 | 1.637 | 5.99 | 10.37 | 1005.90 | 0.7954 |
27
+ | 1 | descend | 210 | 21 | 0.024 | 0.66 | 1.14 | 2.14 | 0.8724 |
28
+
29
+ ## Pooled metrics (matched phases only)
30
+
31
+ | Metric | Value |
32
+ |---|---:|
33
+ | Joints (deg) | 1.158 |
34
+ | TCP position RMSE (mm, per-axis) | 4.26 |
35
+ | EE position RMS L2 (mm) | 7.15 |
36
+ | TCP rotvec (mrad) | 711.28 |
37
+ | W1 effort mean (A) | 0.8363 |
38
+ | W1 effort per joint (A) | j0=0.1390, j1=1.8427, j2=1.9195, j3=0.8861, j4=0.1171, j5=0.1135 |
39
+
40
+ ## Phase-end anchor (sim - real)
41
+
42
+ | ph | d_tcp_x (m) | d_tcp_y (m) | d_tcp_z (m) | norm d_tcp (m) | max abs dq (deg) |
43
+ |---:|---:|---:|---:|---:|---:|
44
+ | 0 | -0.00116 | 0.00031 | 0.00078 | 0.00144 | 0.049 |
45
+ | 1 | -0.00087 | 0.00035 | 0.00061 | 0.00112 | 0.045 |
46
+
47
+ ## Suggested next edits (`pick_place.py`)
48
+
49
+ 1. No automatic rules fired; use per-phase tables and phase-end deltas to decide the next `pick_place.py` tweak.
50
+
51
+ ## Iteration loop
52
+
53
+ Re-run Isaac with updated `pick_place.py`, export a new sim CSV, then run:
54
+
55
+ ```bash
56
+ python sim_real_gap.py --real episode_29312353.csv --sim "episode (1).csv"
57
+ ```
58
+
59
+ Details: see `GAP_ITERATION.md` in this folder.
gap_reports/gap_092bb95e-76f6-4f54-8f5e-d7e54c17e522.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:25 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/092bb95e-76f6-4f54-8f5e-d7e54c17e522.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/092bb95e-76f6-4f54-8f5e-d7e54c17e522.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 3406 |
12
+ | Sim rows | 297 |
13
+ | Real episode_id | `092bb95e-76f6-4f54-8f5e-d7e54c17e522` |
14
+ | Sim episode_id | `092bb95e-76f6-4f54-8f5e-d7e54c17e522` |
15
+
16
+ ## Methodology
17
+
18
+ **Scope:** offline comparison of two CSV exports (real executed vs sim-planned/exported) with identical schema; not Isaac replay of real commands. **Kinematic** (joints, logged TCP) and **effort proxy** (`joint_current_*`) only.
19
+
20
+ Within each `task_phase`, time is normalized to [0, 1]. The shorter series is linearly resampled to `max(n_real, n_sim)` samples. RMSE is computed on `joint_*` (deg), TCP position (per-axis pooled, mm), TCP rotation vector (rad -> mrad). **RMS EE (mm)** is the root-mean-square of the **Euclidean** TCP position error per timestep. **W1 effort (A)** is the 1D Wasserstein distance between aligned samples of `joint_current_*` per joint (equal-n sorting). Metrics omitted when `min(n_real, n_sim) < 2`. Phase-end table is **sim - real** on the **last** row of each phase.
21
+
22
+ ## Per-phase metrics
23
+
24
+ | ph | name | n_real | n_sim | RMSE joints (deg) | RMSE TCP pos (mm) | RMS EE L2 (mm) | RMSE rot (mrad) | W1 effort mean (A) |
25
+ |---:|---|---:|---:|---:|---:|---:|---:|---:|
26
+ | 0 | above_pick | 274 | 24 | 4.067 | 17.96 | 31.11 | 3.45 | 0.5871 |
27
+ | 1 | descend | 669 | 57 | 0.454 | 3.30 | 5.71 | 5.20 | 0.6938 |
28
+ | 2 | settle | 361 | 31 | 0.025 | 1.01 | 1.76 | 5.36 | 0.6200 |
29
+ | 3 | close | 155 | 14 | 0.837 | 5.40 | 9.35 | 7.06 | 0.9393 |
30
+ | 4 | lift | 454 | 39 | 3.752 | 17.07 | 29.56 | 4.91 | 1.0940 |
31
+ | 5 | move_xy | 476 | 41 | 7.992 | 39.23 | 67.95 | 5.42 | 0.9061 |
32
+ | 6 | lower | 410 | 36 | 0.093 | 1.72 | 2.98 | 7.72 | 0.9144 |
33
+ | 7 | open | 156 | 14 | 0.935 | 6.19 | 10.72 | 5.18 | 0.6141 |
34
+ | 8 | retract | 451 | 39 | 3.753 | 17.17 | 29.74 | 3.59 | 0.7193 |
35
+
36
+ ## Pooled metrics (matched phases only)
37
+
38
+ | Metric | Value |
39
+ |---|---:|
40
+ | Joints (deg) | 3.502 |
41
+ | TCP position RMSE (mm, per-axis) | 16.77 |
42
+ | EE position RMS L2 (mm) | 31.21 |
43
+ | TCP rotvec (mrad) | 5.48 |
44
+ | W1 effort mean (A) | 0.7675 |
45
+ | W1 effort per joint (A) | j0=0.2638, j1=1.2824, j2=1.4413, j3=0.6363, j4=0.3971, j5=0.5838 |
46
+
47
+ ## Phase-end anchor (sim - real)
48
+
49
+ | ph | d_tcp_x (m) | d_tcp_y (m) | d_tcp_z (m) | norm d_tcp (m) | max abs dq (deg) |
50
+ |---:|---:|---:|---:|---:|---:|
51
+ | 0 | 0.00117 | -0.00051 | -0.00068 | 0.00145 | 0.031 |
52
+ | 1 | 0.00118 | -0.00086 | -0.00100 | 0.00177 | 0.050 |
53
+ | 2 | 0.00116 | -0.00090 | -0.00096 | 0.00175 | 0.049 |
54
+ | 3 | 0.00176 | -0.00047 | -0.00134 | 0.00226 | 0.114 |
55
+ | 4 | 0.00029 | -0.00021 | -0.00040 | 0.00054 | 0.085 |
56
+ | 5 | 0.00218 | -0.00103 | -0.00115 | 0.00267 | 0.126 |
57
+ | 6 | 0.00190 | -0.00107 | -0.00144 | 0.00261 | 0.108 |
58
+ | 7 | 0.00101 | -0.00054 | -0.00071 | 0.00135 | 0.035 |
59
+ | 8 | -0.00008 | -0.00011 | -0.00013 | 0.00019 | 0.021 |
60
+
61
+ ## Suggested next edits (`pick_place.py`)
62
+
63
+ 1. No automatic rules fired; use per-phase tables and phase-end deltas to decide the next `pick_place.py` tweak.
64
+
65
+ ## Iteration loop
66
+
67
+ Re-run Isaac with updated `pick_place.py`, export a new sim CSV, then run:
68
+
69
+ ```bash
70
+ python sim_real_gap.py --real episode_29312353.csv --sim "episode (1).csv"
71
+ ```
72
+
73
+ Details: see `GAP_ITERATION.md` in this folder.
gap_reports/gap_095bd04d-b8a9-4ef4-8e65-f2e73d166a3c.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:25 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/095bd04d-b8a9-4ef4-8e65-f2e73d166a3c.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/095bd04d-b8a9-4ef4-8e65-f2e73d166a3c.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 2748 |
12
+ | Sim rows | 245 |
13
+ | Real episode_id | `095bd04d-b8a9-4ef4-8e65-f2e73d166a3c` |
14
+ | Sim episode_id | `095bd04d-b8a9-4ef4-8e65-f2e73d166a3c` |
15
+
16
+ ## Methodology
17
+
18
+ **Scope:** offline comparison of two CSV exports (real executed vs sim-planned/exported) with identical schema; not Isaac replay of real commands. **Kinematic** (joints, logged TCP) and **effort proxy** (`joint_current_*`) only.
19
+
20
+ Within each `task_phase`, time is normalized to [0, 1]. The shorter series is linearly resampled to `max(n_real, n_sim)` samples. RMSE is computed on `joint_*` (deg), TCP position (per-axis pooled, mm), TCP rotation vector (rad -> mrad). **RMS EE (mm)** is the root-mean-square of the **Euclidean** TCP position error per timestep. **W1 effort (A)** is the 1D Wasserstein distance between aligned samples of `joint_current_*` per joint (equal-n sorting). Metrics omitted when `min(n_real, n_sim) < 2`. Phase-end table is **sim - real** on the **last** row of each phase.
21
+
22
+ ## Per-phase metrics
23
+
24
+ | ph | name | n_real | n_sim | RMSE joints (deg) | RMSE TCP pos (mm) | RMS EE L2 (mm) | RMSE rot (mrad) | W1 effort mean (A) |
25
+ |---:|---|---:|---:|---:|---:|---:|---:|---:|
26
+ | 0 | above_pick | 192 | 17 | 3.495 | 12.81 | 22.18 | 1922.99 | 0.6087 |
27
+ | 1 | descend | 275 | 24 | 1.074 | 6.47 | 11.20 | 3625.99 | 0.8516 |
28
+ | 2 | settle | 385 | 34 | 0.021 | 0.68 | 1.17 | 3625.98 | 0.9886 |
29
+ | 3 | close | 164 | 15 | 0.789 | 4.63 | 8.03 | 1365.01 | 1.1072 |
30
+ | 4 | lift | 420 | 37 | 2.797 | 11.40 | 19.74 | 1888.78 | 1.2571 |
31
+ | 5 | move_xy | 324 | 29 | 7.711 | 33.04 | 57.23 | 1869.66 | 1.0188 |
32
+ | 6 | lower | 398 | 35 | 0.081 | 1.21 | 2.09 | 1348.16 | 1.2614 |
33
+ | 7 | open | 164 | 15 | 0.736 | 4.30 | 7.45 | 3626.21 | 0.7153 |
34
+ | 8 | retract | 426 | 37 | 3.150 | 12.75 | 22.09 | 2283.67 | 0.8627 |
35
+
36
+ ## Pooled metrics (matched phases only)
37
+
38
+ | Metric | Value |
39
+ |---|---:|
40
+ | Joints (deg) | 3.193 |
41
+ | TCP position RMSE (mm, per-axis) | 13.47 |
42
+ | EE position RMS L2 (mm) | 24.01 |
43
+ | TCP rotvec (mrad) | 2562.59 |
44
+ | W1 effort mean (A) | 0.9928 |
45
+ | W1 effort per joint (A) | j0=0.6127, j1=1.1875, j2=1.7555, j3=0.9907, j4=0.7783, j5=0.6320 |
46
+
47
+ ## Phase-end anchor (sim - real)
48
+
49
+ | ph | d_tcp_x (m) | d_tcp_y (m) | d_tcp_z (m) | norm d_tcp (m) | max abs dq (deg) |
50
+ |---:|---:|---:|---:|---:|---:|
51
+ | 0 | 0.00067 | -0.00023 | -0.00045 | 0.00084 | 0.039 |
52
+ | 1 | 0.00071 | -0.00053 | -0.00080 | 0.00119 | 0.038 |
53
+ | 2 | 0.00070 | -0.00055 | -0.00076 | 0.00117 | 0.037 |
54
+ | 3 | 0.00155 | -0.00022 | -0.00184 | 0.00241 | 0.183 |
55
+ | 4 | 0.00037 | 0.00018 | 0.00009 | 0.00042 | 0.061 |
56
+ | 5 | 0.00216 | -0.00064 | -0.00165 | 0.00279 | 0.208 |
57
+ | 6 | 0.00130 | -0.00075 | -0.00084 | 0.00172 | 0.104 |
58
+ | 7 | 0.00057 | -0.00024 | -0.00055 | 0.00082 | 0.042 |
59
+ | 8 | -0.00007 | -0.00008 | -0.00013 | 0.00017 | 0.027 |
60
+
61
+ ## Suggested next edits (`pick_place.py`)
62
+
63
+ 1. No automatic rules fired; use per-phase tables and phase-end deltas to decide the next `pick_place.py` tweak.
64
+
65
+ ## Iteration loop
66
+
67
+ Re-run Isaac with updated `pick_place.py`, export a new sim CSV, then run:
68
+
69
+ ```bash
70
+ python sim_real_gap.py --real episode_29312353.csv --sim "episode (1).csv"
71
+ ```
72
+
73
+ Details: see `GAP_ITERATION.md` in this folder.