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

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_0b115b25-5999-4437-9285-989b6dba6168.md +73 -0
  2. gap_reports/gap_0b36d671-01bb-4586-80e6-6f99e254d3ce.md +69 -0
  3. gap_reports/gap_0b460318-bd50-4f67-9d05-d5656f108f03.md +73 -0
  4. gap_reports/gap_0b469d6f-741a-40ce-9e29-bc07ceb8f489.md +73 -0
  5. gap_reports/gap_0b52af0b-1a91-4f8d-914c-12f8fffbb8ed.md +73 -0
  6. gap_reports/gap_0b5a4a5b-71eb-4093-8fb7-0c76e5baaf5d.md +73 -0
  7. gap_reports/gap_0b606491-2332-4429-9431-829a85d6fcc0.md +75 -0
  8. gap_reports/gap_0b63dbe3-0717-48e4-87d3-146c1b8cdd8a.md +73 -0
  9. gap_reports/gap_0b9128a4-872d-4408-8aa4-69dde2a8085e.md +75 -0
  10. gap_reports/gap_0b9c53e9-8c78-460b-b49c-ab506d1e4c4b.md +75 -0
  11. gap_reports/gap_0bc6e34b-75cc-4d70-ae9d-c3cf39e0c916.md +75 -0
  12. gap_reports/gap_0bcbf3a3-1bba-460b-9cfa-967b67a631d5.md +73 -0
  13. gap_reports/gap_0bd0b08f-4f45-48fe-a307-40c55820d724.md +73 -0
  14. gap_reports/gap_0bda6ca8-9e79-4b03-ba72-837954f9c9bc.md +73 -0
  15. gap_reports/gap_0be7052c-c749-48a0-bd86-6435d7b12890.md +75 -0
  16. gap_reports/gap_0bf02a89-bb5d-4892-91f8-a99942e64778.md +75 -0
  17. gap_reports/gap_0bfa0a27-f0a4-47f3-a3ff-2af152702c45.md +73 -0
  18. gap_reports/gap_0c01c666-12c5-46d0-b381-2a986eb87674.md +75 -0
  19. gap_reports/gap_0c148c6f-2065-41cc-84b0-7d425604aea7.md +73 -0
  20. gap_reports/gap_0c2fd828-946c-409c-8c76-6e772f23feb6.md +75 -0
  21. gap_reports/gap_0c474e98-2b60-4d23-be36-38e6a9e32813.md +59 -0
  22. gap_reports/gap_0c7e2ff1-3c90-4346-9518-85c8a1c1377f.md +59 -0
  23. gap_reports/gap_0c8052db-62b6-4957-9794-6e86f1a92cfc.md +73 -0
  24. gap_reports/gap_0c8fe9fa-1e3c-4aba-82f9-9e701206d796.md +73 -0
  25. gap_reports/gap_0c91fc7d-6a38-4864-9b50-3fdfa9f91b05.md +73 -0
  26. gap_reports/gap_0c94b7e5-e527-42a1-8400-536b21d1ded6.md +73 -0
  27. gap_reports/gap_0ca13322-a26e-4066-a462-9540316780e4.md +73 -0
  28. gap_reports/gap_0cba2c55-ca38-4579-b023-b86cfa1d09b0.md +73 -0
  29. gap_reports/gap_0cbbea65-395a-411e-81f5-5de1d673708e.md +73 -0
  30. gap_reports/gap_0ceaf1cb-066b-467e-a60e-c6fbc29aa4f5.md +73 -0
  31. gap_reports/gap_0d0ee4f8-0d65-46b2-a483-6f7023c99b99.md +73 -0
  32. gap_reports/gap_0d32e4ff-6e1b-403b-93ab-06624a6ca02e.md +73 -0
  33. gap_reports/gap_0d3ac997-4efc-4e7d-abe2-42ddfb8ca1ae.md +75 -0
  34. gap_reports/gap_0d45afa0-c339-49f5-93c2-70cdd6d283a5.md +73 -0
  35. gap_reports/gap_0d56ff36-ce2f-43d6-8a2c-25ec5630dafb.md +59 -0
  36. gap_reports/gap_0d676426-7470-472d-9e0c-9025c5856a1d.md +75 -0
  37. gap_reports/gap_0d7000e3-dc94-423d-887b-0be8d9473b0d.md +59 -0
  38. gap_reports/gap_0d702040-5f33-4741-b156-be258e79e234.md +73 -0
  39. gap_reports/gap_0d761984-d5f5-4f91-99fd-a922fe30c472.md +73 -0
  40. gap_reports/gap_0dad75b6-e905-41e2-a5d1-bc5449320c4a.md +59 -0
  41. gap_reports/gap_0dbf902e-560d-45c9-9ca4-e8d9f98691a4.md +59 -0
  42. gap_reports/gap_0de70256-382f-43c2-9a50-1cc7a7bff186.md +73 -0
  43. gap_reports/gap_0de830d7-0302-4ddc-8aae-caa1c43ce7c6.md +73 -0
  44. gap_reports/gap_0df1fdbf-3b9b-4dbd-8eed-76daa876c5ec.md +75 -0
  45. gap_reports/gap_0e12bd8f-1239-41d7-ab40-6a5006c47c9b.md +73 -0
  46. gap_reports/gap_0e176471-af73-44d7-89f7-42e5dab1709c.md +73 -0
  47. gap_reports/gap_0e2fb9fa-3b6b-4d66-ae5c-c4ed0f39e243.md +75 -0
  48. gap_reports/gap_0e7589b1-d62e-4fec-817d-156cb39d6ae6.md +75 -0
  49. gap_reports/gap_0e767ecd-afdc-4565-bccf-843b4576af73.md +75 -0
  50. gap_reports/gap_0e7d14bc-b2f1-4605-9442-2a312597a632.md +73 -0
gap_reports/gap_0b115b25-5999-4437-9285-989b6dba6168.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/0b115b25-5999-4437-9285-989b6dba6168.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/0b115b25-5999-4437-9285-989b6dba6168.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 2475 |
12
+ | Sim rows | 221 |
13
+ | Real episode_id | `0b115b25-5999-4437-9285-989b6dba6168` |
14
+ | Sim episode_id | `0b115b25-5999-4437-9285-989b6dba6168` |
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 | 226 | 20 | 2.388 | 9.80 | 16.97 | 1974.24 | 0.5544 |
27
+ | 1 | descend | 234 | 21 | 1.123 | 6.67 | 11.56 | 3625.98 | 0.7146 |
28
+ | 2 | settle | 371 | 32 | 0.022 | 0.57 | 0.98 | 3625.93 | 0.7023 |
29
+ | 3 | close | 136 | 13 | 0.894 | 5.44 | 9.42 | 1346.10 | 0.9166 |
30
+ | 4 | lift | 295 | 26 | 1.952 | 8.19 | 14.18 | 1898.85 | 1.1062 |
31
+ | 5 | move_xy | 400 | 35 | 4.288 | 20.13 | 34.87 | 1929.75 | 0.9079 |
32
+ | 6 | lower | 381 | 33 | 0.077 | 0.98 | 1.70 | 1693.18 | 0.9936 |
33
+ | 7 | open | 137 | 13 | 0.832 | 4.89 | 8.46 | 3626.17 | 0.5894 |
34
+ | 8 | retract | 295 | 26 | 2.035 | 8.55 | 14.81 | 2089.90 | 0.6890 |
35
+
36
+ ## Pooled metrics (matched phases only)
37
+
38
+ | Metric | Value |
39
+ |---|---:|
40
+ | Joints (deg) | 1.966 |
41
+ | TCP position RMSE (mm, per-axis) | 9.07 |
42
+ | EE position RMS L2 (mm) | 17.17 |
43
+ | TCP rotvec (mrad) | 2575.91 |
44
+ | W1 effort mean (A) | 0.7921 |
45
+ | W1 effort per joint (A) | j0=0.2124, j1=1.1530, j2=1.5768, j3=0.7836, j4=0.4116, j5=0.6153 |
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.00015 | -0.00038 | -0.00054 | 0.00068 | 0.037 |
52
+ | 1 | 0.00012 | -0.00055 | -0.00080 | 0.00098 | 0.037 |
53
+ | 2 | 0.00018 | -0.00057 | -0.00078 | 0.00098 | 0.035 |
54
+ | 3 | 0.00050 | -0.00053 | -0.00102 | 0.00125 | 0.082 |
55
+ | 4 | 0.00005 | -0.00039 | -0.00037 | 0.00053 | 0.107 |
56
+ | 5 | 0.00066 | -0.00079 | -0.00098 | 0.00142 | 0.104 |
57
+ | 6 | 0.00092 | -0.00068 | -0.00078 | 0.00139 | 0.111 |
58
+ | 7 | 0.00001 | -0.00035 | -0.00063 | 0.00073 | 0.050 |
59
+ | 8 | -0.00009 | -0.00011 | -0.00014 | 0.00020 | 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_0b36d671-01bb-4586-80e6-6f99e254d3ce.md ADDED
@@ -0,0 +1,69 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:25 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/0b36d671-01bb-4586-80e6-6f99e254d3ce.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/0b36d671-01bb-4586-80e6-6f99e254d3ce.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 2053 |
12
+ | Sim rows | 206 |
13
+ | Real episode_id | `0b36d671-01bb-4586-80e6-6f99e254d3ce` |
14
+ | Sim episode_id | `0b36d671-01bb-4586-80e6-6f99e254d3ce` |
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 | 204 | 20 | 3.530 | 16.70 | 28.93 | 1949.46 | 0.6425 |
27
+ | 1 | descend | 408 | 40 | 1.040 | 7.45 | 12.90 | 3624.73 | 0.7906 |
28
+ | 2 | settle | 336 | 33 | 0.027 | 1.01 | 1.75 | 3624.59 | 0.6548 |
29
+ | 3 | close | 121 | 12 | 0.906 | 6.49 | 11.24 | 3625.23 | 1.0069 |
30
+ | 4 | lift | 303 | 30 | 3.408 | 17.89 | 30.98 | 2455.41 | 1.1336 |
31
+ | 5 | move_xy | 346 | 33 | 8.197 | 44.85 | 77.68 | 2769.70 | 0.9127 |
32
+ | 6 | lower | 335 | 32 | 0.094 | 1.78 | 3.08 | 3624.96 | 1.0610 |
33
+
34
+ ## Pooled metrics (matched phases only)
35
+
36
+ | Metric | Value |
37
+ |---|---:|
38
+ | Joints (deg) | 3.648 |
39
+ | TCP position RMSE (mm, per-axis) | 19.68 |
40
+ | EE position RMS L2 (mm) | 35.84 |
41
+ | TCP rotvec (mrad) | 3163.62 |
42
+ | W1 effort mean (A) | 0.8604 |
43
+ | W1 effort per joint (A) | j0=0.2531, j1=1.4935, j2=1.5433, j3=0.8597, j4=0.3170, j5=0.6957 |
44
+
45
+ ## Phase-end anchor (sim - real)
46
+
47
+ | ph | d_tcp_x (m) | d_tcp_y (m) | d_tcp_z (m) | norm d_tcp (m) | max abs dq (deg) |
48
+ |---:|---:|---:|---:|---:|---:|
49
+ | 0 | 0.00107 | -0.00022 | -0.00072 | 0.00131 | 0.030 |
50
+ | 1 | 0.00114 | -0.00065 | -0.00117 | 0.00176 | 0.054 |
51
+ | 2 | 0.00110 | -0.00064 | -0.00118 | 0.00173 | 0.056 |
52
+ | 3 | 0.00211 | -0.00021 | -0.00134 | 0.00251 | 0.145 |
53
+ | 4 | 0.00014 | -0.00026 | -0.00030 | 0.00042 | 0.096 |
54
+ | 5 | 0.00234 | -0.00079 | -0.00160 | 0.00295 | 0.136 |
55
+ | 6 | 0.00204 | -0.00098 | -0.00069 | 0.00237 | 0.119 |
56
+
57
+ ## Suggested next edits (`pick_place.py`)
58
+
59
+ 1. No automatic rules fired; use per-phase tables and phase-end deltas to decide the next `pick_place.py` tweak.
60
+
61
+ ## Iteration loop
62
+
63
+ Re-run Isaac with updated `pick_place.py`, export a new sim CSV, then run:
64
+
65
+ ```bash
66
+ python sim_real_gap.py --real episode_29312353.csv --sim "episode (1).csv"
67
+ ```
68
+
69
+ Details: see `GAP_ITERATION.md` in this folder.
gap_reports/gap_0b460318-bd50-4f67-9d05-d5656f108f03.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/0b460318-bd50-4f67-9d05-d5656f108f03.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/0b460318-bd50-4f67-9d05-d5656f108f03.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 3236 |
12
+ | Sim rows | 284 |
13
+ | Real episode_id | `0b460318-bd50-4f67-9d05-d5656f108f03` |
14
+ | Sim episode_id | `0b460318-bd50-4f67-9d05-d5656f108f03` |
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 | 279 | 25 | 3.677 | 19.20 | 33.25 | 1953.10 | 0.6305 |
27
+ | 1 | descend | 577 | 50 | 0.662 | 4.72 | 8.18 | 3624.74 | 0.8310 |
28
+ | 2 | settle | 383 | 33 | 0.028 | 0.98 | 1.69 | 3624.57 | 0.7227 |
29
+ | 3 | close | 193 | 17 | 0.931 | 6.50 | 11.26 | 3625.41 | 0.9987 |
30
+ | 4 | lift | 345 | 30 | 2.713 | 14.66 | 25.40 | 2406.40 | 1.1213 |
31
+ | 5 | move_xy | 521 | 45 | 7.481 | 43.08 | 74.62 | 2818.61 | 0.9386 |
32
+ | 6 | lower | 401 | 35 | 0.090 | 1.66 | 2.88 | 3625.18 | 1.0453 |
33
+ | 7 | open | 193 | 17 | 0.987 | 6.79 | 11.75 | 3624.80 | 0.7573 |
34
+ | 8 | retract | 344 | 30 | 2.560 | 13.89 | 24.06 | 2409.63 | 0.7534 |
35
+
36
+ ## Pooled metrics (matched phases only)
37
+
38
+ | Metric | Value |
39
+ |---|---:|
40
+ | Joints (deg) | 3.085 |
41
+ | TCP position RMSE (mm, per-axis) | 17.47 |
42
+ | EE position RMS L2 (mm) | 33.93 |
43
+ | TCP rotvec (mrad) | 3145.67 |
44
+ | W1 effort mean (A) | 0.8470 |
45
+ | W1 effort per joint (A) | j0=0.2650, j1=1.4642, j2=1.6921, j3=0.8033, j4=0.3040, j5=0.5535 |
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.00028 | -0.00081 | 0.00126 | 0.033 |
52
+ | 1 | 0.00093 | -0.00073 | -0.00125 | 0.00172 | 0.059 |
53
+ | 2 | 0.00093 | -0.00073 | -0.00120 | 0.00168 | 0.053 |
54
+ | 3 | 0.00138 | -0.00058 | -0.00192 | 0.00244 | 0.194 |
55
+ | 4 | 0.00018 | -0.00041 | -0.00043 | 0.00062 | 0.098 |
56
+ | 5 | 0.00239 | -0.00110 | -0.00124 | 0.00291 | 0.191 |
57
+ | 6 | 0.00170 | -0.00110 | -0.00099 | 0.00225 | 0.110 |
58
+ | 7 | 0.00076 | -0.00035 | -0.00101 | 0.00131 | 0.062 |
59
+ | 8 | -0.00012 | -0.00021 | -0.00022 | 0.00032 | 0.037 |
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_0b469d6f-741a-40ce-9e29-bc07ceb8f489.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/0b469d6f-741a-40ce-9e29-bc07ceb8f489.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/0b469d6f-741a-40ce-9e29-bc07ceb8f489.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 2246 |
12
+ | Sim rows | 225 |
13
+ | Real episode_id | `0b469d6f-741a-40ce-9e29-bc07ceb8f489` |
14
+ | Sim episode_id | `0b469d6f-741a-40ce-9e29-bc07ceb8f489` |
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 | 187 | 19 | 2.318 | 13.09 | 22.67 | 1947.89 | 0.6157 |
27
+ | 1 | descend | 298 | 29 | 0.864 | 6.02 | 10.42 | 3624.65 | 0.8084 |
28
+ | 2 | settle | 339 | 33 | 0.027 | 0.97 | 1.67 | 3624.52 | 0.7279 |
29
+ | 3 | close | 104 | 11 | 0.599 | 4.25 | 7.37 | 3494.56 | 1.0220 |
30
+ | 4 | lift | 264 | 26 | 2.397 | 14.34 | 24.84 | 2329.65 | 1.1349 |
31
+ | 5 | move_xy | 333 | 33 | 5.027 | 31.18 | 54.01 | 2816.18 | 0.9331 |
32
+ | 6 | lower | 355 | 35 | 0.096 | 1.72 | 2.97 | 3624.87 | 1.1409 |
33
+ | 7 | open | 106 | 11 | 0.535 | 3.71 | 6.43 | 3624.68 | 0.7662 |
34
+ | 8 | retract | 260 | 26 | 2.352 | 14.10 | 24.42 | 2336.18 | 0.7456 |
35
+
36
+ ## Pooled metrics (matched phases only)
37
+
38
+ | Metric | Value |
39
+ |---|---:|
40
+ | Joints (deg) | 2.194 |
41
+ | TCP position RMSE (mm, per-axis) | 13.42 |
42
+ | EE position RMS L2 (mm) | 25.25 |
43
+ | TCP rotvec (mrad) | 3115.83 |
44
+ | W1 effort mean (A) | 0.8655 |
45
+ | W1 effort per joint (A) | j0=0.2344, j1=1.5800, j2=1.7479, j3=0.7584, j4=0.2985, j5=0.5740 |
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.00054 | -0.00068 | 0.00117 | 0.021 |
52
+ | 1 | 0.00076 | -0.00088 | -0.00120 | 0.00168 | 0.057 |
53
+ | 2 | 0.00077 | -0.00088 | -0.00119 | 0.00167 | 0.057 |
54
+ | 3 | 0.00226 | -0.00069 | -0.00101 | 0.00257 | 0.210 |
55
+ | 4 | 0.00023 | -0.00027 | -0.00039 | 0.00053 | 0.076 |
56
+ | 5 | 0.00194 | -0.00106 | -0.00154 | 0.00269 | 0.158 |
57
+ | 6 | 0.00206 | -0.00125 | -0.00196 | 0.00311 | 0.167 |
58
+ | 7 | 0.00059 | -0.00059 | -0.00102 | 0.00132 | 0.045 |
59
+ | 8 | -0.00014 | -0.00021 | -0.00022 | 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_0b52af0b-1a91-4f8d-914c-12f8fffbb8ed.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/0b52af0b-1a91-4f8d-914c-12f8fffbb8ed.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/0b52af0b-1a91-4f8d-914c-12f8fffbb8ed.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 2538 |
12
+ | Sim rows | 227 |
13
+ | Real episode_id | `0b52af0b-1a91-4f8d-914c-12f8fffbb8ed` |
14
+ | Sim episode_id | `0b52af0b-1a91-4f8d-914c-12f8fffbb8ed` |
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 | 217 | 20 | 2.660 | 14.02 | 24.28 | 1824.91 | 0.6248 |
27
+ | 1 | descend | 309 | 27 | 0.810 | 5.85 | 10.13 | 3624.68 | 0.7725 |
28
+ | 2 | settle | 356 | 31 | 0.026 | 0.96 | 1.67 | 3624.58 | 0.7071 |
29
+ | 3 | close | 110 | 10 | 0.505 | 3.80 | 6.59 | 3625.11 | 1.0092 |
30
+ | 4 | lift | 338 | 30 | 2.919 | 16.42 | 28.44 | 2341.52 | 1.1214 |
31
+ | 5 | move_xy | 360 | 32 | 6.155 | 35.66 | 61.76 | 2681.41 | 0.9039 |
32
+ | 6 | lower | 401 | 35 | 0.091 | 1.68 | 2.91 | 3625.05 | 1.0656 |
33
+ | 7 | open | 108 | 10 | 0.531 | 3.72 | 6.44 | 3624.64 | 0.7598 |
34
+ | 8 | retract | 339 | 30 | 2.998 | 16.87 | 29.21 | 2370.61 | 0.7506 |
35
+
36
+ ## Pooled metrics (matched phases only)
37
+
38
+ | Metric | Value |
39
+ |---|---:|
40
+ | Joints (deg) | 2.660 |
41
+ | TCP position RMSE (mm, per-axis) | 15.23 |
42
+ | EE position RMS L2 (mm) | 28.83 |
43
+ | TCP rotvec (mrad) | 3114.82 |
44
+ | W1 effort mean (A) | 0.8450 |
45
+ | W1 effort per joint (A) | j0=0.2148, j1=1.5184, j2=1.7051, j3=0.7740, j4=0.2502, j5=0.6077 |
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.00043 | -0.00075 | 0.00126 | 0.028 |
52
+ | 1 | 0.00095 | -0.00075 | -0.00119 | 0.00170 | 0.053 |
53
+ | 2 | 0.00093 | -0.00076 | -0.00120 | 0.00170 | 0.057 |
54
+ | 3 | 0.00172 | -0.00062 | -0.00106 | 0.00211 | 0.118 |
55
+ | 4 | 0.00026 | -0.00013 | -0.00024 | 0.00038 | 0.094 |
56
+ | 5 | 0.00223 | -0.00088 | -0.00099 | 0.00260 | 0.176 |
57
+ | 6 | 0.00260 | -0.00114 | -0.00217 | 0.00358 | 0.218 |
58
+ | 7 | 0.00068 | -0.00050 | -0.00099 | 0.00131 | 0.049 |
59
+ | 8 | -0.00013 | -0.00020 | -0.00020 | 0.00031 | 0.034 |
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_0b5a4a5b-71eb-4093-8fb7-0c76e5baaf5d.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/0b5a4a5b-71eb-4093-8fb7-0c76e5baaf5d.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/0b5a4a5b-71eb-4093-8fb7-0c76e5baaf5d.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 3395 |
12
+ | Sim rows | 3777 |
13
+ | Real episode_id | `0b5a4a5b-71eb-4093-8fb7-0c76e5baaf5d` |
14
+ | Sim episode_id | `0b5a4a5b-71eb-4093-8fb7-0c76e5baaf5d` |
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 | 215 | 21 | 3.231 | 16.37 | 28.35 | 2008.39 | 0.6249 |
27
+ | 1 | descend | 374 | 37 | 1.131 | 7.88 | 13.65 | 3624.77 | 0.7928 |
28
+ | 2 | settle | 350 | 1202 | 3.349 | 15.49 | 26.83 | 3624.60 | 0.6682 |
29
+ | 3 | close | 238 | 1182 | 3.816 | 25.47 | 44.12 | 3615.97 | 1.0211 |
30
+ | 4 | lift | 989 | 1211 | 10.958 | 63.51 | 110.00 | 2844.36 | 1.1252 |
31
+ | 5 | move_xy | 342 | 34 | 7.765 | 42.61 | 73.81 | 2716.15 | 0.8939 |
32
+ | 6 | lower | 339 | 34 | 0.091 | 1.75 | 3.03 | 3625.07 | 1.0932 |
33
+ | 7 | open | 126 | 13 | 0.827 | 5.63 | 9.75 | 3624.72 | 0.7466 |
34
+ | 8 | retract | 422 | 41 | 3.309 | 17.69 | 30.64 | 2393.52 | 0.7497 |
35
+
36
+ ## Pooled metrics (matched phases only)
37
+
38
+ | Metric | Value |
39
+ |---|---:|
40
+ | Joints (deg) | 5.050 |
41
+ | TCP position RMSE (mm, per-axis) | 28.70 |
42
+ | EE position RMS L2 (mm) | 61.29 |
43
+ | TCP rotvec (mrad) | 3177.39 |
44
+ | W1 effort mean (A) | 0.8874 |
45
+ | W1 effort per joint (A) | j0=0.1956, j1=1.7388, j2=1.6038, j3=0.7646, j4=0.3782, j5=0.6432 |
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.00091 | -0.00026 | -0.00081 | 0.00125 | 0.035 |
52
+ | 1 | 0.00090 | -0.00071 | -0.00119 | 0.00165 | 0.049 |
53
+ | 2 | 0.00109 | -0.00063 | -0.00116 | 0.00171 | 0.052 |
54
+ | 3 | 0.00187 | -0.00038 | -0.00137 | 0.00235 | 0.113 |
55
+ | 4 | 0.00031 | 0.00001 | -0.00023 | 0.00039 | 0.077 |
56
+ | 5 | 0.00227 | -0.00091 | -0.00163 | 0.00294 | 0.139 |
57
+ | 6 | 0.00194 | -0.00092 | -0.00227 | 0.00313 | 0.178 |
58
+ | 7 | 0.00093 | -0.00032 | -0.00098 | 0.00138 | 0.045 |
59
+ | 8 | -0.00008 | -0.00011 | -0.00015 | 0.00020 | 0.019 |
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_0b606491-2332-4429-9431-829a85d6fcc0.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/0b606491-2332-4429-9431-829a85d6fcc0.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/0b606491-2332-4429-9431-829a85d6fcc0.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 1830 |
12
+ | Sim rows | 183 |
13
+ | Real episode_id | `0b606491-2332-4429-9431-829a85d6fcc0` |
14
+ | Sim episode_id | `0b606491-2332-4429-9431-829a85d6fcc0` |
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 | 160 | 16 | 2.692 | 12.96 | 22.44 | 1296.25 | 0.7822 |
27
+ | 1 | descend | 87 | 9 | 0.847 | 4.83 | 8.36 | 5.38 | 0.6935 |
28
+ | 2 | settle | 40 | 5 | 0.025 | 2.88 | 4.99 | 5.85 | 0.7346 |
29
+ | 3 | close | 367 | 36 | 0.125 | 1.90 | 3.30 | 7.39 | 1.2206 |
30
+ | 4 | lift | 86 | 9 | 0.745 | 3.70 | 6.41 | 7.29 | 1.3037 |
31
+ | 5 | move_xy | 199 | 20 | 14.612 | 24.08 | 41.71 | 466.02 | 1.1387 |
32
+ | 6 | lower | 87 | 9 | 28.687 | 3.95 | 6.85 | 1097.33 | 1.1776 |
33
+ | 7 | open | 380 | 37 | 28.670 | 2.43 | 4.21 | 1096.60 | 0.8512 |
34
+ | 8 | retract | 86 | 9 | 28.685 | 4.22 | 7.30 | 1096.01 | 0.8678 |
35
+ | 9 | return | 338 | 33 | 16.487 | 15.71 | 27.21 | 1367.70 | 0.8471 |
36
+
37
+ ## Pooled metrics (matched phases only)
38
+
39
+ | Metric | Value |
40
+ |---|---:|
41
+ | Joints (deg) | 17.209 |
42
+ | TCP position RMSE (mm, per-axis) | 10.41 |
43
+ | EE position RMS L2 (mm) | 19.66 |
44
+ | TCP rotvec (mrad) | 858.84 |
45
+ | W1 effort mean (A) | 0.9610 |
46
+ | W1 effort per joint (A) | j0=0.2091, j1=1.5747, j2=1.6129, j3=0.7550, j4=0.4278, j5=1.1868 |
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.00191 | -0.00404 | -0.00092 | 0.00456 | 0.038 |
53
+ | 1 | 0.00226 | -0.00430 | -0.00090 | 0.00494 | 0.037 |
54
+ | 2 | 0.00229 | -0.00432 | -0.00119 | 0.00503 | 0.054 |
55
+ | 3 | 0.00128 | -0.00281 | -0.00085 | 0.00320 | 0.308 |
56
+ | 4 | 0.00088 | -0.00282 | -0.00090 | 0.00309 | 0.180 |
57
+ | 5 | 0.00157 | -0.00326 | -0.00016 | 0.00362 | 70.242 |
58
+ | 6 | 0.00225 | -0.00257 | -0.00085 | 0.00353 | 70.218 |
59
+ | 7 | 0.00183 | -0.00378 | 0.00004 | 0.00419 | 70.224 |
60
+ | 8 | 0.00137 | -0.00396 | -0.00013 | 0.00419 | 70.248 |
61
+ | 9 | -0.00001 | -0.00006 | -0.00023 | 0.00024 | 0.037 |
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_0b63dbe3-0717-48e4-87d3-146c1b8cdd8a.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/0b63dbe3-0717-48e4-87d3-146c1b8cdd8a.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/0b63dbe3-0717-48e4-87d3-146c1b8cdd8a.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 2370 |
12
+ | Sim rows | 239 |
13
+ | Real episode_id | `0b63dbe3-0717-48e4-87d3-146c1b8cdd8a` |
14
+ | Sim episode_id | `0b63dbe3-0717-48e4-87d3-146c1b8cdd8a` |
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 | 226 | 23 | 2.581 | 14.32 | 24.80 | 1988.31 | 0.6091 |
27
+ | 1 | descend | 293 | 29 | 1.136 | 7.82 | 13.55 | 3624.65 | 0.7471 |
28
+ | 2 | settle | 342 | 34 | 0.027 | 0.97 | 1.68 | 3624.52 | 0.7387 |
29
+ | 3 | close | 94 | 10 | 0.599 | 4.47 | 7.74 | 3348.72 | 1.0048 |
30
+ | 4 | lift | 290 | 29 | 2.300 | 13.70 | 23.73 | 2312.36 | 1.1368 |
31
+ | 5 | move_xy | 403 | 40 | 5.210 | 32.18 | 55.73 | 2814.72 | 0.9286 |
32
+ | 6 | lower | 335 | 33 | 0.101 | 1.77 | 3.07 | 3624.93 | 1.1092 |
33
+ | 7 | open | 95 | 10 | 0.487 | 3.40 | 5.88 | 3624.68 | 0.7552 |
34
+ | 8 | retract | 292 | 29 | 2.289 | 13.75 | 23.81 | 2274.76 | 0.7404 |
35
+
36
+ ## Pooled metrics (matched phases only)
37
+
38
+ | Metric | Value |
39
+ |---|---:|
40
+ | Joints (deg) | 2.267 |
41
+ | TCP position RMSE (mm, per-axis) | 13.80 |
42
+ | EE position RMS L2 (mm) | 27.45 |
43
+ | TCP rotvec (mrad) | 3094.17 |
44
+ | W1 effort mean (A) | 0.8458 |
45
+ | W1 effort per joint (A) | j0=0.2180, j1=1.5389, j2=1.7191, j3=0.7486, j4=0.2754, j5=0.5749 |
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.00079 | -0.00057 | -0.00080 | 0.00126 | 0.028 |
52
+ | 1 | 0.00075 | -0.00087 | -0.00122 | 0.00167 | 0.056 |
53
+ | 2 | 0.00078 | -0.00088 | -0.00121 | 0.00168 | 0.057 |
54
+ | 3 | 0.00118 | -0.00080 | -0.00102 | 0.00175 | 0.097 |
55
+ | 4 | 0.00008 | -0.00035 | -0.00032 | 0.00048 | 0.106 |
56
+ | 5 | 0.00215 | -0.00147 | -0.00291 | 0.00391 | 0.202 |
57
+ | 6 | 0.00162 | -0.00122 | -0.00144 | 0.00249 | 0.110 |
58
+ | 7 | 0.00052 | -0.00064 | -0.00099 | 0.00129 | 0.050 |
59
+ | 8 | -0.00011 | -0.00018 | -0.00017 | 0.00028 | 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_0b9128a4-872d-4408-8aa4-69dde2a8085e.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/0b9128a4-872d-4408-8aa4-69dde2a8085e.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/0b9128a4-872d-4408-8aa4-69dde2a8085e.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 1565 |
12
+ | Sim rows | 159 |
13
+ | Real episode_id | `0b9128a4-872d-4408-8aa4-69dde2a8085e` |
14
+ | Sim episode_id | `0b9128a4-872d-4408-8aa4-69dde2a8085e` |
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 | 16.269 | 16.51 | 28.60 | 1214.60 | 0.7176 |
27
+ | 1 | descend | 86 | 9 | 28.357 | 3.93 | 6.81 | 1083.41 | 0.9003 |
28
+ | 2 | settle | 40 | 5 | 28.331 | 2.41 | 4.17 | 1083.44 | 0.9721 |
29
+ | 3 | close | 310 | 31 | 28.330 | 2.52 | 4.37 | 1083.02 | 1.2674 |
30
+ | 4 | lift | 88 | 9 | 28.359 | 5.00 | 8.65 | 1082.76 | 1.5067 |
31
+ | 5 | move_xy | 231 | 23 | 14.999 | 25.04 | 43.36 | 1497.84 | 1.3306 |
32
+ | 6 | lower | 86 | 9 | 0.834 | 4.47 | 7.74 | 3623.50 | 1.2336 |
33
+ | 7 | open | 94 | 10 | 0.060 | 3.04 | 5.26 | 7.10 | 0.8353 |
34
+ | 8 | retract | 87 | 9 | 0.767 | 4.16 | 7.21 | 6.76 | 0.8248 |
35
+ | 9 | return | 367 | 36 | 5.017 | 18.50 | 32.04 | 1284.71 | 0.6681 |
36
+
37
+ ## Pooled metrics (matched phases only)
38
+
39
+ | Metric | Value |
40
+ |---|---:|
41
+ | Joints (deg) | 19.312 |
42
+ | TCP position RMSE (mm, per-axis) | 11.58 |
43
+ | EE position RMS L2 (mm) | 25.08 |
44
+ | TCP rotvec (mrad) | 1522.89 |
45
+ | W1 effort mean (A) | 0.9688 |
46
+ | W1 effort per joint (A) | j0=0.1554, j1=1.9653, j2=1.5795, j3=0.8451, j4=0.1963, j5=1.0710 |
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.00368 | 0.00003 | 0.00416 | 69.494 |
53
+ | 1 | 0.00225 | -0.00349 | -0.00017 | 0.00416 | 69.396 |
54
+ | 2 | 0.00224 | -0.00351 | -0.00029 | 0.00418 | 69.396 |
55
+ | 3 | 0.00202 | -0.00398 | -0.00012 | 0.00446 | 69.395 |
56
+ | 4 | 0.00201 | -0.00393 | -0.00092 | 0.00451 | 69.473 |
57
+ | 5 | 0.00321 | -0.00534 | -0.00295 | 0.00690 | 0.234 |
58
+ | 6 | 0.00384 | -0.00508 | -0.00266 | 0.00690 | 0.146 |
59
+ | 7 | 0.00258 | -0.00442 | -0.00151 | 0.00534 | 0.073 |
60
+ | 8 | 0.00224 | -0.00463 | -0.00157 | 0.00538 | 0.078 |
61
+ | 9 | -0.00009 | -0.00012 | -0.00034 | 0.00037 | 0.037 |
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_0b9c53e9-8c78-460b-b49c-ab506d1e4c4b.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/0b9c53e9-8c78-460b-b49c-ab506d1e4c4b.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/0b9c53e9-8c78-460b-b49c-ab506d1e4c4b.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 1807 |
12
+ | Sim rows | 183 |
13
+ | Real episode_id | `0b9c53e9-8c78-460b-b49c-ab506d1e4c4b` |
14
+ | Sim episode_id | `0b9c53e9-8c78-460b-b49c-ab506d1e4c4b` |
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 | 180 | 18 | 2.318 | 12.16 | 21.06 | 254.53 | 0.6796 |
27
+ | 1 | descend | 112 | 12 | 1.049 | 5.43 | 9.41 | 4.72 | 0.7296 |
28
+ | 2 | settle | 14 | 2 | 0.027 | 2.51 | 4.35 | 5.37 | 0.7125 |
29
+ | 3 | close | 375 | 37 | 0.111 | 2.16 | 3.74 | 7.50 | 1.2202 |
30
+ | 4 | lift | 114 | 12 | 0.926 | 4.65 | 8.06 | 6.80 | 1.4025 |
31
+ | 5 | move_xy | 195 | 20 | 1.487 | 11.94 | 20.68 | 42.56 | 1.4009 |
32
+ | 6 | lower | 113 | 12 | 1.011 | 5.32 | 9.22 | 8.87 | 1.3191 |
33
+ | 7 | open | 362 | 35 | 0.026 | 3.08 | 5.33 | 6.20 | 0.6466 |
34
+ | 8 | retract | 112 | 12 | 0.868 | 4.97 | 8.61 | 5.60 | 0.8288 |
35
+ | 9 | return | 230 | 23 | 1.879 | 13.54 | 23.45 | 419.38 | 0.6540 |
36
+
37
+ ## Pooled metrics (matched phases only)
38
+
39
+ | Metric | Value |
40
+ |---|---:|
41
+ | Joints (deg) | 1.219 |
42
+ | TCP position RMSE (mm, per-axis) | 7.74 |
43
+ | EE position RMS L2 (mm) | 13.73 |
44
+ | TCP rotvec (mrad) | 155.81 |
45
+ | W1 effort mean (A) | 0.9394 |
46
+ | W1 effort per joint (A) | j0=0.1336, j1=1.8623, j2=1.5429, j3=0.7965, j4=0.7032, j5=0.5977 |
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.00219 | -0.00354 | -0.00019 | 0.00416 | 0.040 |
53
+ | 1 | 0.00262 | -0.00345 | -0.00045 | 0.00435 | 0.050 |
54
+ | 2 | 0.00263 | -0.00344 | -0.00052 | 0.00436 | 0.056 |
55
+ | 3 | 0.00232 | -0.00288 | -0.00081 | 0.00378 | 0.209 |
56
+ | 4 | 0.00181 | -0.00309 | -0.00055 | 0.00362 | 0.245 |
57
+ | 5 | 0.00214 | -0.00387 | -0.00094 | 0.00452 | 0.195 |
58
+ | 6 | 0.00265 | -0.00370 | -0.00158 | 0.00482 | 0.194 |
59
+ | 7 | 0.00256 | -0.00452 | -0.00110 | 0.00531 | 0.058 |
60
+ | 8 | 0.00206 | -0.00453 | -0.00120 | 0.00511 | 0.057 |
61
+ | 9 | -0.00011 | -0.00014 | -0.00035 | 0.00039 | 0.041 |
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_0bc6e34b-75cc-4d70-ae9d-c3cf39e0c916.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/0bc6e34b-75cc-4d70-ae9d-c3cf39e0c916.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/0bc6e34b-75cc-4d70-ae9d-c3cf39e0c916.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 1736 |
12
+ | Sim rows | 175 |
13
+ | Real episode_id | `0bc6e34b-75cc-4d70-ae9d-c3cf39e0c916` |
14
+ | Sim episode_id | `0bc6e34b-75cc-4d70-ae9d-c3cf39e0c916` |
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 | 2.530 | 8.52 | 14.75 | 1302.81 | 0.7413 |
27
+ | 1 | descend | 77 | 9 | 0.759 | 3.76 | 6.51 | 4.01 | 0.5333 |
28
+ | 2 | settle | 36 | 4 | 0.024 | 2.58 | 4.47 | 4.58 | 0.5039 |
29
+ | 3 | close | 379 | 37 | 0.096 | 3.16 | 5.48 | 7.18 | 0.9235 |
30
+ | 4 | lift | 83 | 9 | 0.751 | 4.12 | 7.13 | 6.47 | 1.0813 |
31
+ | 5 | move_xy | 204 | 20 | 9.730 | 11.05 | 19.13 | 326.51 | 1.0173 |
32
+ | 6 | lower | 81 | 9 | 18.941 | 3.36 | 5.83 | 730.90 | 1.0835 |
33
+ | 7 | open | 370 | 36 | 18.929 | 2.62 | 4.54 | 732.09 | 0.7885 |
34
+ | 8 | retract | 80 | 9 | 18.946 | 3.84 | 6.66 | 731.55 | 0.7917 |
35
+ | 9 | return | 289 | 28 | 9.926 | 7.82 | 13.54 | 1204.84 | 0.7856 |
36
+
37
+ ## Pooled metrics (matched phases only)
38
+
39
+ | Metric | Value |
40
+ |---|---:|
41
+ | Joints (deg) | 11.299 |
42
+ | TCP position RMSE (mm, per-axis) | 5.80 |
43
+ | EE position RMS L2 (mm) | 10.49 |
44
+ | TCP rotvec (mrad) | 697.21 |
45
+ | W1 effort mean (A) | 0.8357 |
46
+ | W1 effort per joint (A) | j0=0.1770, j1=1.1781, j2=1.5678, j3=0.7130, j4=0.4066, j5=0.9719 |
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.00179 | -0.00357 | -0.00042 | 0.00402 | 0.048 |
53
+ | 1 | 0.00210 | -0.00394 | -0.00029 | 0.00448 | 0.053 |
54
+ | 2 | 0.00208 | -0.00393 | -0.00042 | 0.00447 | 0.027 |
55
+ | 3 | 0.00290 | -0.00454 | -0.00094 | 0.00547 | 0.148 |
56
+ | 4 | 0.00236 | -0.00418 | -0.00129 | 0.00497 | 0.138 |
57
+ | 5 | 0.00104 | -0.00415 | -0.00037 | 0.00429 | 46.408 |
58
+ | 6 | 0.00166 | -0.00406 | -0.00031 | 0.00440 | 46.368 |
59
+ | 7 | 0.00190 | -0.00411 | -0.00009 | 0.00453 | 46.367 |
60
+ | 8 | 0.00135 | -0.00406 | -0.00023 | 0.00429 | 46.375 |
61
+ | 9 | -0.00003 | -0.00005 | -0.00021 | 0.00022 | 0.032 |
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_0bcbf3a3-1bba-460b-9cfa-967b67a631d5.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/0bcbf3a3-1bba-460b-9cfa-967b67a631d5.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/0bcbf3a3-1bba-460b-9cfa-967b67a631d5.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 3337 |
12
+ | Sim rows | 293 |
13
+ | Real episode_id | `0bcbf3a3-1bba-460b-9cfa-967b67a631d5` |
14
+ | Sim episode_id | `0bcbf3a3-1bba-460b-9cfa-967b67a631d5` |
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 | 212 | 19 | 3.169 | 13.30 | 23.04 | 2022.85 | 0.5956 |
27
+ | 1 | descend | 774 | 67 | 0.712 | 4.78 | 8.28 | 3625.39 | 0.7055 |
28
+ | 2 | settle | 362 | 32 | 0.024 | 0.82 | 1.43 | 3625.27 | 0.6743 |
29
+ | 3 | close | 145 | 13 | 1.043 | 6.67 | 11.55 | 3625.76 | 0.9773 |
30
+ | 4 | lift | 453 | 39 | 3.767 | 17.08 | 29.59 | 2283.63 | 1.1045 |
31
+ | 5 | move_xy | 387 | 34 | 7.782 | 37.89 | 65.63 | 2624.49 | 0.8691 |
32
+ | 6 | lower | 403 | 35 | 0.090 | 1.50 | 2.60 | 3481.11 | 0.9110 |
33
+ | 7 | open | 146 | 13 | 1.040 | 6.58 | 11.40 | 3625.51 | 0.6281 |
34
+ | 8 | retract | 455 | 39 | 3.642 | 16.77 | 29.05 | 2451.22 | 0.7322 |
35
+
36
+ ## Pooled metrics (matched phases only)
37
+
38
+ | Metric | Value |
39
+ |---|---:|
40
+ | Joints (deg) | 3.346 |
41
+ | TCP position RMSE (mm, per-axis) | 15.98 |
42
+ | EE position RMS L2 (mm) | 28.20 |
43
+ | TCP rotvec (mrad) | 3107.30 |
44
+ | W1 effort mean (A) | 0.7807 |
45
+ | W1 effort per joint (A) | j0=0.2789, j1=1.3109, j2=1.5146, j3=0.6871, j4=0.3146, j5=0.5782 |
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.00083 | -0.00018 | -0.00056 | 0.00102 | 0.028 |
52
+ | 1 | 0.00086 | -0.00058 | -0.00097 | 0.00142 | 0.047 |
53
+ | 2 | 0.00086 | -0.00059 | -0.00097 | 0.00143 | 0.049 |
54
+ | 3 | 0.00135 | -0.00038 | -0.00032 | 0.00144 | 0.096 |
55
+ | 4 | 0.00007 | -0.00039 | -0.00040 | 0.00056 | 0.109 |
56
+ | 5 | 0.00188 | -0.00080 | -0.00095 | 0.00225 | 0.126 |
57
+ | 6 | 0.00217 | -0.00075 | -0.00149 | 0.00274 | 0.171 |
58
+ | 7 | 0.00064 | -0.00025 | -0.00077 | 0.00103 | 0.056 |
59
+ | 8 | -0.00006 | -0.00008 | -0.00012 | 0.00015 | 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_0bd0b08f-4f45-48fe-a307-40c55820d724.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/0bd0b08f-4f45-48fe-a307-40c55820d724.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/0bd0b08f-4f45-48fe-a307-40c55820d724.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 2445 |
12
+ | Sim rows | 238 |
13
+ | Real episode_id | `0bd0b08f-4f45-48fe-a307-40c55820d724` |
14
+ | Sim episode_id | `0bd0b08f-4f45-48fe-a307-40c55820d724` |
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 | 22 | 4.880 | 24.11 | 41.76 | 2092.81 | 0.6461 |
27
+ | 1 | descend | 330 | 29 | 1.261 | 9.00 | 15.59 | 3624.68 | 0.8266 |
28
+ | 2 | settle | 362 | 32 | 0.029 | 1.02 | 1.77 | 3624.59 | 0.7103 |
29
+ | 3 | close | 119 | 11 | 0.695 | 4.95 | 8.57 | 3625.05 | 1.0290 |
30
+ | 4 | lift | 290 | 30 | 3.768 | 19.78 | 34.25 | 2598.46 | 1.1604 |
31
+ | 5 | move_xy | 345 | 35 | 7.161 | 40.51 | 70.17 | 2647.39 | 0.9319 |
32
+ | 6 | lower | 351 | 35 | 0.090 | 1.73 | 3.00 | 3625.06 | 1.0458 |
33
+ | 7 | open | 125 | 12 | 0.769 | 5.62 | 9.73 | 3624.76 | 0.7460 |
34
+ | 8 | retract | 346 | 30 | 3.032 | 16.31 | 28.25 | 2394.63 | 0.7598 |
35
+
36
+ ## Pooled metrics (matched phases only)
37
+
38
+ | Metric | Value |
39
+ |---|---:|
40
+ | Joints (deg) | 3.353 |
41
+ | TCP position RMSE (mm, per-axis) | 18.32 |
42
+ | EE position RMS L2 (mm) | 33.41 |
43
+ | TCP rotvec (mrad) | 3154.74 |
44
+ | W1 effort mean (A) | 0.8579 |
45
+ | W1 effort per joint (A) | j0=0.2487, j1=1.6099, j2=1.5713, j3=0.7754, j4=0.3493, j5=0.5931 |
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.00111 | -0.00026 | -0.00082 | 0.00140 | 0.036 |
52
+ | 1 | 0.00112 | -0.00065 | -0.00119 | 0.00175 | 0.057 |
53
+ | 2 | 0.00111 | -0.00064 | -0.00121 | 0.00176 | 0.060 |
54
+ | 3 | 0.00175 | -0.00035 | -0.00059 | 0.00188 | 0.093 |
55
+ | 4 | 0.00037 | -0.00029 | -0.00050 | 0.00069 | 0.111 |
56
+ | 5 | 0.00217 | -0.00086 | -0.00174 | 0.00291 | 0.123 |
57
+ | 6 | 0.00270 | -0.00094 | -0.00221 | 0.00362 | 0.185 |
58
+ | 7 | 0.00092 | -0.00031 | -0.00092 | 0.00134 | 0.039 |
59
+ | 8 | -0.00014 | -0.00022 | -0.00022 | 0.00034 | 0.038 |
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_0bda6ca8-9e79-4b03-ba72-837954f9c9bc.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/0bda6ca8-9e79-4b03-ba72-837954f9c9bc.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/0bda6ca8-9e79-4b03-ba72-837954f9c9bc.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 2397 |
12
+ | Sim rows | 244 |
13
+ | Real episode_id | `0bda6ca8-9e79-4b03-ba72-837954f9c9bc` |
14
+ | Sim episode_id | `0bda6ca8-9e79-4b03-ba72-837954f9c9bc` |
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 | 210 | 21 | 3.475 | 14.93 | 25.86 | 2001.40 | 0.6000 |
27
+ | 1 | descend | 225 | 23 | 0.973 | 6.49 | 11.25 | 3625.25 | 0.7010 |
28
+ | 2 | settle | 342 | 34 | 0.026 | 0.82 | 1.43 | 3625.27 | 0.6624 |
29
+ | 3 | close | 120 | 13 | 0.580 | 4.05 | 7.02 | 3420.39 | 0.9695 |
30
+ | 4 | lift | 348 | 35 | 3.679 | 17.62 | 30.51 | 2239.00 | 1.0773 |
31
+ | 5 | move_xy | 359 | 35 | 8.103 | 39.76 | 68.87 | 2698.95 | 0.8703 |
32
+ | 6 | lower | 322 | 33 | 0.083 | 1.41 | 2.45 | 3392.48 | 0.9443 |
33
+ | 7 | open | 122 | 13 | 0.528 | 3.47 | 6.01 | 3625.46 | 0.6548 |
34
+ | 8 | retract | 349 | 35 | 3.451 | 16.29 | 28.22 | 2328.63 | 0.7252 |
35
+
36
+ ## Pooled metrics (matched phases only)
37
+
38
+ | Metric | Value |
39
+ |---|---:|
40
+ | Joints (deg) | 3.412 |
41
+ | TCP position RMSE (mm, per-axis) | 16.51 |
42
+ | EE position RMS L2 (mm) | 32.21 |
43
+ | TCP rotvec (mrad) | 3061.64 |
44
+ | W1 effort mean (A) | 0.7911 |
45
+ | W1 effort per joint (A) | j0=0.2313, j1=1.3439, j2=1.5213, j3=0.7489, j4=0.3055, j5=0.5956 |
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.00087 | -0.00040 | -0.00064 | 0.00115 | 0.027 |
52
+ | 1 | 0.00085 | -0.00058 | -0.00099 | 0.00143 | 0.049 |
53
+ | 2 | 0.00085 | -0.00057 | -0.00099 | 0.00142 | 0.049 |
54
+ | 3 | 0.00191 | -0.00040 | -0.00102 | 0.00220 | 0.152 |
55
+ | 4 | 0.00034 | 0.00013 | -0.00002 | 0.00037 | 0.070 |
56
+ | 5 | 0.00162 | -0.00076 | -0.00150 | 0.00233 | 0.114 |
57
+ | 6 | 0.00215 | -0.00082 | -0.00153 | 0.00276 | 0.176 |
58
+ | 7 | 0.00071 | -0.00037 | -0.00072 | 0.00107 | 0.031 |
59
+ | 8 | -0.00010 | -0.00013 | -0.00016 | 0.00023 | 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_0be7052c-c749-48a0-bd86-6435d7b12890.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/0be7052c-c749-48a0-bd86-6435d7b12890.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/0be7052c-c749-48a0-bd86-6435d7b12890.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 1503 |
12
+ | Sim rows | 154 |
13
+ | Real episode_id | `0be7052c-c749-48a0-bd86-6435d7b12890` |
14
+ | Sim episode_id | `0be7052c-c749-48a0-bd86-6435d7b12890` |
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 | 132 | 13 | 3.549 | 15.10 | 26.15 | 381.47 | 0.6871 |
27
+ | 1 | descend | 60 | 7 | 1.477 | 2.67 | 4.63 | 60.39 | 0.6837 |
28
+ | 2 | settle | 21 | 3 | 1.454 | 2.53 | 4.39 | 60.68 | 0.7261 |
29
+ | 3 | close | 371 | 37 | 1.459 | 2.76 | 4.78 | 62.27 | 1.1412 |
30
+ | 4 | lift | 59 | 7 | 1.518 | 3.49 | 6.05 | 61.94 | 1.1854 |
31
+ | 5 | move_xy | 173 | 17 | 4.797 | 25.26 | 43.75 | 2220.10 | 1.2346 |
32
+ | 6 | lower | 58 | 7 | 0.358 | 3.66 | 6.33 | 3621.38 | 1.1324 |
33
+ | 7 | open | 367 | 36 | 0.023 | 2.99 | 5.18 | 5.36 | 0.5355 |
34
+ | 8 | retract | 63 | 7 | 0.493 | 3.50 | 6.05 | 4.88 | 0.6730 |
35
+ | 9 | return | 199 | 20 | 2.815 | 18.23 | 31.58 | 1005.63 | 0.6971 |
36
+
37
+ ## Pooled metrics (matched phases only)
38
+
39
+ | Metric | Value |
40
+ |---|---:|
41
+ | Joints (deg) | 2.294 |
42
+ | TCP position RMSE (mm, per-axis) | 11.25 |
43
+ | EE position RMS L2 (mm) | 20.74 |
44
+ | TCP rotvec (mrad) | 1386.19 |
45
+ | W1 effort mean (A) | 0.8312 |
46
+ | W1 effort per joint (A) | j0=0.1395, j1=1.5707, j2=1.5161, j3=0.7784, j4=0.3860, j5=0.5967 |
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.00201 | -0.00355 | -0.00006 | 0.00408 | 3.607 |
53
+ | 1 | 0.00251 | -0.00357 | -0.00016 | 0.00437 | 3.563 |
54
+ | 2 | 0.00248 | -0.00358 | -0.00035 | 0.00437 | 3.560 |
55
+ | 3 | 0.00317 | -0.00286 | -0.00215 | 0.00478 | 3.560 |
56
+ | 4 | 0.00286 | -0.00324 | -0.00217 | 0.00484 | 3.598 |
57
+ | 5 | 0.00237 | -0.00461 | -0.00308 | 0.00603 | 0.280 |
58
+ | 6 | 0.00276 | -0.00463 | -0.00268 | 0.00602 | 0.225 |
59
+ | 7 | 0.00184 | -0.00474 | -0.00103 | 0.00519 | 0.040 |
60
+ | 8 | 0.00159 | -0.00440 | -0.00124 | 0.00484 | 0.062 |
61
+ | 9 | -0.00022 | -0.00010 | -0.00026 | 0.00035 | 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_0bf02a89-bb5d-4892-91f8-a99942e64778.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/0bf02a89-bb5d-4892-91f8-a99942e64778.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/0bf02a89-bb5d-4892-91f8-a99942e64778.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 1997 |
12
+ | Sim rows | 200 |
13
+ | Real episode_id | `0bf02a89-bb5d-4892-91f8-a99942e64778` |
14
+ | Sim episode_id | `0bf02a89-bb5d-4892-91f8-a99942e64778` |
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 | 187 | 19 | 8.014 | 9.41 | 16.30 | 559.91 | 0.6007 |
27
+ | 1 | descend | 88 | 9 | 14.766 | 3.73 | 6.45 | 572.45 | 0.6518 |
28
+ | 2 | settle | 15 | 2 | 14.748 | 2.69 | 4.65 | 572.99 | 0.6714 |
29
+ | 3 | close | 384 | 38 | 14.748 | 2.76 | 4.77 | 573.41 | 1.0323 |
30
+ | 4 | lift | 89 | 9 | 14.762 | 3.51 | 6.08 | 572.69 | 1.1242 |
31
+ | 5 | move_xy | 271 | 27 | 9.378 | 14.01 | 24.27 | 286.92 | 1.1317 |
32
+ | 6 | lower | 88 | 9 | 0.561 | 3.36 | 5.83 | 1470.30 | 0.9695 |
33
+ | 7 | open | 383 | 38 | 0.020 | 2.57 | 4.46 | 4.75 | 0.5195 |
34
+ | 8 | retract | 89 | 9 | 0.616 | 3.55 | 6.16 | 4.24 | 0.6494 |
35
+ | 9 | return | 403 | 40 | 5.058 | 16.95 | 29.36 | 966.58 | 0.6853 |
36
+
37
+ ## Pooled metrics (matched phases only)
38
+
39
+ | Metric | Value |
40
+ |---|---:|
41
+ | Joints (deg) | 10.244 |
42
+ | TCP position RMSE (mm, per-axis) | 8.02 |
43
+ | EE position RMS L2 (mm) | 17.14 |
44
+ | TCP rotvec (mrad) | 693.16 |
45
+ | W1 effort mean (A) | 0.7656 |
46
+ | W1 effort per joint (A) | j0=0.1295, j1=1.1780, j2=1.5325, j3=0.7402, j4=0.2588, j5=0.7548 |
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.00142 | -0.00410 | -0.00004 | 0.00433 | 36.130 |
53
+ | 1 | 0.00186 | -0.00428 | 0.00003 | 0.00466 | 36.123 |
54
+ | 2 | 0.00187 | -0.00425 | -0.00009 | 0.00464 | 36.125 |
55
+ | 3 | 0.00181 | -0.00440 | 0.00019 | 0.00476 | 36.125 |
56
+ | 4 | 0.00152 | -0.00421 | -0.00061 | 0.00452 | 36.125 |
57
+ | 5 | 0.00155 | -0.00327 | -0.00149 | 0.00391 | 0.098 |
58
+ | 6 | 0.00206 | -0.00393 | -0.00131 | 0.00463 | 0.090 |
59
+ | 7 | 0.00177 | -0.00398 | -0.00094 | 0.00446 | 0.038 |
60
+ | 8 | 0.00142 | -0.00365 | -0.00103 | 0.00405 | 0.044 |
61
+ | 9 | -0.00007 | -0.00006 | -0.00021 | 0.00023 | 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_0bfa0a27-f0a4-47f3-a3ff-2af152702c45.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/0bfa0a27-f0a4-47f3-a3ff-2af152702c45.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/0bfa0a27-f0a4-47f3-a3ff-2af152702c45.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 2707 |
12
+ | Sim rows | 239 |
13
+ | Real episode_id | `0bfa0a27-f0a4-47f3-a3ff-2af152702c45` |
14
+ | Sim episode_id | `0bfa0a27-f0a4-47f3-a3ff-2af152702c45` |
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 | 201 | 18 | 2.745 | 14.11 | 24.44 | 1996.96 | 0.6277 |
27
+ | 1 | descend | 405 | 35 | 1.344 | 9.28 | 16.07 | 3624.76 | 0.7555 |
28
+ | 2 | settle | 376 | 33 | 0.026 | 0.96 | 1.67 | 3624.57 | 0.7162 |
29
+ | 3 | close | 188 | 17 | 0.885 | 6.24 | 10.80 | 3625.33 | 1.0043 |
30
+ | 4 | lift | 288 | 25 | 2.776 | 15.07 | 26.10 | 2445.07 | 1.1421 |
31
+ | 5 | move_xy | 381 | 33 | 6.620 | 38.29 | 66.33 | 2877.05 | 0.9432 |
32
+ | 6 | lower | 388 | 34 | 0.095 | 1.73 | 3.00 | 3625.04 | 1.0572 |
33
+ | 7 | open | 190 | 17 | 0.945 | 6.57 | 11.38 | 3624.79 | 0.7321 |
34
+ | 8 | retract | 290 | 25 | 2.955 | 16.02 | 27.76 | 2454.88 | 0.7678 |
35
+
36
+ ## Pooled metrics (matched phases only)
37
+
38
+ | Metric | Value |
39
+ |---|---:|
40
+ | Joints (deg) | 2.814 |
41
+ | TCP position RMSE (mm, per-axis) | 16.06 |
42
+ | EE position RMS L2 (mm) | 29.60 |
43
+ | TCP rotvec (mrad) | 3161.74 |
44
+ | W1 effort mean (A) | 0.8459 |
45
+ | W1 effort per joint (A) | j0=0.2407, j1=1.5509, j2=1.6621, j3=0.7610, j4=0.2830, j5=0.5778 |
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.00086 | -0.00026 | -0.00073 | 0.00116 | 0.030 |
52
+ | 1 | 0.00091 | -0.00073 | -0.00119 | 0.00166 | 0.050 |
53
+ | 2 | 0.00091 | -0.00074 | -0.00117 | 0.00166 | 0.053 |
54
+ | 3 | 0.00169 | -0.00032 | -0.00122 | 0.00211 | 0.105 |
55
+ | 4 | 0.00007 | -0.00055 | -0.00054 | 0.00078 | 0.103 |
56
+ | 5 | 0.00180 | -0.00111 | -0.00170 | 0.00272 | 0.116 |
57
+ | 6 | 0.00229 | -0.00101 | -0.00062 | 0.00258 | 0.177 |
58
+ | 7 | 0.00075 | -0.00035 | -0.00100 | 0.00130 | 0.061 |
59
+ | 8 | -0.00013 | -0.00023 | -0.00020 | 0.00034 | 0.040 |
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_0c01c666-12c5-46d0-b381-2a986eb87674.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/0c01c666-12c5-46d0-b381-2a986eb87674.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/0c01c666-12c5-46d0-b381-2a986eb87674.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 1588 |
12
+ | Sim rows | 162 |
13
+ | Real episode_id | `0c01c666-12c5-46d0-b381-2a986eb87674` |
14
+ | Sim episode_id | `0c01c666-12c5-46d0-b381-2a986eb87674` |
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 | 223 | 22 | 3.367 | 14.96 | 25.91 | 1016.73 | 0.7207 |
27
+ | 1 | descend | 102 | 11 | 0.764 | 4.31 | 7.47 | 5.67 | 0.7097 |
28
+ | 2 | settle | 25 | 3 | 0.027 | 2.31 | 4.01 | 6.20 | 0.6962 |
29
+ | 3 | close | 397 | 39 | 0.154 | 1.91 | 3.30 | 8.86 | 1.1439 |
30
+ | 4 | lift | 104 | 11 | 0.877 | 4.55 | 7.89 | 8.72 | 1.3150 |
31
+ | 5 | move_xy | 279 | 28 | 4.657 | 26.50 | 45.90 | 222.30 | 1.1688 |
32
+ | 6 | lower | 102 | 11 | 0.667 | 4.17 | 7.23 | 10.22 | 1.0131 |
33
+ | 7 | open | 87 | 9 | 0.021 | 3.05 | 5.29 | 5.70 | 0.6797 |
34
+ | 8 | retract | 101 | 11 | 0.775 | 4.33 | 7.50 | 5.05 | 0.7455 |
35
+ | 9 | return | 168 | 17 | 2.327 | 15.93 | 27.59 | 362.55 | 0.7311 |
36
+
37
+ ## Pooled metrics (matched phases only)
38
+
39
+ | Metric | Value |
40
+ |---|---:|
41
+ | Joints (deg) | 2.021 |
42
+ | TCP position RMSE (mm, per-axis) | 11.29 |
43
+ | EE position RMS L2 (mm) | 23.75 |
44
+ | TCP rotvec (mrad) | 348.57 |
45
+ | W1 effort mean (A) | 0.9467 |
46
+ | W1 effort per joint (A) | j0=0.1525, j1=1.7381, j2=1.5452, j3=0.9124, j4=0.6819, j5=0.6499 |
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.00209 | -0.00326 | -0.00026 | 0.00388 | 0.036 |
53
+ | 1 | 0.00245 | -0.00312 | -0.00048 | 0.00399 | 0.050 |
54
+ | 2 | 0.00245 | -0.00314 | -0.00054 | 0.00402 | 0.060 |
55
+ | 3 | 0.00060 | -0.00295 | -0.00143 | 0.00333 | 0.260 |
56
+ | 4 | 0.00011 | -0.00331 | -0.00150 | 0.00364 | 0.262 |
57
+ | 5 | 0.00211 | -0.00413 | -0.00228 | 0.00517 | 0.219 |
58
+ | 6 | 0.00290 | -0.00436 | -0.00237 | 0.00574 | 0.254 |
59
+ | 7 | 0.00191 | -0.00482 | -0.00107 | 0.00530 | 0.043 |
60
+ | 8 | 0.00145 | -0.00451 | -0.00111 | 0.00486 | 0.043 |
61
+ | 9 | -0.00025 | -0.00013 | -0.00028 | 0.00040 | 0.036 |
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_0c148c6f-2065-41cc-84b0-7d425604aea7.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/0c148c6f-2065-41cc-84b0-7d425604aea7.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/0c148c6f-2065-41cc-84b0-7d425604aea7.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 2820 |
12
+ | Sim rows | 251 |
13
+ | Real episode_id | `0c148c6f-2065-41cc-84b0-7d425604aea7` |
14
+ | Sim episode_id | `0c148c6f-2065-41cc-84b0-7d425604aea7` |
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 | 236 | 21 | 3.734 | 17.82 | 30.86 | 1988.24 | 0.6388 |
27
+ | 1 | descend | 412 | 36 | 1.325 | 9.36 | 16.22 | 3624.77 | 0.7537 |
28
+ | 2 | settle | 379 | 33 | 0.026 | 1.01 | 1.75 | 3624.58 | 0.7406 |
29
+ | 3 | close | 171 | 15 | 0.910 | 6.54 | 11.32 | 3625.18 | 1.0239 |
30
+ | 4 | lift | 326 | 29 | 2.976 | 15.76 | 27.29 | 2499.88 | 1.1394 |
31
+ | 5 | move_xy | 419 | 37 | 7.580 | 41.92 | 72.61 | 2777.66 | 0.9102 |
32
+ | 6 | lower | 384 | 34 | 0.085 | 1.65 | 2.86 | 3625.25 | 1.0131 |
33
+ | 7 | open | 169 | 15 | 0.879 | 6.06 | 10.50 | 3624.76 | 0.7349 |
34
+ | 8 | retract | 324 | 29 | 3.044 | 16.10 | 27.88 | 2491.03 | 0.7648 |
35
+
36
+ ## Pooled metrics (matched phases only)
37
+
38
+ | Metric | Value |
39
+ |---|---:|
40
+ | Joints (deg) | 3.213 |
41
+ | TCP position RMSE (mm, per-axis) | 17.49 |
42
+ | EE position RMS L2 (mm) | 33.06 |
43
+ | TCP rotvec (mrad) | 3159.16 |
44
+ | W1 effort mean (A) | 0.8402 |
45
+ | W1 effort per joint (A) | j0=0.2420, j1=1.6042, j2=1.5690, j3=0.7629, j4=0.2572, j5=0.6057 |
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.00106 | -0.00011 | -0.00080 | 0.00133 | 0.041 |
52
+ | 1 | 0.00109 | -0.00063 | -0.00117 | 0.00172 | 0.053 |
53
+ | 2 | 0.00114 | -0.00066 | -0.00116 | 0.00176 | 0.055 |
54
+ | 3 | 0.00162 | -0.00029 | -0.00180 | 0.00244 | 0.176 |
55
+ | 4 | 0.00012 | -0.00030 | -0.00022 | 0.00039 | 0.084 |
56
+ | 5 | 0.00208 | -0.00084 | -0.00137 | 0.00263 | 0.110 |
57
+ | 6 | 0.00195 | -0.00089 | -0.00145 | 0.00259 | 0.116 |
58
+ | 7 | 0.00091 | -0.00018 | -0.00104 | 0.00139 | 0.063 |
59
+ | 8 | -0.00013 | -0.00024 | -0.00025 | 0.00037 | 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_0c2fd828-946c-409c-8c76-6e772f23feb6.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/0c2fd828-946c-409c-8c76-6e772f23feb6.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/0c2fd828-946c-409c-8c76-6e772f23feb6.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 1064 |
12
+ | Sim rows | 111 |
13
+ | Real episode_id | `0c2fd828-946c-409c-8c76-6e772f23feb6` |
14
+ | Sim episode_id | `0c2fd828-946c-409c-8c76-6e772f23feb6` |
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 | 136 | 14 | 3.139 | 14.18 | 24.56 | 292.06 | 0.6542 |
27
+ | 1 | descend | 68 | 7 | 0.719 | 3.57 | 6.18 | 3.83 | 0.5971 |
28
+ | 2 | settle | 31 | 4 | 0.018 | 2.14 | 3.72 | 4.61 | 0.5834 |
29
+ | 3 | close | 33 | 4 | 0.042 | 2.27 | 3.93 | 4.20 | 1.0046 |
30
+ | 4 | lift | 73 | 8 | 0.829 | 4.07 | 7.04 | 3.67 | 1.0244 |
31
+ | 5 | move_xy | 193 | 19 | 7.739 | 32.89 | 56.97 | 125.22 | 1.0860 |
32
+ | 6 | lower | 70 | 8 | 0.687 | 4.76 | 8.25 | 6.40 | 1.1197 |
33
+ | 7 | open | 98 | 10 | 0.021 | 3.10 | 5.36 | 5.87 | 0.6178 |
34
+ | 8 | retract | 70 | 8 | 0.853 | 4.53 | 7.85 | 5.30 | 0.7107 |
35
+ | 9 | return | 292 | 29 | 3.363 | 25.44 | 44.06 | 1144.29 | 0.7031 |
36
+
37
+ ## Pooled metrics (matched phases only)
38
+
39
+ | Metric | Value |
40
+ |---|---:|
41
+ | Joints (deg) | 2.889 |
42
+ | TCP position RMSE (mm, per-axis) | 14.22 |
43
+ | EE position RMS L2 (mm) | 34.88 |
44
+ | TCP rotvec (mrad) | 375.57 |
45
+ | W1 effort mean (A) | 0.7585 |
46
+ | W1 effort per joint (A) | j0=0.1835, j1=1.3511, j2=1.5767, j3=0.7681, j4=0.2859, j5=0.3857 |
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.00140 | -0.00337 | 0.00019 | 0.00365 | 0.052 |
53
+ | 1 | 0.00207 | -0.00303 | 0.00022 | 0.00367 | 0.062 |
54
+ | 2 | 0.00206 | -0.00311 | 0.00010 | 0.00373 | 0.033 |
55
+ | 3 | 0.00218 | -0.00315 | -0.00005 | 0.00383 | 0.077 |
56
+ | 4 | 0.00183 | -0.00366 | -0.00006 | 0.00409 | 0.124 |
57
+ | 5 | 0.00137 | -0.00553 | -0.00176 | 0.00596 | 0.137 |
58
+ | 6 | 0.00161 | -0.00576 | -0.00161 | 0.00620 | 0.113 |
59
+ | 7 | 0.00165 | -0.00495 | -0.00129 | 0.00538 | 0.041 |
60
+ | 8 | 0.00130 | -0.00447 | -0.00141 | 0.00487 | 0.053 |
61
+ | 9 | -0.00015 | -0.00008 | -0.00028 | 0.00032 | 0.032 |
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_0c474e98-2b60-4d23-be36-38e6a9e32813.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/0c474e98-2b60-4d23-be36-38e6a9e32813.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/0c474e98-2b60-4d23-be36-38e6a9e32813.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 957 |
12
+ | Sim rows | 110 |
13
+ | Real episode_id | `0c474e98-2b60-4d23-be36-38e6a9e32813` |
14
+ | Sim episode_id | `0c474e98-2b60-4d23-be36-38e6a9e32813` |
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 | 746 | 73 | 6.823 | 28.67 | 49.66 | 1110.77 | 0.7151 |
27
+ | 1 | descend | 211 | 21 | 0.021 | 0.74 | 1.27 | 3625.43 | 0.8031 |
28
+
29
+ ## Pooled metrics (matched phases only)
30
+
31
+ | Metric | Value |
32
+ |---|---:|
33
+ | Joints (deg) | 4.825 |
34
+ | TCP position RMSE (mm, per-axis) | 20.28 |
35
+ | EE position RMS L2 (mm) | 43.85 |
36
+ | TCP rotvec (mrad) | 2681.19 |
37
+ | W1 effort mean (A) | 0.7345 |
38
+ | W1 effort per joint (A) | j0=0.1847, j1=1.3308, j2=1.7640, j3=0.8590, j4=0.1033, j5=0.1650 |
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.00061 | -0.00043 | 0.00116 | 0.00138 | 0.032 |
45
+ | 1 | -0.00051 | -0.00047 | 0.00104 | 0.00125 | 0.034 |
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_0c7e2ff1-3c90-4346-9518-85c8a1c1377f.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/0c7e2ff1-3c90-4346-9518-85c8a1c1377f.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/0c7e2ff1-3c90-4346-9518-85c8a1c1377f.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 505 |
12
+ | Sim rows | 66 |
13
+ | Real episode_id | `0c7e2ff1-3c90-4346-9518-85c8a1c1377f` |
14
+ | Sim episode_id | `0c7e2ff1-3c90-4346-9518-85c8a1c1377f` |
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 | 295 | 29 | 1.914 | 6.83 | 11.83 | 3.10 | 0.8077 |
27
+ | 1 | descend | 210 | 21 | 0.023 | 0.43 | 0.75 | 2.11 | 0.7424 |
28
+
29
+ ## Pooled metrics (matched phases only)
30
+
31
+ | Metric | Value |
32
+ |---|---:|
33
+ | Joints (deg) | 1.354 |
34
+ | TCP position RMSE (mm, per-axis) | 4.84 |
35
+ | EE position RMS L2 (mm) | 9.06 |
36
+ | TCP rotvec (mrad) | 2.65 |
37
+ | W1 effort mean (A) | 0.7806 |
38
+ | W1 effort per joint (A) | j0=0.1854, j1=1.6943, j2=1.6586, j3=0.8842, j4=0.1358, j5=0.1250 |
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.00035 | 0.00061 | 0.00070 | 0.045 |
45
+ | 1 | 0.00010 | -0.00038 | 0.00064 | 0.00075 | 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_0c8052db-62b6-4957-9794-6e86f1a92cfc.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/0c8052db-62b6-4957-9794-6e86f1a92cfc.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/0c8052db-62b6-4957-9794-6e86f1a92cfc.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 2702 |
12
+ | Sim rows | 242 |
13
+ | Real episode_id | `0c8052db-62b6-4957-9794-6e86f1a92cfc` |
14
+ | Sim episode_id | `0c8052db-62b6-4957-9794-6e86f1a92cfc` |
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 | 244 | 22 | 3.105 | 13.72 | 23.77 | 1996.49 | 0.5829 |
27
+ | 1 | descend | 304 | 27 | 1.099 | 6.96 | 12.06 | 3625.37 | 0.7450 |
28
+ | 2 | settle | 357 | 32 | 0.024 | 0.77 | 1.33 | 3625.27 | 0.7391 |
29
+ | 3 | close | 143 | 13 | 0.846 | 5.34 | 9.25 | 3419.90 | 0.9409 |
30
+ | 4 | lift | 340 | 30 | 2.695 | 12.39 | 21.46 | 2175.43 | 1.1162 |
31
+ | 5 | move_xy | 458 | 40 | 6.994 | 35.69 | 61.82 | 2785.58 | 0.8875 |
32
+ | 6 | lower | 372 | 33 | 0.089 | 1.42 | 2.45 | 3625.76 | 1.0260 |
33
+ | 7 | open | 145 | 13 | 1.061 | 6.54 | 11.33 | 3625.49 | 0.6572 |
34
+ | 8 | retract | 339 | 30 | 2.594 | 11.83 | 20.49 | 2338.16 | 0.7386 |
35
+
36
+ ## Pooled metrics (matched phases only)
37
+
38
+ | Metric | Value |
39
+ |---|---:|
40
+ | Joints (deg) | 2.898 |
41
+ | TCP position RMSE (mm, per-axis) | 14.45 |
42
+ | EE position RMS L2 (mm) | 28.95 |
43
+ | TCP rotvec (mrad) | 3095.10 |
44
+ | W1 effort mean (A) | 0.8191 |
45
+ | W1 effort per joint (A) | j0=0.2442, j1=1.3412, j2=1.6296, j3=0.7602, j4=0.3536, j5=0.5860 |
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.00023 | -0.00071 | 0.00097 | 0.038 |
52
+ | 1 | 0.00060 | -0.00062 | -0.00102 | 0.00133 | 0.049 |
53
+ | 2 | 0.00063 | -0.00063 | -0.00096 | 0.00131 | 0.044 |
54
+ | 3 | 0.00103 | -0.00036 | -0.00078 | 0.00134 | 0.080 |
55
+ | 4 | 0.00023 | -0.00016 | -0.00024 | 0.00037 | 0.095 |
56
+ | 5 | 0.00168 | -0.00100 | -0.00143 | 0.00243 | 0.146 |
57
+ | 6 | 0.00175 | -0.00090 | -0.00172 | 0.00262 | 0.155 |
58
+ | 7 | 0.00045 | -0.00033 | -0.00074 | 0.00093 | 0.050 |
59
+ | 8 | -0.00008 | -0.00013 | -0.00016 | 0.00022 | 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_0c8fe9fa-1e3c-4aba-82f9-9e701206d796.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/0c8fe9fa-1e3c-4aba-82f9-9e701206d796.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/0c8fe9fa-1e3c-4aba-82f9-9e701206d796.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 2628 |
12
+ | Sim rows | 232 |
13
+ | Real episode_id | `0c8fe9fa-1e3c-4aba-82f9-9e701206d796` |
14
+ | Sim episode_id | `0c8fe9fa-1e3c-4aba-82f9-9e701206d796` |
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 | 231 | 20 | 2.301 | 9.49 | 16.44 | 1996.00 | 0.5621 |
27
+ | 1 | descend | 386 | 34 | 1.503 | 8.90 | 15.41 | 3626.01 | 0.6967 |
28
+ | 2 | settle | 384 | 33 | 0.022 | 0.57 | 0.98 | 3625.97 | 0.7146 |
29
+ | 3 | close | 133 | 12 | 1.073 | 6.46 | 11.19 | 1542.85 | 0.9289 |
30
+ | 4 | lift | 263 | 23 | 2.463 | 10.16 | 17.60 | 1341.33 | 1.0558 |
31
+ | 5 | move_xy | 436 | 38 | 5.065 | 23.69 | 41.04 | 1867.94 | 0.8894 |
32
+ | 6 | lower | 403 | 35 | 0.080 | 1.01 | 1.74 | 1248.34 | 0.9559 |
33
+ | 7 | open | 131 | 12 | 0.813 | 4.84 | 8.38 | 3626.19 | 0.5958 |
34
+ | 8 | retract | 261 | 23 | 2.594 | 10.70 | 18.53 | 2255.58 | 0.6919 |
35
+
36
+ ## Pooled metrics (matched phases only)
37
+
38
+ | Metric | Value |
39
+ |---|---:|
40
+ | Joints (deg) | 2.305 |
41
+ | TCP position RMSE (mm, per-axis) | 10.62 |
42
+ | EE position RMS L2 (mm) | 20.34 |
43
+ | TCP rotvec (mrad) | 2532.97 |
44
+ | W1 effort mean (A) | 0.7687 |
45
+ | W1 effort per joint (A) | j0=0.2362, j1=1.1181, j2=1.5639, j3=0.7253, j4=0.4147, j5=0.5539 |
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.00014 | -0.00038 | -0.00054 | 0.00068 | 0.031 |
52
+ | 1 | 0.00016 | -0.00060 | -0.00073 | 0.00096 | 0.031 |
53
+ | 2 | 0.00018 | -0.00057 | -0.00079 | 0.00099 | 0.037 |
54
+ | 3 | 0.00030 | -0.00047 | -0.00022 | 0.00060 | 0.108 |
55
+ | 4 | 0.00016 | -0.00025 | -0.00034 | 0.00045 | 0.092 |
56
+ | 5 | 0.00084 | -0.00070 | -0.00100 | 0.00148 | 0.089 |
57
+ | 6 | 0.00062 | -0.00089 | -0.00151 | 0.00185 | 0.116 |
58
+ | 7 | -0.00003 | -0.00035 | -0.00055 | 0.00065 | 0.039 |
59
+ | 8 | -0.00009 | -0.00012 | -0.00016 | 0.00022 | 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_0c91fc7d-6a38-4864-9b50-3fdfa9f91b05.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/0c91fc7d-6a38-4864-9b50-3fdfa9f91b05.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/0c91fc7d-6a38-4864-9b50-3fdfa9f91b05.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 2737 |
12
+ | Sim rows | 246 |
13
+ | Real episode_id | `0c91fc7d-6a38-4864-9b50-3fdfa9f91b05` |
14
+ | Sim episode_id | `0c91fc7d-6a38-4864-9b50-3fdfa9f91b05` |
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 | 237 | 21 | 2.375 | 11.24 | 19.47 | 2012.02 | 0.5635 |
27
+ | 1 | descend | 451 | 40 | 0.674 | 4.36 | 7.56 | 3625.38 | 0.7358 |
28
+ | 2 | settle | 361 | 32 | 0.025 | 0.76 | 1.32 | 3625.18 | 0.6178 |
29
+ | 3 | close | 124 | 12 | 0.928 | 5.96 | 10.32 | 3507.51 | 1.0107 |
30
+ | 4 | lift | 304 | 27 | 2.662 | 13.14 | 22.76 | 2268.53 | 1.0974 |
31
+ | 5 | move_xy | 452 | 39 | 5.689 | 30.92 | 53.56 | 2724.87 | 0.9266 |
32
+ | 6 | lower | 382 | 34 | 0.084 | 1.29 | 2.23 | 3476.67 | 1.0600 |
33
+ | 7 | open | 125 | 12 | 0.809 | 5.19 | 8.99 | 3625.30 | 0.7318 |
34
+ | 8 | retract | 301 | 27 | 2.551 | 12.65 | 21.90 | 2317.52 | 0.7182 |
35
+
36
+ ## Pooled metrics (matched phases only)
37
+
38
+ | Metric | Value |
39
+ |---|---:|
40
+ | Joints (deg) | 2.440 |
41
+ | TCP position RMSE (mm, per-axis) | 12.91 |
42
+ | EE position RMS L2 (mm) | 25.21 |
43
+ | TCP rotvec (mrad) | 3087.76 |
44
+ | W1 effort mean (A) | 0.8093 |
45
+ | W1 effort per joint (A) | j0=0.2542, j1=1.3021, j2=1.6218, j3=0.7823, j4=0.2577, j5=0.6379 |
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.00042 | -0.00081 | 0.00102 | 0.040 |
52
+ | 1 | 0.00040 | -0.00074 | -0.00100 | 0.00130 | 0.048 |
53
+ | 2 | 0.00046 | -0.00072 | -0.00098 | 0.00130 | 0.042 |
54
+ | 3 | 0.00075 | -0.00056 | -0.00049 | 0.00106 | 0.087 |
55
+ | 4 | 0.00018 | -0.00021 | -0.00022 | 0.00036 | 0.100 |
56
+ | 5 | 0.00148 | -0.00109 | -0.00140 | 0.00232 | 0.157 |
57
+ | 6 | 0.00176 | -0.00090 | -0.00054 | 0.00205 | 0.167 |
58
+ | 7 | 0.00026 | -0.00045 | -0.00077 | 0.00093 | 0.037 |
59
+ | 8 | -0.00011 | -0.00016 | -0.00016 | 0.00025 | 0.025 |
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_0c94b7e5-e527-42a1-8400-536b21d1ded6.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/0c94b7e5-e527-42a1-8400-536b21d1ded6.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/0c94b7e5-e527-42a1-8400-536b21d1ded6.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 2303 |
12
+ | Sim rows | 207 |
13
+ | Real episode_id | `0c94b7e5-e527-42a1-8400-536b21d1ded6` |
14
+ | Sim episode_id | `0c94b7e5-e527-42a1-8400-536b21d1ded6` |
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 | 2.057 | 10.28 | 17.81 | 1904.78 | 0.5707 |
27
+ | 1 | descend | 230 | 21 | 1.007 | 6.53 | 11.31 | 3625.27 | 0.7404 |
28
+ | 2 | settle | 379 | 33 | 0.025 | 0.75 | 1.29 | 3625.24 | 0.6976 |
29
+ | 3 | close | 103 | 10 | 0.492 | 3.32 | 5.74 | 3625.75 | 1.0100 |
30
+ | 4 | lift | 296 | 26 | 2.448 | 12.61 | 21.84 | 2210.22 | 1.0990 |
31
+ | 5 | move_xy | 327 | 29 | 4.737 | 26.23 | 45.44 | 2511.50 | 0.8643 |
32
+ | 6 | lower | 377 | 33 | 0.081 | 1.26 | 2.18 | 3549.63 | 1.0455 |
33
+ | 7 | open | 103 | 10 | 0.482 | 3.13 | 5.43 | 3625.41 | 0.6844 |
34
+ | 8 | retract | 296 | 26 | 2.483 | 12.80 | 22.18 | 2209.99 | 0.7122 |
35
+
36
+ ## Pooled metrics (matched phases only)
37
+
38
+ | Metric | Value |
39
+ |---|---:|
40
+ | Joints (deg) | 2.117 |
41
+ | TCP position RMSE (mm, per-axis) | 11.46 |
42
+ | EE position RMS L2 (mm) | 21.47 |
43
+ | TCP rotvec (mrad) | 3071.00 |
44
+ | W1 effort mean (A) | 0.8077 |
45
+ | W1 effort per joint (A) | j0=0.2084, j1=1.3708, j2=1.5926, j3=0.7492, j4=0.3477, j5=0.5777 |
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.00045 | -0.00070 | 0.00095 | 0.037 |
52
+ | 1 | 0.00042 | -0.00070 | -0.00098 | 0.00128 | 0.043 |
53
+ | 2 | 0.00043 | -0.00072 | -0.00097 | 0.00128 | 0.046 |
54
+ | 3 | 0.00098 | -0.00058 | -0.00122 | 0.00167 | 0.103 |
55
+ | 4 | 0.00016 | -0.00043 | -0.00054 | 0.00071 | 0.105 |
56
+ | 5 | 0.00132 | -0.00097 | -0.00135 | 0.00213 | 0.119 |
57
+ | 6 | 0.00118 | -0.00095 | -0.00081 | 0.00172 | 0.111 |
58
+ | 7 | 0.00019 | -0.00052 | -0.00080 | 0.00098 | 0.040 |
59
+ | 8 | -0.00012 | -0.00017 | -0.00019 | 0.00027 | 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_0ca13322-a26e-4066-a462-9540316780e4.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/0ca13322-a26e-4066-a462-9540316780e4.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/0ca13322-a26e-4066-a462-9540316780e4.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 2530 |
12
+ | Sim rows | 254 |
13
+ | Real episode_id | `0ca13322-a26e-4066-a462-9540316780e4` |
14
+ | Sim episode_id | `0ca13322-a26e-4066-a462-9540316780e4` |
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.512 | 13.67 | 23.67 | 1942.60 | 0.6207 |
27
+ | 1 | descend | 461 | 45 | 0.773 | 5.40 | 9.36 | 3624.73 | 0.7480 |
28
+ | 2 | settle | 316 | 31 | 0.027 | 0.97 | 1.68 | 3624.53 | 0.7827 |
29
+ | 3 | close | 163 | 17 | 1.027 | 7.06 | 12.24 | 3471.72 | 1.0251 |
30
+ | 4 | lift | 255 | 26 | 2.480 | 14.10 | 24.42 | 2424.00 | 1.1470 |
31
+ | 5 | move_xy | 379 | 38 | 6.566 | 39.43 | 68.29 | 2920.36 | 0.9632 |
32
+ | 6 | lower | 339 | 33 | 0.095 | 1.70 | 2.95 | 3625.02 | 1.0986 |
33
+ | 7 | open | 165 | 17 | 1.114 | 7.61 | 13.18 | 3624.76 | 0.7413 |
34
+ | 8 | retract | 257 | 26 | 2.449 | 13.91 | 24.10 | 2435.40 | 0.7509 |
35
+
36
+ ## Pooled metrics (matched phases only)
37
+
38
+ | Metric | Value |
39
+ |---|---:|
40
+ | Joints (deg) | 2.677 |
41
+ | TCP position RMSE (mm, per-axis) | 15.90 |
42
+ | EE position RMS L2 (mm) | 29.99 |
43
+ | TCP rotvec (mrad) | 3139.66 |
44
+ | W1 effort mean (A) | 0.8547 |
45
+ | W1 effort per joint (A) | j0=0.2502, j1=1.6125, j2=1.7019, j3=0.6996, j4=0.2917, j5=0.5721 |
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.00075 | -0.00038 | -0.00070 | 0.00109 | 0.030 |
52
+ | 1 | 0.00077 | -0.00088 | -0.00123 | 0.00170 | 0.060 |
53
+ | 2 | 0.00079 | -0.00086 | -0.00121 | 0.00168 | 0.054 |
54
+ | 3 | 0.00167 | -0.00041 | -0.00103 | 0.00200 | 0.123 |
55
+ | 4 | 0.00034 | 0.00002 | -0.00013 | 0.00036 | 0.087 |
56
+ | 5 | 0.00180 | -0.00118 | -0.00160 | 0.00268 | 0.126 |
57
+ | 6 | 0.00190 | -0.00114 | -0.00164 | 0.00276 | 0.172 |
58
+ | 7 | 0.00062 | -0.00049 | -0.00101 | 0.00128 | 0.062 |
59
+ | 8 | -0.00013 | -0.00021 | -0.00021 | 0.00033 | 0.038 |
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_0cba2c55-ca38-4579-b023-b86cfa1d09b0.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/0cba2c55-ca38-4579-b023-b86cfa1d09b0.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/0cba2c55-ca38-4579-b023-b86cfa1d09b0.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 2870 |
12
+ | Sim rows | 254 |
13
+ | Real episode_id | `0cba2c55-ca38-4579-b023-b86cfa1d09b0` |
14
+ | Sim episode_id | `0cba2c55-ca38-4579-b023-b86cfa1d09b0` |
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 | 243 | 21 | 3.422 | 16.66 | 28.86 | 3.61 | 0.6369 |
27
+ | 1 | descend | 365 | 32 | 0.589 | 4.56 | 7.90 | 5.60 | 0.7785 |
28
+ | 2 | settle | 379 | 33 | 0.028 | 1.21 | 2.09 | 5.68 | 0.6804 |
29
+ | 3 | close | 140 | 13 | 0.557 | 4.43 | 7.67 | 7.72 | 0.9741 |
30
+ | 4 | lift | 402 | 35 | 3.504 | 19.34 | 33.50 | 5.15 | 1.1241 |
31
+ | 5 | move_xy | 405 | 35 | 7.930 | 44.00 | 76.20 | 5.71 | 0.9009 |
32
+ | 6 | lower | 396 | 35 | 0.095 | 1.99 | 3.44 | 7.85 | 0.9964 |
33
+ | 7 | open | 139 | 13 | 0.497 | 3.45 | 5.98 | 5.56 | 0.6419 |
34
+ | 8 | retract | 401 | 35 | 3.349 | 18.27 | 31.65 | 3.72 | 0.7436 |
35
+
36
+ ## Pooled metrics (matched phases only)
37
+
38
+ | Metric | Value |
39
+ |---|---:|
40
+ | Joints (deg) | 3.317 |
41
+ | TCP position RMSE (mm, per-axis) | 18.19 |
42
+ | EE position RMS L2 (mm) | 34.67 |
43
+ | TCP rotvec (mrad) | 5.79 |
44
+ | W1 effort mean (A) | 0.8206 |
45
+ | W1 effort per joint (A) | j0=0.2496, j1=1.5251, j2=1.5320, j3=0.6703, j4=0.3637, j5=0.5831 |
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.00141 | -0.00067 | -0.00082 | 0.00176 | 0.031 |
52
+ | 1 | 0.00141 | -0.00092 | -0.00123 | 0.00208 | 0.057 |
53
+ | 2 | 0.00145 | -0.00094 | -0.00120 | 0.00210 | 0.057 |
54
+ | 3 | 0.00281 | -0.00078 | -0.00107 | 0.00311 | 0.201 |
55
+ | 4 | 0.00015 | -0.00017 | -0.00023 | 0.00032 | 0.094 |
56
+ | 5 | 0.00224 | -0.00114 | -0.00211 | 0.00328 | 0.148 |
57
+ | 6 | 0.00274 | -0.00101 | -0.00248 | 0.00383 | 0.173 |
58
+ | 7 | 0.00126 | -0.00069 | -0.00098 | 0.00174 | 0.043 |
59
+ | 8 | -0.00014 | -0.00021 | -0.00022 | 0.00034 | 0.037 |
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_0cbbea65-395a-411e-81f5-5de1d673708e.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/0cbbea65-395a-411e-81f5-5de1d673708e.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/0cbbea65-395a-411e-81f5-5de1d673708e.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 2788 |
12
+ | Sim rows | 249 |
13
+ | Real episode_id | `0cbbea65-395a-411e-81f5-5de1d673708e` |
14
+ | Sim episode_id | `0cbbea65-395a-411e-81f5-5de1d673708e` |
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 | 3.168 | 11.47 | 19.86 | 1960.48 | 0.5919 |
27
+ | 1 | descend | 314 | 28 | 1.141 | 6.90 | 11.95 | 3625.99 | 0.6469 |
28
+ | 2 | settle | 376 | 33 | 0.024 | 0.69 | 1.19 | 3626.00 | 0.6497 |
29
+ | 3 | close | 129 | 12 | 0.992 | 5.64 | 9.76 | 1112.60 | 0.9020 |
30
+ | 4 | lift | 457 | 40 | 3.719 | 15.22 | 26.36 | 1915.55 | 1.0796 |
31
+ | 5 | move_xy | 356 | 31 | 8.337 | 36.16 | 62.63 | 2108.60 | 0.8709 |
32
+ | 6 | lower | 378 | 33 | 0.078 | 1.19 | 2.05 | 1382.28 | 0.8889 |
33
+ | 7 | open | 128 | 12 | 0.970 | 5.63 | 9.75 | 3626.22 | 0.5773 |
34
+ | 8 | retract | 455 | 40 | 3.587 | 14.74 | 25.53 | 2299.45 | 0.7017 |
35
+
36
+ ## Pooled metrics (matched phases only)
37
+
38
+ | Metric | Value |
39
+ |---|---:|
40
+ | Joints (deg) | 3.488 |
41
+ | TCP position RMSE (mm, per-axis) | 14.91 |
42
+ | EE position RMS L2 (mm) | 27.83 |
43
+ | TCP rotvec (mrad) | 2578.55 |
44
+ | W1 effort mean (A) | 0.7622 |
45
+ | W1 effort per joint (A) | j0=0.2632, j1=1.1868, j2=1.4517, j3=0.6532, j4=0.3827, j5=0.6355 |
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.00066 | -0.00022 | -0.00041 | 0.00081 | 0.040 |
52
+ | 1 | 0.00069 | -0.00054 | -0.00078 | 0.00117 | 0.037 |
53
+ | 2 | 0.00069 | -0.00055 | -0.00077 | 0.00117 | 0.039 |
54
+ | 3 | 0.00093 | -0.00018 | -0.00074 | 0.00120 | 0.064 |
55
+ | 4 | 0.00039 | 0.00000 | -0.00016 | 0.00042 | 0.083 |
56
+ | 5 | 0.00191 | -0.00058 | -0.00191 | 0.00276 | 0.172 |
57
+ | 6 | 0.00144 | -0.00073 | -0.00139 | 0.00213 | 0.112 |
58
+ | 7 | 0.00045 | -0.00022 | -0.00052 | 0.00072 | 0.040 |
59
+ | 8 | -0.00005 | -0.00007 | -0.00013 | 0.00015 | 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_0ceaf1cb-066b-467e-a60e-c6fbc29aa4f5.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/0ceaf1cb-066b-467e-a60e-c6fbc29aa4f5.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/0ceaf1cb-066b-467e-a60e-c6fbc29aa4f5.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 2482 |
12
+ | Sim rows | 221 |
13
+ | Real episode_id | `0ceaf1cb-066b-467e-a60e-c6fbc29aa4f5` |
14
+ | Sim episode_id | `0ceaf1cb-066b-467e-a60e-c6fbc29aa4f5` |
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 | 233 | 21 | 2.775 | 11.42 | 19.78 | 1885.21 | 0.6016 |
27
+ | 1 | descend | 261 | 23 | 0.533 | 3.76 | 6.51 | 3625.40 | 0.7067 |
28
+ | 2 | settle | 366 | 32 | 0.022 | 0.76 | 1.32 | 3625.31 | 0.6965 |
29
+ | 3 | close | 93 | 9 | 0.328 | 2.57 | 4.45 | 3625.88 | 0.9686 |
30
+ | 4 | lift | 343 | 30 | 3.676 | 17.31 | 29.98 | 2291.30 | 1.1265 |
31
+ | 5 | move_xy | 351 | 31 | 7.123 | 34.31 | 59.42 | 2557.73 | 0.8704 |
32
+ | 6 | lower | 396 | 34 | 0.083 | 1.36 | 2.36 | 3047.50 | 0.9352 |
33
+ | 7 | open | 95 | 9 | 0.346 | 2.12 | 3.68 | 3625.40 | 0.6672 |
34
+ | 8 | retract | 344 | 30 | 3.787 | 17.86 | 30.93 | 2304.40 | 0.7271 |
35
+
36
+ ## Pooled metrics (matched phases only)
37
+
38
+ | Metric | Value |
39
+ |---|---:|
40
+ | Joints (deg) | 3.106 |
41
+ | TCP position RMSE (mm, per-axis) | 14.73 |
42
+ | EE position RMS L2 (mm) | 28.28 |
43
+ | TCP rotvec (mrad) | 3028.03 |
44
+ | W1 effort mean (A) | 0.8007 |
45
+ | W1 effort per joint (A) | j0=0.1957, j1=1.3275, j2=1.6001, j3=0.7774, j4=0.2767, j5=0.6266 |
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.00090 | -0.00036 | -0.00063 | 0.00115 | 0.037 |
52
+ | 1 | 0.00085 | -0.00052 | -0.00087 | 0.00132 | 0.040 |
53
+ | 2 | 0.00086 | -0.00053 | -0.00089 | 0.00134 | 0.045 |
54
+ | 3 | 0.00169 | -0.00029 | -0.00135 | 0.00219 | 0.123 |
55
+ | 4 | 0.00033 | -0.00014 | -0.00049 | 0.00061 | 0.101 |
56
+ | 5 | 0.00147 | -0.00079 | -0.00069 | 0.00181 | 0.111 |
57
+ | 6 | 0.00160 | -0.00069 | -0.00097 | 0.00199 | 0.119 |
58
+ | 7 | 0.00075 | -0.00036 | -0.00075 | 0.00112 | 0.035 |
59
+ | 8 | -0.00012 | -0.00018 | -0.00017 | 0.00027 | 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_0d0ee4f8-0d65-46b2-a483-6f7023c99b99.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:26 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/0d0ee4f8-0d65-46b2-a483-6f7023c99b99.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/0d0ee4f8-0d65-46b2-a483-6f7023c99b99.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 2877 |
12
+ | Sim rows | 255 |
13
+ | Real episode_id | `0d0ee4f8-0d65-46b2-a483-6f7023c99b99` |
14
+ | Sim episode_id | `0d0ee4f8-0d65-46b2-a483-6f7023c99b99` |
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.388 | 13.36 | 23.13 | 1949.82 | 0.6126 |
27
+ | 1 | descend | 697 | 60 | 0.410 | 2.81 | 4.87 | 3624.69 | 0.7600 |
28
+ | 2 | settle | 351 | 31 | 0.027 | 0.96 | 1.67 | 3624.51 | 0.7949 |
29
+ | 3 | close | 167 | 15 | 0.803 | 5.61 | 9.72 | 3625.06 | 1.0959 |
30
+ | 4 | lift | 274 | 24 | 2.246 | 12.95 | 22.42 | 2409.22 | 1.1248 |
31
+ | 5 | move_xy | 350 | 31 | 5.263 | 31.94 | 55.32 | 2767.67 | 0.9677 |
32
+ | 6 | lower | 400 | 35 | 0.102 | 1.78 | 3.09 | 3625.04 | 1.0589 |
33
+ | 7 | open | 166 | 15 | 0.961 | 6.60 | 11.43 | 3624.75 | 0.7191 |
34
+ | 8 | retract | 275 | 24 | 2.235 | 12.94 | 22.42 | 2414.42 | 0.7573 |
35
+
36
+ ## Pooled metrics (matched phases only)
37
+
38
+ | Metric | Value |
39
+ |---|---:|
40
+ | Joints (deg) | 2.241 |
41
+ | TCP position RMSE (mm, per-axis) | 13.42 |
42
+ | EE position RMS L2 (mm) | 22.92 |
43
+ | TCP rotvec (mrad) | 3140.98 |
44
+ | W1 effort mean (A) | 0.8486 |
45
+ | W1 effort per joint (A) | j0=0.2559, j1=1.5935, j2=1.6969, j3=0.7186, j4=0.2886, j5=0.5380 |
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.00040 | -0.00069 | 0.00112 | 0.032 |
52
+ | 1 | 0.00074 | -0.00085 | -0.00126 | 0.00170 | 0.062 |
53
+ | 2 | 0.00077 | -0.00084 | -0.00123 | 0.00168 | 0.056 |
54
+ | 3 | 0.00158 | -0.00046 | -0.00073 | 0.00181 | 0.114 |
55
+ | 4 | 0.00022 | -0.00004 | -0.00019 | 0.00030 | 0.067 |
56
+ | 5 | 0.00165 | -0.00133 | -0.00291 | 0.00360 | 0.204 |
57
+ | 6 | 0.00183 | -0.00127 | -0.00214 | 0.00309 | 0.143 |
58
+ | 7 | 0.00056 | -0.00053 | -0.00100 | 0.00127 | 0.058 |
59
+ | 8 | -0.00013 | -0.00019 | -0.00020 | 0.00031 | 0.037 |
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_0d32e4ff-6e1b-403b-93ab-06624a6ca02e.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:26 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/0d32e4ff-6e1b-403b-93ab-06624a6ca02e.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/0d32e4ff-6e1b-403b-93ab-06624a6ca02e.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 2499 |
12
+ | Sim rows | 250 |
13
+ | Real episode_id | `0d32e4ff-6e1b-403b-93ab-06624a6ca02e` |
14
+ | Sim episode_id | `0d32e4ff-6e1b-403b-93ab-06624a6ca02e` |
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 | 175 | 18 | 2.978 | 11.07 | 19.17 | 1957.46 | 0.5832 |
27
+ | 1 | descend | 318 | 32 | 0.986 | 5.74 | 9.94 | 3626.09 | 0.7261 |
28
+ | 2 | settle | 329 | 32 | 0.021 | 0.60 | 1.05 | 3625.99 | 0.7236 |
29
+ | 3 | close | 137 | 14 | 0.887 | 5.10 | 8.84 | 1530.59 | 0.9436 |
30
+ | 4 | lift | 355 | 35 | 3.266 | 13.14 | 22.76 | 1811.09 | 1.0704 |
31
+ | 5 | move_xy | 332 | 33 | 6.485 | 29.36 | 50.85 | 1921.06 | 0.8722 |
32
+ | 6 | lower | 357 | 35 | 0.085 | 1.17 | 2.02 | 1134.28 | 0.9501 |
33
+ | 7 | open | 139 | 14 | 1.174 | 6.89 | 11.93 | 3626.26 | 0.6112 |
34
+ | 8 | retract | 357 | 35 | 3.223 | 13.03 | 22.57 | 2365.95 | 0.7027 |
35
+
36
+ ## Pooled metrics (matched phases only)
37
+
38
+ | Metric | Value |
39
+ |---|---:|
40
+ | Joints (deg) | 2.889 |
41
+ | TCP position RMSE (mm, per-axis) | 12.63 |
42
+ | EE position RMS L2 (mm) | 23.26 |
43
+ | TCP rotvec (mrad) | 2570.67 |
44
+ | W1 effort mean (A) | 0.7896 |
45
+ | W1 effort per joint (A) | j0=0.2491, j1=1.2202, j2=1.6130, j3=0.7008, j4=0.3349, j5=0.6196 |
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.00024 | -0.00047 | 0.00065 | 0.034 |
52
+ | 1 | 0.00041 | -0.00056 | -0.00079 | 0.00105 | 0.036 |
53
+ | 2 | 0.00042 | -0.00056 | -0.00075 | 0.00102 | 0.034 |
54
+ | 3 | 0.00068 | -0.00033 | -0.00094 | 0.00121 | 0.095 |
55
+ | 4 | 0.00036 | 0.00003 | -0.00011 | 0.00038 | 0.071 |
56
+ | 5 | 0.00115 | -0.00075 | -0.00143 | 0.00198 | 0.127 |
57
+ | 6 | 0.00106 | -0.00079 | -0.00159 | 0.00207 | 0.113 |
58
+ | 7 | 0.00026 | -0.00031 | -0.00056 | 0.00069 | 0.038 |
59
+ | 8 | -0.00005 | -0.00007 | -0.00013 | 0.00015 | 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_0d3ac997-4efc-4e7d-abe2-42ddfb8ca1ae.md ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:26 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/0d3ac997-4efc-4e7d-abe2-42ddfb8ca1ae.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/0d3ac997-4efc-4e7d-abe2-42ddfb8ca1ae.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 1780 |
12
+ | Sim rows | 179 |
13
+ | Real episode_id | `0d3ac997-4efc-4e7d-abe2-42ddfb8ca1ae` |
14
+ | Sim episode_id | `0d3ac997-4efc-4e7d-abe2-42ddfb8ca1ae` |
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 | 199 | 20 | 6.108 | 20.82 | 36.06 | 1419.69 | 0.7931 |
27
+ | 1 | descend | 96 | 10 | 0.988 | 4.71 | 8.16 | 4.55 | 0.6011 |
28
+ | 2 | settle | 41 | 5 | 0.017 | 2.61 | 4.53 | 5.03 | 0.6592 |
29
+ | 3 | close | 377 | 37 | 0.114 | 2.06 | 3.57 | 3.90 | 0.9846 |
30
+ | 4 | lift | 95 | 10 | 0.814 | 3.95 | 6.85 | 3.13 | 1.0568 |
31
+ | 5 | move_xy | 232 | 23 | 8.809 | 37.70 | 65.30 | 16.31 | 0.9662 |
32
+ | 6 | lower | 98 | 10 | 0.912 | 3.94 | 6.83 | 8.36 | 1.0805 |
33
+ | 7 | open | 379 | 37 | 0.022 | 2.02 | 3.50 | 4.62 | 0.5646 |
34
+ | 8 | retract | 97 | 10 | 1.000 | 4.44 | 7.70 | 3.88 | 0.6516 |
35
+ | 9 | return | 166 | 17 | 2.829 | 13.43 | 23.26 | 760.05 | 0.7640 |
36
+
37
+ ## Pooled metrics (matched phases only)
38
+
39
+ | Metric | Value |
40
+ |---|---:|
41
+ | Joints (deg) | 3.555 |
42
+ | TCP position RMSE (mm, per-axis) | 14.57 |
43
+ | EE position RMS L2 (mm) | 27.74 |
44
+ | TCP rotvec (mrad) | 509.28 |
45
+ | W1 effort mean (A) | 0.7933 |
46
+ | W1 effort per joint (A) | j0=0.1915, j1=1.3810, j2=1.5634, j3=0.9022, j4=0.2744, j5=0.4472 |
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.00131 | -0.00366 | -0.00104 | 0.00402 | 0.034 |
53
+ | 1 | 0.00150 | -0.00412 | -0.00097 | 0.00450 | 0.027 |
54
+ | 2 | 0.00150 | -0.00412 | -0.00110 | 0.00452 | 0.037 |
55
+ | 3 | 0.00072 | -0.00338 | -0.00052 | 0.00349 | 0.152 |
56
+ | 4 | 0.00063 | -0.00292 | -0.00131 | 0.00327 | 0.180 |
57
+ | 5 | -0.00118 | -0.00326 | -0.00006 | 0.00347 | 0.661 |
58
+ | 6 | 0.00040 | -0.00246 | -0.00133 | 0.00283 | 0.311 |
59
+ | 7 | 0.00181 | -0.00297 | 0.00001 | 0.00348 | 0.036 |
60
+ | 8 | 0.00135 | -0.00321 | -0.00004 | 0.00348 | 0.044 |
61
+ | 9 | 0.00004 | -0.00018 | -0.00023 | 0.00029 | 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_0d45afa0-c339-49f5-93c2-70cdd6d283a5.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:26 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/0d45afa0-c339-49f5-93c2-70cdd6d283a5.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/0d45afa0-c339-49f5-93c2-70cdd6d283a5.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 3157 |
12
+ | Sim rows | 314 |
13
+ | Real episode_id | `0d45afa0-c339-49f5-93c2-70cdd6d283a5` |
14
+ | Sim episode_id | `0d45afa0-c339-49f5-93c2-70cdd6d283a5` |
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 | 24 | 3.952 | 19.29 | 33.41 | 2031.36 | 0.6325 |
27
+ | 1 | descend | 729 | 71 | 0.352 | 2.35 | 4.07 | 3624.77 | 0.7774 |
28
+ | 2 | settle | 320 | 32 | 0.026 | 1.01 | 1.74 | 3624.58 | 0.7388 |
29
+ | 3 | close | 124 | 13 | 1.104 | 7.60 | 13.16 | 3516.04 | 1.0286 |
30
+ | 4 | lift | 417 | 41 | 3.507 | 18.29 | 31.68 | 2485.39 | 1.1404 |
31
+ | 5 | move_xy | 439 | 43 | 8.162 | 44.73 | 77.48 | 2811.12 | 0.9256 |
32
+ | 6 | lower | 342 | 34 | 0.094 | 1.77 | 3.06 | 3625.17 | 1.0456 |
33
+ | 7 | open | 123 | 13 | 1.198 | 8.08 | 14.00 | 3624.72 | 0.7403 |
34
+ | 8 | retract | 421 | 41 | 3.393 | 17.80 | 30.82 | 2467.07 | 0.7536 |
35
+
36
+ ## Pooled metrics (matched phases only)
37
+
38
+ | Metric | Value |
39
+ |---|---:|
40
+ | Joints (deg) | 3.477 |
41
+ | TCP position RMSE (mm, per-axis) | 18.73 |
42
+ | EE position RMS L2 (mm) | 34.63 |
43
+ | TCP rotvec (mrad) | 3148.40 |
44
+ | W1 effort mean (A) | 0.8400 |
45
+ | W1 effort per joint (A) | j0=0.2642, j1=1.5551, j2=1.6207, j3=0.7549, j4=0.2548, j5=0.5903 |
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.00015 | -0.00087 | 0.00139 | 0.039 |
52
+ | 1 | 0.00114 | -0.00063 | -0.00123 | 0.00179 | 0.061 |
53
+ | 2 | 0.00112 | -0.00065 | -0.00117 | 0.00175 | 0.055 |
54
+ | 3 | 0.00162 | -0.00025 | -0.00052 | 0.00172 | 0.120 |
55
+ | 4 | 0.00023 | 0.00012 | 0.00001 | 0.00026 | 0.054 |
56
+ | 5 | 0.00247 | -0.00098 | -0.00135 | 0.00298 | 0.167 |
57
+ | 6 | 0.00222 | -0.00088 | -0.00195 | 0.00309 | 0.131 |
58
+ | 7 | 0.00085 | -0.00019 | -0.00103 | 0.00136 | 0.064 |
59
+ | 8 | -0.00007 | -0.00010 | -0.00013 | 0.00018 | 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_0d56ff36-ce2f-43d6-8a2c-25ec5630dafb.md ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:26 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/0d56ff36-ce2f-43d6-8a2c-25ec5630dafb.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/0d56ff36-ce2f-43d6-8a2c-25ec5630dafb.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 457 |
12
+ | Sim rows | 61 |
13
+ | Real episode_id | `0d56ff36-ce2f-43d6-8a2c-25ec5630dafb` |
14
+ | Sim episode_id | `0d56ff36-ce2f-43d6-8a2c-25ec5630dafb` |
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 | 246 | 24 | 2.155 | 10.00 | 17.33 | 351.97 | 0.8081 |
27
+ | 1 | descend | 211 | 21 | 0.022 | 2.26 | 3.91 | 2.03 | 0.8614 |
28
+
29
+ ## Pooled metrics (matched phases only)
30
+
31
+ | Metric | Value |
32
+ |---|---:|
33
+ | Joints (deg) | 1.524 |
34
+ | TCP position RMSE (mm, per-axis) | 7.25 |
35
+ | EE position RMS L2 (mm) | 12.99 |
36
+ | TCP rotvec (mrad) | 248.88 |
37
+ | W1 effort mean (A) | 0.8327 |
38
+ | W1 effort per joint (A) | j0=0.1519, j1=1.8414, j2=1.8761, j3=0.8384, j4=0.1470, j5=0.1415 |
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.00251 | -0.00308 | 0.00059 | 0.00402 | 0.034 |
45
+ | 1 | -0.00237 | -0.00304 | 0.00048 | 0.00388 | 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_0d676426-7470-472d-9e0c-9025c5856a1d.md ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:26 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/0d676426-7470-472d-9e0c-9025c5856a1d.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/0d676426-7470-472d-9e0c-9025c5856a1d.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 1680 |
12
+ | Sim rows | 173 |
13
+ | Real episode_id | `0d676426-7470-472d-9e0c-9025c5856a1d` |
14
+ | Sim episode_id | `0d676426-7470-472d-9e0c-9025c5856a1d` |
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 | 153 | 16 | 2.061 | 9.76 | 16.90 | 652.73 | 0.6727 |
27
+ | 1 | descend | 78 | 9 | 0.563 | 3.58 | 6.20 | 4.48 | 0.6230 |
28
+ | 2 | settle | 23 | 3 | 0.021 | 2.79 | 4.83 | 4.90 | 0.6300 |
29
+ | 3 | close | 366 | 36 | 0.136 | 3.14 | 5.43 | 705.70 | 1.0694 |
30
+ | 4 | lift | 77 | 9 | 0.553 | 3.57 | 6.19 | 8.66 | 1.1395 |
31
+ | 5 | move_xy | 177 | 18 | 14.373 | 13.69 | 23.71 | 500.64 | 1.0733 |
32
+ | 6 | lower | 81 | 9 | 27.769 | 3.47 | 6.01 | 1064.18 | 1.1914 |
33
+ | 7 | open | 377 | 37 | 27.760 | 2.50 | 4.33 | 1063.46 | 0.7287 |
34
+ | 8 | retract | 79 | 9 | 27.767 | 3.35 | 5.80 | 1062.99 | 0.8270 |
35
+ | 9 | return | 269 | 27 | 15.970 | 13.91 | 24.10 | 1383.30 | 0.8318 |
36
+
37
+ ## Pooled metrics (matched phases only)
38
+
39
+ | Metric | Value |
40
+ |---|---:|
41
+ | Joints (deg) | 16.671 |
42
+ | TCP position RMSE (mm, per-axis) | 7.41 |
43
+ | EE position RMS L2 (mm) | 14.00 |
44
+ | TCP rotvec (mrad) | 805.09 |
45
+ | W1 effort mean (A) | 0.8775 |
46
+ | W1 effort per joint (A) | j0=0.1750, j1=1.3007, j2=1.4274, j3=0.7577, j4=0.4815, j5=1.1224 |
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.00196 | -0.00399 | -0.00052 | 0.00447 | 0.030 |
53
+ | 1 | 0.00229 | -0.00422 | -0.00047 | 0.00482 | 0.031 |
54
+ | 2 | 0.00230 | -0.00421 | -0.00057 | 0.00483 | 0.034 |
55
+ | 3 | 0.00313 | -0.00375 | -0.00258 | 0.00552 | 0.242 |
56
+ | 4 | 0.00235 | -0.00365 | -0.00267 | 0.00509 | 0.260 |
57
+ | 5 | 0.00179 | -0.00353 | -0.00156 | 0.00425 | 67.912 |
58
+ | 6 | 0.00235 | -0.00305 | -0.00145 | 0.00411 | 67.995 |
59
+ | 7 | 0.00176 | -0.00395 | 0.00005 | 0.00433 | 67.997 |
60
+ | 8 | 0.00136 | -0.00404 | -0.00001 | 0.00426 | 68.000 |
61
+ | 9 | -0.00000 | -0.00006 | -0.00019 | 0.00019 | 0.032 |
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_0d7000e3-dc94-423d-887b-0be8d9473b0d.md ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:26 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/0d7000e3-dc94-423d-887b-0be8d9473b0d.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/0d7000e3-dc94-423d-887b-0be8d9473b0d.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 566 |
12
+ | Sim rows | 72 |
13
+ | Real episode_id | `0d7000e3-dc94-423d-887b-0be8d9473b0d` |
14
+ | Sim episode_id | `0d7000e3-dc94-423d-887b-0be8d9473b0d` |
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 | 358 | 35 | 7.294 | 29.36 | 50.85 | 26.31 | 0.7750 |
27
+ | 1 | descend | 208 | 21 | 0.026 | 7.34 | 12.70 | 1.94 | 0.7926 |
28
+
29
+ ## Pooled metrics (matched phases only)
30
+
31
+ | Metric | Value |
32
+ |---|---:|
33
+ | Joints (deg) | 5.158 |
34
+ | TCP position RMSE (mm, per-axis) | 21.40 |
35
+ | EE position RMS L2 (mm) | 41.17 |
36
+ | TCP rotvec (mrad) | 18.66 |
37
+ | W1 effort mean (A) | 0.7815 |
38
+ | W1 effort per joint (A) | j0=0.1587, j1=1.7616, j2=1.6430, j3=0.7740, j4=0.1825, j5=0.1689 |
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.00161 | -0.01253 | -0.00079 | 0.01266 | 0.062 |
45
+ | 1 | 0.00172 | -0.01258 | -0.00086 | 0.01272 | 0.054 |
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_0d702040-5f33-4741-b156-be258e79e234.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:26 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/0d702040-5f33-4741-b156-be258e79e234.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/0d702040-5f33-4741-b156-be258e79e234.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 3701 |
12
+ | Sim rows | 790 |
13
+ | Real episode_id | `0d702040-5f33-4741-b156-be258e79e234` |
14
+ | Sim episode_id | `0d702040-5f33-4741-b156-be258e79e234` |
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 | 170 | 15 | 2.580 | 9.43 | 16.34 | 2062.47 | 0.5904 |
27
+ | 1 | descend | 861 | 74 | 0.410 | 2.51 | 4.35 | 3626.09 | 0.6733 |
28
+ | 2 | settle | 534 | 512 | 4.300 | 15.20 | 26.34 | 3625.27 | 0.7273 |
29
+ | 3 | close | 176 | 16 | 0.940 | 6.67 | 11.56 | 3625.54 | 1.0159 |
30
+ | 4 | lift | 435 | 38 | 3.108 | 16.67 | 28.87 | 2421.13 | 1.1245 |
31
+ | 5 | move_xy | 532 | 46 | 7.083 | 40.72 | 70.53 | 2815.77 | 0.9437 |
32
+ | 6 | lower | 383 | 33 | 0.096 | 1.74 | 3.01 | 3625.05 | 1.1144 |
33
+ | 7 | open | 174 | 16 | 0.862 | 5.99 | 10.37 | 3624.74 | 0.7482 |
34
+ | 8 | retract | 436 | 38 | 3.089 | 16.62 | 28.78 | 2430.46 | 0.7499 |
35
+
36
+ ## Pooled metrics (matched phases only)
37
+
38
+ | Metric | Value |
39
+ |---|---:|
40
+ | Joints (deg) | 3.272 |
41
+ | TCP position RMSE (mm, per-axis) | 17.07 |
42
+ | EE position RMS L2 (mm) | 32.24 |
43
+ | TCP rotvec (mrad) | 3156.42 |
44
+ | W1 effort mean (A) | 0.8210 |
45
+ | W1 effort per joint (A) | j0=0.2826, j1=1.3757, j2=1.6529, j3=0.6991, j4=0.3699, j5=0.5458 |
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.00023 | -0.00043 | 0.00062 | 0.038 |
52
+ | 1 | 0.00043 | -0.00056 | -0.00075 | 0.00103 | 0.033 |
53
+ | 2 | 0.00090 | -0.00074 | -0.00116 | 0.00165 | 0.052 |
54
+ | 3 | 0.00156 | -0.00032 | -0.00082 | 0.00179 | 0.102 |
55
+ | 4 | 0.00027 | -0.00019 | -0.00031 | 0.00046 | 0.096 |
56
+ | 5 | 0.00226 | -0.00098 | -0.00059 | 0.00254 | 0.174 |
57
+ | 6 | 0.00179 | -0.00099 | -0.00113 | 0.00233 | 0.120 |
58
+ | 7 | 0.00074 | -0.00034 | -0.00103 | 0.00131 | 0.064 |
59
+ | 8 | -0.00008 | -0.00010 | -0.00013 | 0.00018 | 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_0d761984-d5f5-4f91-99fd-a922fe30c472.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:26 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/0d761984-d5f5-4f91-99fd-a922fe30c472.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/0d761984-d5f5-4f91-99fd-a922fe30c472.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 2832 |
12
+ | Sim rows | 250 |
13
+ | Real episode_id | `0d761984-d5f5-4f91-99fd-a922fe30c472` |
14
+ | Sim episode_id | `0d761984-d5f5-4f91-99fd-a922fe30c472` |
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 | 216 | 19 | 3.376 | 16.30 | 28.24 | 1926.38 | 0.6380 |
27
+ | 1 | descend | 496 | 43 | 0.681 | 4.81 | 8.32 | 3624.75 | 0.7926 |
28
+ | 2 | settle | 369 | 32 | 0.026 | 1.00 | 1.73 | 3624.59 | 0.7297 |
29
+ | 3 | close | 158 | 14 | 0.932 | 6.56 | 11.37 | 3624.73 | 1.0625 |
30
+ | 4 | lift | 319 | 28 | 3.440 | 17.96 | 31.11 | 2485.89 | 1.1386 |
31
+ | 5 | move_xy | 387 | 34 | 8.466 | 46.43 | 80.41 | 2812.51 | 0.9462 |
32
+ | 6 | lower | 410 | 36 | 0.087 | 1.70 | 2.94 | 3625.09 | 1.0652 |
33
+ | 7 | open | 155 | 14 | 1.212 | 8.26 | 14.32 | 3624.77 | 0.7402 |
34
+ | 8 | retract | 322 | 28 | 3.516 | 18.45 | 31.96 | 2490.53 | 0.7651 |
35
+
36
+ ## Pooled metrics (matched phases only)
37
+
38
+ | Metric | Value |
39
+ |---|---:|
40
+ | Joints (deg) | 3.497 |
41
+ | TCP position RMSE (mm, per-axis) | 18.92 |
42
+ | EE position RMS L2 (mm) | 34.67 |
43
+ | TCP rotvec (mrad) | 3156.98 |
44
+ | W1 effort mean (A) | 0.8535 |
45
+ | W1 effort per joint (A) | j0=0.2557, j1=1.6232, j2=1.5803, j3=0.7633, j4=0.2855, j5=0.6133 |
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.00018 | -0.00069 | 0.00129 | 0.027 |
52
+ | 1 | 0.00109 | -0.00063 | -0.00120 | 0.00174 | 0.058 |
53
+ | 2 | 0.00110 | -0.00064 | -0.00116 | 0.00172 | 0.053 |
54
+ | 3 | 0.00240 | -0.00008 | -0.00178 | 0.00298 | 0.205 |
55
+ | 4 | 0.00029 | 0.00020 | -0.00015 | 0.00038 | 0.087 |
56
+ | 5 | 0.00259 | -0.00080 | -0.00186 | 0.00329 | 0.184 |
57
+ | 6 | 0.00254 | -0.00098 | -0.00265 | 0.00380 | 0.207 |
58
+ | 7 | 0.00091 | -0.00024 | -0.00097 | 0.00135 | 0.063 |
59
+ | 8 | -0.00013 | -0.00022 | -0.00022 | 0.00033 | 0.040 |
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_0dad75b6-e905-41e2-a5d1-bc5449320c4a.md ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:26 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/0dad75b6-e905-41e2-a5d1-bc5449320c4a.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/0dad75b6-e905-41e2-a5d1-bc5449320c4a.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 541 |
12
+ | Sim rows | 70 |
13
+ | Real episode_id | `0dad75b6-e905-41e2-a5d1-bc5449320c4a` |
14
+ | Sim episode_id | `0dad75b6-e905-41e2-a5d1-bc5449320c4a` |
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 | 332 | 33 | 3.512 | 16.12 | 27.92 | 7.45 | 0.7913 |
27
+ | 1 | descend | 209 | 21 | 0.029 | 0.49 | 0.85 | 2.17 | 0.7618 |
28
+
29
+ ## Pooled metrics (matched phases only)
30
+
31
+ | Metric | Value |
32
+ |---|---:|
33
+ | Joints (deg) | 2.484 |
34
+ | TCP position RMSE (mm, per-axis) | 11.40 |
35
+ | EE position RMS L2 (mm) | 21.88 |
36
+ | TCP rotvec (mrad) | 5.49 |
37
+ | W1 effort mean (A) | 0.7797 |
38
+ | W1 effort per joint (A) | j0=0.1805, j1=1.6603, j2=1.7125, j3=0.8681, j4=0.0888, j5=0.1682 |
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.00049 | 0.00079 | 0.00094 | 0.042 |
45
+ | 1 | 0.00005 | -0.00051 | 0.00064 | 0.00082 | 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_0dbf902e-560d-45c9-9ca4-e8d9f98691a4.md ADDED
@@ -0,0 +1,59 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:26 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/0dbf902e-560d-45c9-9ca4-e8d9f98691a4.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/0dbf902e-560d-45c9-9ca4-e8d9f98691a4.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 949 |
12
+ | Sim rows | 109 |
13
+ | Real episode_id | `0dbf902e-560d-45c9-9ca4-e8d9f98691a4` |
14
+ | Sim episode_id | `0dbf902e-560d-45c9-9ca4-e8d9f98691a4` |
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 | 741 | 72 | 2.792 | 14.42 | 24.98 | 6.82 | 0.7752 |
27
+ | 1 | descend | 208 | 21 | 0.025 | 0.39 | 0.68 | 2.01 | 0.7471 |
28
+
29
+ ## Pooled metrics (matched phases only)
30
+
31
+ | Metric | Value |
32
+ |---|---:|
33
+ | Joints (deg) | 1.975 |
34
+ | TCP position RMSE (mm, per-axis) | 10.20 |
35
+ | EE position RMS L2 (mm) | 22.08 |
36
+ | TCP rotvec (mrad) | 5.03 |
37
+ | W1 effort mean (A) | 0.7687 |
38
+ | W1 effort per joint (A) | j0=0.1847, j1=1.6400, j2=1.7548, j3=0.7553, j4=0.1158, j5=0.1613 |
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.00028 | 0.00065 | 0.00071 | 0.045 |
45
+ | 1 | 0.00012 | -0.00026 | 0.00065 | 0.00071 | 0.044 |
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_0de70256-382f-43c2-9a50-1cc7a7bff186.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:26 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/0de70256-382f-43c2-9a50-1cc7a7bff186.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/0de70256-382f-43c2-9a50-1cc7a7bff186.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 2186 |
12
+ | Sim rows | 220 |
13
+ | Real episode_id | `0de70256-382f-43c2-9a50-1cc7a7bff186` |
14
+ | Sim episode_id | `0de70256-382f-43c2-9a50-1cc7a7bff186` |
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 | 19 | 2.409 | 13.25 | 22.95 | 1945.45 | 0.6150 |
27
+ | 1 | descend | 231 | 23 | 0.824 | 5.69 | 9.86 | 3624.62 | 0.7895 |
28
+ | 2 | settle | 331 | 33 | 0.027 | 0.97 | 1.67 | 3624.52 | 0.7785 |
29
+ | 3 | close | 101 | 11 | 0.506 | 3.87 | 6.70 | 3625.11 | 1.0154 |
30
+ | 4 | lift | 293 | 29 | 2.497 | 15.24 | 26.39 | 2171.39 | 1.1177 |
31
+ | 5 | move_xy | 304 | 30 | 5.135 | 31.96 | 55.35 | 2749.94 | 0.9563 |
32
+ | 6 | lower | 349 | 34 | 0.092 | 1.67 | 2.89 | 3625.06 | 1.0787 |
33
+ | 7 | open | 100 | 10 | 0.523 | 3.67 | 6.36 | 3624.67 | 0.7558 |
34
+ | 8 | retract | 293 | 29 | 2.450 | 14.93 | 25.86 | 2310.02 | 0.7315 |
35
+
36
+ ## Pooled metrics (matched phases only)
37
+
38
+ | Metric | Value |
39
+ |---|---:|
40
+ | Joints (deg) | 2.252 |
41
+ | TCP position RMSE (mm, per-axis) | 13.81 |
42
+ | EE position RMS L2 (mm) | 25.87 |
43
+ | TCP rotvec (mrad) | 3110.80 |
44
+ | W1 effort mean (A) | 0.8637 |
45
+ | W1 effort per joint (A) | j0=0.2108, j1=1.6016, j2=1.7297, j3=0.7621, j4=0.2723, j5=0.6056 |
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.00054 | -0.00078 | 0.00124 | 0.035 |
52
+ | 1 | 0.00076 | -0.00087 | -0.00127 | 0.00172 | 0.062 |
53
+ | 2 | 0.00077 | -0.00087 | -0.00123 | 0.00170 | 0.059 |
54
+ | 3 | 0.00142 | -0.00094 | -0.00178 | 0.00246 | 0.141 |
55
+ | 4 | 0.00037 | -0.00028 | -0.00043 | 0.00063 | 0.117 |
56
+ | 5 | 0.00182 | -0.00113 | -0.00142 | 0.00257 | 0.126 |
57
+ | 6 | 0.00159 | -0.00117 | -0.00134 | 0.00239 | 0.109 |
58
+ | 7 | 0.00052 | -0.00063 | -0.00101 | 0.00130 | 0.049 |
59
+ | 8 | -0.00011 | -0.00016 | -0.00016 | 0.00025 | 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_0de830d7-0302-4ddc-8aae-caa1c43ce7c6.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:26 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/0de830d7-0302-4ddc-8aae-caa1c43ce7c6.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/0de830d7-0302-4ddc-8aae-caa1c43ce7c6.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 2358 |
12
+ | Sim rows | 210 |
13
+ | Real episode_id | `0de830d7-0302-4ddc-8aae-caa1c43ce7c6` |
14
+ | Sim episode_id | `0de830d7-0302-4ddc-8aae-caa1c43ce7c6` |
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 | 182 | 16 | 2.225 | 10.47 | 18.14 | 2.74 | 0.5692 |
27
+ | 1 | descend | 259 | 23 | 0.730 | 4.86 | 8.42 | 3.86 | 0.7434 |
28
+ | 2 | settle | 362 | 32 | 0.026 | 0.92 | 1.59 | 3.98 | 0.6617 |
29
+ | 3 | close | 111 | 10 | 0.563 | 3.85 | 6.67 | 5.89 | 1.0006 |
30
+ | 4 | lift | 307 | 27 | 2.382 | 12.03 | 20.83 | 4.13 | 1.0678 |
31
+ | 5 | move_xy | 333 | 29 | 5.373 | 30.37 | 52.61 | 4.73 | 0.9098 |
32
+ | 6 | lower | 387 | 34 | 0.091 | 1.56 | 2.70 | 6.33 | 0.9962 |
33
+ | 7 | open | 111 | 10 | 0.471 | 3.14 | 5.43 | 3.98 | 0.6550 |
34
+ | 8 | retract | 306 | 27 | 2.531 | 13.06 | 22.62 | 2.92 | 0.7024 |
35
+
36
+ ## Pooled metrics (matched phases only)
37
+
38
+ | Metric | Value |
39
+ |---|---:|
40
+ | Joints (deg) | 2.285 |
41
+ | TCP position RMSE (mm, per-axis) | 12.47 |
42
+ | EE position RMS L2 (mm) | 23.50 |
43
+ | TCP rotvec (mrad) | 4.43 |
44
+ | W1 effort mean (A) | 0.7932 |
45
+ | W1 effort per joint (A) | j0=0.2498, j1=1.3388, j2=1.4459, j3=0.6602, j4=0.4526, j5=0.6121 |
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.00073 | -0.00064 | 0.00123 | 0.030 |
52
+ | 1 | 0.00069 | -0.00099 | -0.00102 | 0.00158 | 0.046 |
53
+ | 2 | 0.00068 | -0.00101 | -0.00100 | 0.00157 | 0.047 |
54
+ | 3 | 0.00164 | -0.00087 | -0.00125 | 0.00224 | 0.134 |
55
+ | 4 | 0.00065 | 0.00018 | -0.00005 | 0.00067 | 0.122 |
56
+ | 5 | 0.00188 | -0.00125 | -0.00123 | 0.00257 | 0.155 |
57
+ | 6 | 0.00183 | -0.00130 | -0.00188 | 0.00292 | 0.158 |
58
+ | 7 | 0.00049 | -0.00082 | -0.00084 | 0.00127 | 0.041 |
59
+ | 8 | -0.00013 | -0.00019 | -0.00020 | 0.00030 | 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_0df1fdbf-3b9b-4dbd-8eed-76daa876c5ec.md ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:26 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/0df1fdbf-3b9b-4dbd-8eed-76daa876c5ec.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/0df1fdbf-3b9b-4dbd-8eed-76daa876c5ec.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 1597 |
12
+ | Sim rows | 159 |
13
+ | Real episode_id | `0df1fdbf-3b9b-4dbd-8eed-76daa876c5ec` |
14
+ | Sim episode_id | `0df1fdbf-3b9b-4dbd-8eed-76daa876c5ec` |
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 | 140 | 14 | 2.607 | 12.65 | 21.92 | 553.85 | 0.7031 |
27
+ | 1 | descend | 79 | 8 | 0.689 | 4.23 | 7.33 | 4.98 | 0.6592 |
28
+ | 2 | settle | 32 | 4 | 0.020 | 2.95 | 5.10 | 5.23 | 0.6749 |
29
+ | 3 | close | 380 | 37 | 0.125 | 3.47 | 6.02 | 9.61 | 1.0653 |
30
+ | 4 | lift | 78 | 8 | 0.710 | 4.21 | 7.29 | 9.17 | 1.2039 |
31
+ | 5 | move_xy | 142 | 14 | 1.835 | 15.98 | 27.67 | 44.94 | 1.1043 |
32
+ | 6 | lower | 77 | 8 | 0.720 | 4.74 | 8.22 | 8.53 | 1.0974 |
33
+ | 7 | open | 378 | 37 | 0.025 | 2.68 | 4.63 | 4.90 | 0.6002 |
34
+ | 8 | retract | 78 | 8 | 0.598 | 3.81 | 6.60 | 4.32 | 0.7228 |
35
+ | 9 | return | 213 | 21 | 2.569 | 11.60 | 20.08 | 995.41 | 0.7997 |
36
+
37
+ ## Pooled metrics (matched phases only)
38
+
39
+ | Metric | Value |
40
+ |---|---:|
41
+ | Joints (deg) | 1.365 |
42
+ | TCP position RMSE (mm, per-axis) | 8.06 |
43
+ | EE position RMS L2 (mm) | 13.74 |
44
+ | TCP rotvec (mrad) | 360.55 |
45
+ | W1 effort mean (A) | 0.8346 |
46
+ | W1 effort per joint (A) | j0=0.1492, j1=1.5693, j2=1.5470, j3=0.7337, j4=0.4847, j5=0.5235 |
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.00180 | -0.00435 | -0.00064 | 0.00475 | 0.030 |
53
+ | 1 | 0.00217 | -0.00456 | -0.00065 | 0.00509 | 0.038 |
54
+ | 2 | 0.00216 | -0.00455 | -0.00081 | 0.00510 | 0.046 |
55
+ | 3 | 0.00323 | -0.00442 | -0.00286 | 0.00617 | 0.240 |
56
+ | 4 | 0.00235 | -0.00448 | -0.00285 | 0.00581 | 0.233 |
57
+ | 5 | 0.00249 | -0.00363 | -0.00235 | 0.00500 | 0.220 |
58
+ | 6 | 0.00323 | -0.00334 | -0.00208 | 0.00509 | 0.182 |
59
+ | 7 | 0.00249 | -0.00388 | -0.00050 | 0.00464 | 0.052 |
60
+ | 8 | 0.00208 | -0.00397 | -0.00066 | 0.00453 | 0.063 |
61
+ | 9 | -0.00008 | -0.00014 | -0.00029 | 0.00033 | 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_0e12bd8f-1239-41d7-ab40-6a5006c47c9b.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:26 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/0e12bd8f-1239-41d7-ab40-6a5006c47c9b.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/0e12bd8f-1239-41d7-ab40-6a5006c47c9b.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 2930 |
12
+ | Sim rows | 258 |
13
+ | Real episode_id | `0e12bd8f-1239-41d7-ab40-6a5006c47c9b` |
14
+ | Sim episode_id | `0e12bd8f-1239-41d7-ab40-6a5006c47c9b` |
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 | 20 | 3.565 | 13.38 | 23.17 | 1975.88 | 0.5837 |
27
+ | 1 | descend | 385 | 34 | 1.129 | 6.81 | 11.80 | 3626.03 | 0.6630 |
28
+ | 2 | settle | 356 | 31 | 0.021 | 0.67 | 1.17 | 3625.96 | 0.6382 |
29
+ | 3 | close | 179 | 16 | 0.869 | 5.11 | 8.86 | 1077.00 | 0.9089 |
30
+ | 4 | lift | 402 | 35 | 4.096 | 16.96 | 29.37 | 1866.61 | 1.0631 |
31
+ | 5 | move_xy | 417 | 36 | 7.916 | 34.58 | 59.89 | 2090.47 | 0.8595 |
32
+ | 6 | lower | 380 | 33 | 0.079 | 1.19 | 2.06 | 1616.59 | 0.8990 |
33
+ | 7 | open | 180 | 16 | 0.904 | 5.19 | 8.99 | 3626.16 | 0.6001 |
34
+ | 8 | retract | 402 | 35 | 4.046 | 16.88 | 29.23 | 2329.95 | 0.7061 |
35
+
36
+ ## Pooled metrics (matched phases only)
37
+
38
+ | Metric | Value |
39
+ |---|---:|
40
+ | Joints (deg) | 3.518 |
41
+ | TCP position RMSE (mm, per-axis) | 15.09 |
42
+ | EE position RMS L2 (mm) | 28.58 |
43
+ | TCP rotvec (mrad) | 2590.69 |
44
+ | W1 effort mean (A) | 0.7565 |
45
+ | W1 effort per joint (A) | j0=0.2260, j1=1.1825, j2=1.4650, j3=0.7257, j4=0.3072, j5=0.6327 |
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.031 |
52
+ | 1 | 0.00069 | -0.00053 | -0.00078 | 0.00117 | 0.037 |
53
+ | 2 | 0.00069 | -0.00055 | -0.00075 | 0.00116 | 0.036 |
54
+ | 3 | 0.00114 | -0.00022 | -0.00107 | 0.00158 | 0.115 |
55
+ | 4 | 0.00007 | -0.00041 | -0.00047 | 0.00062 | 0.112 |
56
+ | 5 | 0.00136 | -0.00067 | -0.00152 | 0.00215 | 0.105 |
57
+ | 6 | 0.00159 | -0.00049 | -0.00236 | 0.00289 | 0.193 |
58
+ | 7 | 0.00053 | -0.00023 | -0.00052 | 0.00077 | 0.038 |
59
+ | 8 | -0.00007 | -0.00010 | -0.00014 | 0.00019 | 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_0e176471-af73-44d7-89f7-42e5dab1709c.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:26 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/0e176471-af73-44d7-89f7-42e5dab1709c.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/0e176471-af73-44d7-89f7-42e5dab1709c.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 2838 |
12
+ | Sim rows | 252 |
13
+ | Real episode_id | `0e176471-af73-44d7-89f7-42e5dab1709c` |
14
+ | Sim episode_id | `0e176471-af73-44d7-89f7-42e5dab1709c` |
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 | 188 | 17 | 2.647 | 12.84 | 22.24 | 2030.73 | 0.6318 |
27
+ | 1 | descend | 438 | 38 | 1.411 | 9.89 | 17.13 | 3624.76 | 0.9382 |
28
+ | 2 | settle | 369 | 33 | 0.030 | 1.00 | 1.73 | 3624.50 | 0.7285 |
29
+ | 3 | close | 156 | 14 | 1.121 | 7.61 | 13.19 | 3625.31 | 1.0549 |
30
+ | 4 | lift | 375 | 33 | 2.980 | 16.24 | 28.12 | 2426.44 | 1.1547 |
31
+ | 5 | move_xy | 368 | 32 | 7.005 | 40.80 | 70.66 | 2865.78 | 0.9498 |
32
+ | 6 | lower | 415 | 36 | 0.091 | 1.69 | 2.93 | 3625.04 | 1.1512 |
33
+ | 7 | open | 155 | 14 | 1.098 | 7.59 | 13.14 | 3624.62 | 0.8460 |
34
+ | 8 | retract | 374 | 33 | 2.926 | 16.00 | 27.71 | 2422.28 | 0.7524 |
35
+
36
+ ## Pooled metrics (matched phases only)
37
+
38
+ | Metric | Value |
39
+ |---|---:|
40
+ | Joints (deg) | 2.944 |
41
+ | TCP position RMSE (mm, per-axis) | 16.89 |
42
+ | EE position RMS L2 (mm) | 30.85 |
43
+ | TCP rotvec (mrad) | 3158.57 |
44
+ | W1 effort mean (A) | 0.8960 |
45
+ | W1 effort per joint (A) | j0=0.2493, j1=1.5766, j2=1.7134, j3=0.9330, j4=0.2555, j5=0.6483 |
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.00088 | -0.00027 | -0.00073 | 0.00117 | 0.030 |
52
+ | 1 | 0.00093 | -0.00075 | -0.00121 | 0.00170 | 0.053 |
53
+ | 2 | 0.00094 | -0.00077 | -0.00125 | 0.00174 | 0.062 |
54
+ | 3 | 0.00137 | -0.00050 | -0.00085 | 0.00169 | 0.087 |
55
+ | 4 | 0.00008 | -0.00045 | -0.00053 | 0.00070 | 0.082 |
56
+ | 5 | 0.00200 | -0.00089 | -0.00108 | 0.00244 | 0.118 |
57
+ | 6 | 0.00210 | -0.00099 | -0.00132 | 0.00267 | 0.140 |
58
+ | 7 | 0.00065 | -0.00039 | -0.00101 | 0.00126 | 0.066 |
59
+ | 8 | -0.00011 | -0.00017 | -0.00016 | 0.00026 | 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_0e2fb9fa-3b6b-4d66-ae5c-c4ed0f39e243.md ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:26 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/0e2fb9fa-3b6b-4d66-ae5c-c4ed0f39e243.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/0e2fb9fa-3b6b-4d66-ae5c-c4ed0f39e243.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 1562 |
12
+ | Sim rows | 159 |
13
+ | Real episode_id | `0e2fb9fa-3b6b-4d66-ae5c-c4ed0f39e243` |
14
+ | Sim episode_id | `0e2fb9fa-3b6b-4d66-ae5c-c4ed0f39e243` |
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 | 173 | 18 | 2.834 | 13.07 | 22.63 | 277.14 | 0.7230 |
27
+ | 1 | descend | 89 | 9 | 3.601 | 4.72 | 8.18 | 139.90 | 0.7297 |
28
+ | 2 | settle | 21 | 3 | 3.506 | 3.10 | 5.37 | 140.13 | 0.7349 |
29
+ | 3 | close | 315 | 31 | 3.506 | 3.76 | 6.52 | 141.61 | 1.0884 |
30
+ | 4 | lift | 89 | 9 | 3.585 | 4.86 | 8.42 | 141.21 | 1.3047 |
31
+ | 5 | move_xy | 235 | 23 | 6.871 | 40.08 | 69.41 | 279.99 | 1.2774 |
32
+ | 6 | lower | 88 | 9 | 4.755 | 4.12 | 7.14 | 186.59 | 1.3304 |
33
+ | 7 | open | 258 | 27 | 4.674 | 2.29 | 3.97 | 185.12 | 0.8022 |
34
+ | 8 | retract | 89 | 9 | 4.743 | 3.95 | 6.84 | 185.04 | 0.8301 |
35
+ | 9 | return | 205 | 21 | 4.021 | 22.72 | 39.36 | 618.32 | 0.7941 |
36
+
37
+ ## Pooled metrics (matched phases only)
38
+
39
+ | Metric | Value |
40
+ |---|---:|
41
+ | Joints (deg) | 4.345 |
42
+ | TCP position RMSE (mm, per-axis) | 15.49 |
43
+ | EE position RMS L2 (mm) | 31.78 |
44
+ | TCP rotvec (mrad) | 268.34 |
45
+ | W1 effort mean (A) | 0.9580 |
46
+ | W1 effort per joint (A) | j0=0.2130, j1=1.9383, j2=1.6042, j3=0.8702, j4=0.3134, j5=0.8086 |
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.00158 | -0.00469 | -0.00090 | 0.00503 | 8.657 |
53
+ | 1 | 0.00199 | -0.00485 | -0.00102 | 0.00534 | 8.587 |
54
+ | 2 | 0.00200 | -0.00488 | -0.00115 | 0.00540 | 8.588 |
55
+ | 3 | 0.00291 | -0.00510 | -0.00261 | 0.00642 | 8.580 |
56
+ | 4 | 0.00208 | -0.00511 | -0.00215 | 0.00592 | 8.648 |
57
+ | 5 | 0.00341 | -0.00239 | -0.00189 | 0.00458 | 11.553 |
58
+ | 6 | 0.00342 | -0.00182 | -0.00219 | 0.00445 | 11.448 |
59
+ | 7 | 0.00274 | -0.00287 | -0.00048 | 0.00400 | 11.447 |
60
+ | 8 | 0.00279 | -0.00305 | -0.00071 | 0.00419 | 11.545 |
61
+ | 9 | -0.00007 | -0.00021 | -0.00033 | 0.00040 | 0.051 |
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_0e7589b1-d62e-4fec-817d-156cb39d6ae6.md ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:26 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/0e7589b1-d62e-4fec-817d-156cb39d6ae6.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/0e7589b1-d62e-4fec-817d-156cb39d6ae6.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 969 |
12
+ | Sim rows | 102 |
13
+ | Real episode_id | `0e7589b1-d62e-4fec-817d-156cb39d6ae6` |
14
+ | Sim episode_id | `0e7589b1-d62e-4fec-817d-156cb39d6ae6` |
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 | 130 | 13 | 2.032 | 11.67 | 20.22 | 303.64 | 0.7193 |
27
+ | 1 | descend | 75 | 8 | 0.673 | 3.95 | 6.84 | 4.99 | 0.6545 |
28
+ | 2 | settle | 40 | 5 | 0.020 | 2.96 | 5.13 | 5.32 | 0.6831 |
29
+ | 3 | close | 39 | 5 | 0.141 | 3.50 | 6.06 | 2562.97 | 1.1099 |
30
+ | 4 | lift | 94 | 10 | 0.985 | 5.99 | 10.37 | 2081.18 | 1.0916 |
31
+ | 5 | move_xy | 150 | 15 | 3.988 | 28.47 | 49.31 | 598.32 | 1.0515 |
32
+ | 6 | lower | 78 | 8 | 0.852 | 5.29 | 9.16 | 9.73 | 1.1591 |
33
+ | 7 | open | 89 | 10 | 0.031 | 2.75 | 4.77 | 5.58 | 0.7822 |
34
+ | 8 | retract | 76 | 8 | 0.779 | 4.49 | 7.77 | 5.01 | 0.8196 |
35
+ | 9 | return | 198 | 20 | 2.468 | 13.56 | 23.49 | 617.68 | 0.7443 |
36
+
37
+ ## Pooled metrics (matched phases only)
38
+
39
+ | Metric | Value |
40
+ |---|---:|
41
+ | Joints (deg) | 1.700 |
42
+ | TCP position RMSE (mm, per-axis) | 11.22 |
43
+ | EE position RMS L2 (mm) | 23.96 |
44
+ | TCP rotvec (mrad) | 1083.14 |
45
+ | W1 effort mean (A) | 0.8478 |
46
+ | W1 effort per joint (A) | j0=0.2459, j1=1.6886, j2=1.5385, j3=0.6865, j4=0.4296, j5=0.4976 |
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.00185 | -0.00433 | -0.00074 | 0.00477 | 0.032 |
53
+ | 1 | 0.00218 | -0.00456 | -0.00070 | 0.00511 | 0.047 |
54
+ | 2 | 0.00222 | -0.00454 | -0.00091 | 0.00514 | 0.044 |
55
+ | 3 | 0.00309 | -0.00434 | -0.00298 | 0.00610 | 0.232 |
56
+ | 4 | 0.00221 | -0.00420 | -0.00287 | 0.00555 | 0.236 |
57
+ | 5 | 0.00287 | -0.00359 | -0.00246 | 0.00521 | 0.279 |
58
+ | 6 | 0.00366 | -0.00313 | -0.00270 | 0.00552 | 0.211 |
59
+ | 7 | 0.00289 | -0.00375 | -0.00070 | 0.00479 | 0.064 |
60
+ | 8 | 0.00253 | -0.00399 | -0.00097 | 0.00482 | 0.078 |
61
+ | 9 | -0.00011 | -0.00017 | -0.00033 | 0.00038 | 0.043 |
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_0e767ecd-afdc-4565-bccf-843b4576af73.md ADDED
@@ -0,0 +1,75 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:26 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/0e767ecd-afdc-4565-bccf-843b4576af73.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/0e767ecd-afdc-4565-bccf-843b4576af73.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 1073 |
12
+ | Sim rows | 111 |
13
+ | Real episode_id | `0e767ecd-afdc-4565-bccf-843b4576af73` |
14
+ | Sim episode_id | `0e767ecd-afdc-4565-bccf-843b4576af73` |
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 | 4.056 | 13.98 | 24.22 | 1281.91 | 0.7875 |
27
+ | 1 | descend | 86 | 9 | 0.892 | 4.64 | 8.04 | 4.62 | 0.6681 |
28
+ | 2 | settle | 36 | 4 | 0.022 | 2.69 | 4.66 | 5.37 | 0.7447 |
29
+ | 3 | close | 37 | 4 | 0.109 | 2.38 | 4.12 | 7.74 | 1.2050 |
30
+ | 4 | lift | 107 | 11 | 1.177 | 5.67 | 9.82 | 704.63 | 1.1656 |
31
+ | 5 | move_xy | 166 | 17 | 3.765 | 18.84 | 32.63 | 16.07 | 1.0418 |
32
+ | 6 | lower | 72 | 8 | 0.693 | 3.57 | 6.19 | 7.68 | 1.0942 |
33
+ | 7 | open | 97 | 10 | 0.022 | 2.18 | 3.77 | 4.91 | 0.6081 |
34
+ | 8 | retract | 71 | 8 | 0.642 | 3.56 | 6.17 | 4.18 | 0.7107 |
35
+ | 9 | return | 255 | 25 | 2.626 | 14.85 | 25.71 | 801.03 | 0.7630 |
36
+
37
+ ## Pooled metrics (matched phases only)
38
+
39
+ | Metric | Value |
40
+ |---|---:|
41
+ | Joints (deg) | 2.015 |
42
+ | TCP position RMSE (mm, per-axis) | 9.31 |
43
+ | EE position RMS L2 (mm) | 20.60 |
44
+ | TCP rotvec (mrad) | 527.44 |
45
+ | W1 effort mean (A) | 0.8264 |
46
+ | W1 effort per joint (A) | j0=0.2437, j1=1.5276, j2=1.5932, j3=0.7677, j4=0.4212, j5=0.4047 |
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.00162 | -0.00374 | -0.00102 | 0.00420 | 0.044 |
53
+ | 1 | 0.00206 | -0.00405 | -0.00091 | 0.00463 | 0.047 |
54
+ | 2 | 0.00208 | -0.00407 | -0.00109 | 0.00469 | 0.052 |
55
+ | 3 | 0.00163 | -0.00351 | -0.00146 | 0.00414 | 0.244 |
56
+ | 4 | 0.00084 | -0.00324 | -0.00186 | 0.00383 | 0.178 |
57
+ | 5 | 0.00069 | -0.00297 | -0.00043 | 0.00308 | 0.348 |
58
+ | 6 | 0.00159 | -0.00275 | -0.00032 | 0.00319 | 0.271 |
59
+ | 7 | 0.00217 | -0.00309 | -0.00016 | 0.00378 | 0.049 |
60
+ | 8 | 0.00178 | -0.00331 | -0.00027 | 0.00376 | 0.056 |
61
+ | 9 | -0.00003 | -0.00010 | -0.00024 | 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_0e7d14bc-b2f1-4605-9442-2a312597a632.md ADDED
@@ -0,0 +1,73 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Sim-real gap report
2
+
3
+ - **Generated:** 2026-05-05 11:26 UTC
4
+ - **Real CSV:** `/workspace/artifacts/real_csv/0e7d14bc-b2f1-4605-9442-2a312597a632.csv`
5
+ - **Sim CSV:** `/workspace/artifacts/sim_csv/0e7d14bc-b2f1-4605-9442-2a312597a632.csv`
6
+
7
+ ## Inputs
8
+
9
+ | | |
10
+ |---|---|
11
+ | Real rows | 2470 |
12
+ | Sim rows | 221 |
13
+ | Real episode_id | `0e7d14bc-b2f1-4605-9442-2a312597a632` |
14
+ | Sim episode_id | `0e7d14bc-b2f1-4605-9442-2a312597a632` |
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 | 170 | 15 | 2.125 | 9.98 | 17.29 | 1926.46 | 0.5838 |
27
+ | 1 | descend | 384 | 34 | 1.182 | 7.65 | 13.25 | 3625.31 | 0.7843 |
28
+ | 2 | settle | 370 | 33 | 0.024 | 0.74 | 1.28 | 3625.25 | 0.6510 |
29
+ | 3 | close | 138 | 13 | 0.709 | 4.63 | 8.01 | 3419.87 | 0.9813 |
30
+ | 4 | lift | 273 | 24 | 2.340 | 11.89 | 20.59 | 2190.35 | 1.0679 |
31
+ | 5 | move_xy | 321 | 28 | 5.776 | 31.88 | 55.22 | 2746.19 | 0.9218 |
32
+ | 6 | lower | 400 | 35 | 0.080 | 1.25 | 2.17 | 3625.76 | 1.0489 |
33
+ | 7 | open | 140 | 13 | 0.606 | 3.97 | 6.87 | 3625.42 | 0.6787 |
34
+ | 8 | retract | 274 | 24 | 2.288 | 11.67 | 20.22 | 2254.90 | 0.7144 |
35
+
36
+ ## Pooled metrics (matched phases only)
37
+
38
+ | Metric | Value |
39
+ |---|---:|
40
+ | Joints (deg) | 2.377 |
41
+ | TCP position RMSE (mm, per-axis) | 12.87 |
42
+ | EE position RMS L2 (mm) | 23.31 |
43
+ | TCP rotvec (mrad) | 3080.51 |
44
+ | W1 effort mean (A) | 0.8149 |
45
+ | W1 effort per joint (A) | j0=0.2309, j1=1.3778, j2=1.5994, j3=0.7534, j4=0.3560, j5=0.5720 |
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.00045 | -0.00068 | 0.00092 | 0.034 |
52
+ | 1 | 0.00043 | -0.00071 | -0.00096 | 0.00127 | 0.041 |
53
+ | 2 | 0.00041 | -0.00071 | -0.00096 | 0.00126 | 0.045 |
54
+ | 3 | 0.00104 | -0.00073 | -0.00176 | 0.00217 | 0.133 |
55
+ | 4 | 0.00015 | -0.00018 | -0.00011 | 0.00026 | 0.090 |
56
+ | 5 | 0.00142 | -0.00112 | -0.00201 | 0.00271 | 0.150 |
57
+ | 6 | 0.00128 | -0.00101 | -0.00147 | 0.00220 | 0.116 |
58
+ | 7 | 0.00029 | -0.00048 | -0.00078 | 0.00096 | 0.044 |
59
+ | 8 | -0.00013 | -0.00018 | -0.00020 | 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.