yqi19 commited on
Commit
000b008
·
verified ·
1 Parent(s): 9b8bfbc

docs split into doc/; scale-up generator; per-task frames and episode videos

Browse files
This view is limited to 50 files because it contains too many changes.   See raw diff
Files changed (50) hide show
  1. .gitattributes +82 -0
  2. README.md +27 -244
  3. doc/assets.md +19 -0
  4. doc/capabilities.md +21 -0
  5. doc/generation.md +51 -0
  6. doc/setup.md +87 -0
  7. doc/tasks.md +62 -0
  8. doc/verification.md +38 -0
  9. outputs/frames/bar_pull.png +3 -0
  10. outputs/frames/bottle_bin.png +3 -0
  11. outputs/frames/can_box.png +3 -0
  12. outputs/frames/cup_box.png +3 -0
  13. outputs/frames/cupboard_store.png +3 -0
  14. outputs/frames/drawer_open.png +3 -0
  15. outputs/frames/drawer_store.png +3 -0
  16. outputs/frames/eraser_wipe.png +3 -0
  17. outputs/frames/fruit_basket.png +3 -0
  18. outputs/frames/fruit_tray.png +3 -0
  19. outputs/frames/grape_box.png +3 -0
  20. outputs/frames/handover_basket.png +3 -0
  21. outputs/frames/laptop_close.png +3 -0
  22. outputs/frames/lid_food.png +3 -0
  23. outputs/frames/microwave_door.png +3 -0
  24. outputs/frames/peg_insert.png +3 -0
  25. outputs/frames/plank_dual_lift.png +3 -0
  26. outputs/frames/pot_dual_lift.png +3 -0
  27. outputs/frames/pour_cup.png +3 -0
  28. outputs/frames/pour_kettle.png +3 -0
  29. outputs/frames/push_block.png +3 -0
  30. outputs/frames/push_relay.png +3 -0
  31. outputs/frames/ring_post.png +3 -0
  32. outputs/frames/rope_straighten.png +3 -0
  33. outputs/frames/sort_cubes.png +3 -0
  34. outputs/frames/stack_blocks.png +3 -0
  35. outputs/frames/stack_cups.png +3 -0
  36. outputs/frames/sweep_debris.png +3 -0
  37. outputs/frames/switch_toggle.png +3 -0
  38. outputs/frames/weigh_fruit.png +3 -0
  39. outputs/tasks/grape_box.mp4 +0 -0
  40. outputs/tasks/task10_cup_rack.mp4 +3 -0
  41. outputs/tasks/task10_mug_rack.mp4 +3 -0
  42. outputs/tasks/task11_food_basket.mp4 +3 -0
  43. outputs/tasks/task12_handover_basket.mp4 +3 -0
  44. outputs/tasks/task13_push_block.mp4 +3 -0
  45. outputs/tasks/task14_stack_cups.mp4 +3 -0
  46. outputs/tasks/task15_dualarm_plank.mp4 +3 -0
  47. outputs/tasks/task16_plank_place.mp4 +3 -0
  48. outputs/tasks/task17_sweep_brush.mp4 +3 -0
  49. outputs/tasks/task18_lid_food.mp4 +3 -0
  50. outputs/tasks/task1_rwcup_box.mp4 +3 -0
.gitattributes CHANGED
@@ -34,3 +34,85 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
  outputs/frames/overview.png filter=lfs diff=lfs merge=lfs -text
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
34
  *.zst filter=lfs diff=lfs merge=lfs -text
35
  *tfevents* filter=lfs diff=lfs merge=lfs -text
36
  outputs/frames/overview.png filter=lfs diff=lfs merge=lfs -text
37
+ outputs/frames/bar_pull.png filter=lfs diff=lfs merge=lfs -text
38
+ outputs/frames/bottle_bin.png filter=lfs diff=lfs merge=lfs -text
39
+ outputs/frames/can_box.png filter=lfs diff=lfs merge=lfs -text
40
+ outputs/frames/cup_box.png filter=lfs diff=lfs merge=lfs -text
41
+ outputs/frames/cupboard_store.png filter=lfs diff=lfs merge=lfs -text
42
+ outputs/frames/drawer_open.png filter=lfs diff=lfs merge=lfs -text
43
+ outputs/frames/drawer_store.png filter=lfs diff=lfs merge=lfs -text
44
+ outputs/frames/eraser_wipe.png filter=lfs diff=lfs merge=lfs -text
45
+ outputs/frames/fruit_basket.png filter=lfs diff=lfs merge=lfs -text
46
+ outputs/frames/fruit_tray.png filter=lfs diff=lfs merge=lfs -text
47
+ outputs/frames/grape_box.png filter=lfs diff=lfs merge=lfs -text
48
+ outputs/frames/handover_basket.png filter=lfs diff=lfs merge=lfs -text
49
+ outputs/frames/laptop_close.png filter=lfs diff=lfs merge=lfs -text
50
+ outputs/frames/lid_food.png filter=lfs diff=lfs merge=lfs -text
51
+ outputs/frames/microwave_door.png filter=lfs diff=lfs merge=lfs -text
52
+ outputs/frames/peg_insert.png filter=lfs diff=lfs merge=lfs -text
53
+ outputs/frames/plank_dual_lift.png filter=lfs diff=lfs merge=lfs -text
54
+ outputs/frames/pot_dual_lift.png filter=lfs diff=lfs merge=lfs -text
55
+ outputs/frames/pour_cup.png filter=lfs diff=lfs merge=lfs -text
56
+ outputs/frames/pour_kettle.png filter=lfs diff=lfs merge=lfs -text
57
+ outputs/frames/push_block.png filter=lfs diff=lfs merge=lfs -text
58
+ outputs/frames/push_relay.png filter=lfs diff=lfs merge=lfs -text
59
+ outputs/frames/ring_post.png filter=lfs diff=lfs merge=lfs -text
60
+ outputs/frames/rope_straighten.png filter=lfs diff=lfs merge=lfs -text
61
+ outputs/frames/sort_cubes.png filter=lfs diff=lfs merge=lfs -text
62
+ outputs/frames/stack_blocks.png filter=lfs diff=lfs merge=lfs -text
63
+ outputs/frames/stack_cups.png filter=lfs diff=lfs merge=lfs -text
64
+ outputs/frames/sweep_debris.png filter=lfs diff=lfs merge=lfs -text
65
+ outputs/frames/switch_toggle.png filter=lfs diff=lfs merge=lfs -text
66
+ outputs/frames/weigh_fruit.png filter=lfs diff=lfs merge=lfs -text
67
+ outputs/tasks/task10_cup_rack.mp4 filter=lfs diff=lfs merge=lfs -text
68
+ outputs/tasks/task10_mug_rack.mp4 filter=lfs diff=lfs merge=lfs -text
69
+ outputs/tasks/task11_food_basket.mp4 filter=lfs diff=lfs merge=lfs -text
70
+ outputs/tasks/task12_handover_basket.mp4 filter=lfs diff=lfs merge=lfs -text
71
+ outputs/tasks/task13_push_block.mp4 filter=lfs diff=lfs merge=lfs -text
72
+ outputs/tasks/task14_stack_cups.mp4 filter=lfs diff=lfs merge=lfs -text
73
+ outputs/tasks/task15_dualarm_plank.mp4 filter=lfs diff=lfs merge=lfs -text
74
+ outputs/tasks/task16_plank_place.mp4 filter=lfs diff=lfs merge=lfs -text
75
+ outputs/tasks/task17_sweep_brush.mp4 filter=lfs diff=lfs merge=lfs -text
76
+ outputs/tasks/task18_lid_food.mp4 filter=lfs diff=lfs merge=lfs -text
77
+ outputs/tasks/task1_rwcup_box.mp4 filter=lfs diff=lfs merge=lfs -text
78
+ outputs/tasks/task3_can_box.mp4 filter=lfs diff=lfs merge=lfs -text
79
+ outputs/tasks/task4_sort_cubes.mp4 filter=lfs diff=lfs merge=lfs -text
80
+ outputs/tasks/task5_grape_box.mp4 filter=lfs diff=lfs merge=lfs -text
81
+ outputs/tasks/task6_peg_insert.mp4 filter=lfs diff=lfs merge=lfs -text
82
+ outputs/tasks/task7_fruit_basket.mp4 filter=lfs diff=lfs merge=lfs -text
83
+ outputs/tasks/task7_fruit_tray.mp4 filter=lfs diff=lfs merge=lfs -text
84
+ outputs/tasks/task8_bottle_bin.mp4 filter=lfs diff=lfs merge=lfs -text
85
+ outputs/tasks/task8_bottle_box.mp4 filter=lfs diff=lfs merge=lfs -text
86
+ outputs/tasks/task9_pot_dualarm.mp4 filter=lfs diff=lfs merge=lfs -text
87
+ outputs/tasks/v3_bar_pull.mp4 filter=lfs diff=lfs merge=lfs -text
88
+ outputs/tasks/v3_bell_coaster.mp4 filter=lfs diff=lfs merge=lfs -text
89
+ outputs/tasks/v3_bottle_bin.mp4 filter=lfs diff=lfs merge=lfs -text
90
+ outputs/tasks/v3_can_box.mp4 filter=lfs diff=lfs merge=lfs -text
91
+ outputs/tasks/v3_cup_box.mp4 filter=lfs diff=lfs merge=lfs -text
92
+ outputs/tasks/v3_cupboard_store.mp4 filter=lfs diff=lfs merge=lfs -text
93
+ outputs/tasks/v3_drawer_open.mp4 filter=lfs diff=lfs merge=lfs -text
94
+ outputs/tasks/v3_drawer_store.mp4 filter=lfs diff=lfs merge=lfs -text
95
+ outputs/tasks/v3_eraser_wipe.mp4 filter=lfs diff=lfs merge=lfs -text
96
+ outputs/tasks/v3_fruit_basket.mp4 filter=lfs diff=lfs merge=lfs -text
97
+ outputs/tasks/v3_fruit_tray.mp4 filter=lfs diff=lfs merge=lfs -text
98
+ outputs/tasks/v3_grape_box.mp4 filter=lfs diff=lfs merge=lfs -text
99
+ outputs/tasks/v3_handover_basket.mp4 filter=lfs diff=lfs merge=lfs -text
100
+ outputs/tasks/v3_laptop_close.mp4 filter=lfs diff=lfs merge=lfs -text
101
+ outputs/tasks/v3_lid_food.mp4 filter=lfs diff=lfs merge=lfs -text
102
+ outputs/tasks/v3_microwave_door.mp4 filter=lfs diff=lfs merge=lfs -text
103
+ outputs/tasks/v3_peg_insert.mp4 filter=lfs diff=lfs merge=lfs -text
104
+ outputs/tasks/v3_plank_dual_lift.mp4 filter=lfs diff=lfs merge=lfs -text
105
+ outputs/tasks/v3_pot_dual_lift.mp4 filter=lfs diff=lfs merge=lfs -text
106
+ outputs/tasks/v3_pour_cup.mp4 filter=lfs diff=lfs merge=lfs -text
107
+ outputs/tasks/v3_pour_kettle.mp4 filter=lfs diff=lfs merge=lfs -text
108
+ outputs/tasks/v3_press_bell.mp4 filter=lfs diff=lfs merge=lfs -text
109
+ outputs/tasks/v3_push_block.mp4 filter=lfs diff=lfs merge=lfs -text
110
+ outputs/tasks/v3_push_relay.mp4 filter=lfs diff=lfs merge=lfs -text
111
+ outputs/tasks/v3_ring_post.mp4 filter=lfs diff=lfs merge=lfs -text
112
+ outputs/tasks/v3_rope_straighten.mp4 filter=lfs diff=lfs merge=lfs -text
113
+ outputs/tasks/v3_sort_cubes.mp4 filter=lfs diff=lfs merge=lfs -text
114
+ outputs/tasks/v3_stack_blocks.mp4 filter=lfs diff=lfs merge=lfs -text
115
+ outputs/tasks/v3_stack_cups.mp4 filter=lfs diff=lfs merge=lfs -text
116
+ outputs/tasks/v3_sweep_debris.mp4 filter=lfs diff=lfs merge=lfs -text
117
+ outputs/tasks/v3_switch_toggle.mp4 filter=lfs diff=lfs merge=lfs -text
118
+ outputs/tasks/v3_weigh_fruit.mp4 filter=lfs diff=lfs merge=lfs -text
README.md CHANGED
@@ -98,262 +98,45 @@ python scripts/teleop_se3_agent_bimanual_xr.py \
98
 
99
  # YAM bimanual task suite (30 tasks)
100
 
101
- Scripted manipulation tasks laid out the way ManiSkill lays out its tasks: one registered class
102
- per task file, with the environment, the solvers and the motion planner as separate layers.
103
- Built on RoboTwin 2.0 assets.
 
104
 
105
  ![task overview](outputs/frames/overview.png)
106
 
107
- ```
108
- source/bimanual/yam/
109
- motion/ how the robot MOVES arm.py · planner.py · recorder.py
110
- envs/ the world a task runs in base_env.py · scene.py · config.py
111
- solvers/ scripted skills, one per file pick_place · multi_pick · insert · stack ·
112
- dual_lift · push · handover · tool_use · pour ·
113
- pull · sort · shelf · articulate
114
- tasks/ ONE FILE PER TASK, registered by name
115
- configs/ one YAML per task (parameter overrides)
116
- registry.py · conditions.py
117
- scripts/ runners, asset converters, verification
118
- ```
119
-
120
- ## What this suite supports
121
-
122
- **30 scripted bimanual manipulation tasks** on the YAM arm in Isaac Lab, built on RoboTwin 2.0
123
- assets. Not a policy — every task ships a scripted solver, so it produces demonstrations and a
124
- pass/fail signal you can trust.
125
-
126
- | capability | what it means |
127
- |---|---|
128
- | **Skill families** | pick-and-place · multi-object · stacking · sorting · insertion · pushing (single and relay) · bimanual lift · handover · tool use (sweep, wipe) · pouring · constrained pull · articulated fixtures · deformable chain |
129
- | **Both arms** | either arm alone, or both on one motion profile (`move_both`) — driving them in sequence parks the first in the second's path |
130
- | **Randomization** | every object, fixture, container and marker takes `xy_jitter` / `yaw_jitter`; `--seed` reproduces an episode exactly. 52 of 56 spawn calls are randomized |
131
- | **Articulated props** | SAPIEN mobility URDFs — hinged doors, sliding drawers, lids, toggles. Joint values are first-class state and can be success conditions |
132
- | **Chains / rope** | a rope as a jointed chain, judged on its own geometry (end-to-end span) rather than on a placement |
133
- | **Configuration** | class attribute → per-task YAML → `--set key=value`, resolved *before* the simulator starts |
134
- | **Asset pipeline** | rigid → USD, hollow containers, articulated URDFs, plus procedurally generated meshes (ring, rope, pot lid) |
135
- | **Agentic verification** | rendered contact sheets + review prompts for a vision agent, verdicts fed back into concrete parameter fixes, and task proposal from the asset library — `scripts/yam_agent_loop.py` |
136
- | **Verification** | strict numeric conditions **plus** the visual check above; `scripts/status.py` regenerates the status table from run logs |
137
- | **Outputs** | per-episode MP4 with an action/state HUD, contact sheets, single-frame scene renders |
138
-
139
- ## Environment
140
-
141
- Isaac Sim 5.0 + Isaac Lab 2.2.0, Python 3.11, an NVIDIA GPU (the PhysX GPU pipeline is required).
142
-
143
- Isaac Lab may already exist on the machine inside another project's virtualenv. If so, prefer an
144
- **overlay venv** — a fresh venv whose `.pth` file points at that interpreter's `site-packages` —
145
- over reinstalling Isaac Sim:
146
-
147
  ```bash
148
- python -m venv .venv
149
- echo "/path/to/existing/isaac/venv/lib/python3.11/site-packages" \
150
- > .venv/lib/python3.11/site-packages/_isaac_overlay.pth
151
- ```
152
-
153
- Isaac Lab's *source checkout* is also needed for `isaaclab_tasks` / `isaaclab_assets`; add it the
154
- same way if it is not pip-installed.
155
-
156
- ### Configure
157
-
158
- Everything is driven by two environment variables and a relative path. Nothing below hardcodes a
159
- machine-specific location:
160
-
161
- ```bash
162
- export ROBOTWIN_USD=./robotwin_usd # converted USD assets (see Assets)
163
- export ROBOTWIN_SRC=./robotwin_object/objects # source meshes, only needed to convert
164
  export OMNI_KIT_ACCEPT_EULA=YES
165
- ```
166
-
167
- `ROBOTWIN_USD` defaults are read at import time, so export it before running anything. Unzip
168
- `assets/robotwin_usd.zip` from this repo's HF page to populate it.
169
-
170
- ### Run
171
 
172
- ```bash
173
  python scripts/yam_task.py --list
174
- python scripts/yam_task.py --task grape_box --seed 3 \
175
- --video outputs/tasks/grape_box.mp4 \
176
  --kit_args="--/rtx/verifyDriverVersion/enabled=false"
177
- ```
178
-
179
- Two flags are commonly required and easy to miss:
180
-
181
- * `OMNI_KIT_ACCEPT_EULA=YES` — otherwise Omniverse blocks on an interactive EULA prompt and the
182
- run hangs forever with no output at all.
183
- * `--kit_args="--/rtx/verifyDriverVersion/enabled=false"` ��� needed on drivers whose version
184
- string Omniverse misparses (e.g. `535.309.01` read as `535.53` and rejected as too old). The
185
- check is wrong, not the driver. Drop this flag if your driver passes the check.
186
-
187
- Extras: `--no-randomize` (nominal poses, for reproducing a failure), `--set gripper_effort=70`
188
- (override any task parameter), `--first-frame out.png` (build the scene, save one frame, exit
189
- without solving).
190
-
191
- **Config precedence:** `class attribute → source/bimanual/yam/tasks/configs/<task>.yaml → --set`.
192
- Each task ships a YAML mirroring its parameters *with every key commented out on purpose* — an
193
- active key there overrides the Python and keeps overriding it, so a later code change silently
194
- does nothing.
195
 
196
- Full architecture, task-authoring guide, the asset-gotcha table and the verification workflow:
197
- [`source/bimanual/yam/README.md`](source/bimanual/yam/README.md).
198
- Every non-obvious failure and the measurement that settled it:
199
- [`DIAGNOSTICS.md`](DIAGNOSTICS.md) — read this before debugging a new asset.
200
-
201
- ### The one habit that matters
202
-
203
- When a grasp or a joint misbehaves, **measure the asset offline before touching a parameter.**
204
- Most of the hard bugs here looked like tuning problems and were not:
205
-
206
- ```bash
207
- # where is the graspable part, and is the mesh origin even on the object?
208
- python -c "
209
- import trimesh, numpy as np
210
- m = trimesh.load('objects/083_brush/visual/base0.glb', force='mesh'); v = m.vertices
211
- tall = int(np.argmax(m.extents)); oth = [a for a in range(3) if a != tall]
212
- lo, hi = v[:,tall].min(), v[:,tall].max()
213
- for i in range(8): # cross-section along the long axis
214
- s = v[(v[:,tall] >= lo+(hi-lo)*i/8) & (v[:,tall] < lo+(hi-lo)*(i+1)/8)]
215
- print(f'{i/8:.0%}', s[:,oth[0]].ptp(), s[:,oth[1]].ptp(), 'centroid', s[:,oth].mean(0))
216
- "
217
  ```
218
 
219
- That one command found the brush's 1 cm handle **and** the 3.7 cm offset between the mesh and the
220
- body origin that `object_pos()` reports — two separate bugs that both presented as `gap 0.0 cm`.
221
- The same check on the kettle found a 4.7 cm offset. For articulated assets, read the URDF's joint
222
- `axis` and `bounding_box.json` rather than inferring anything from the USD.
223
-
224
- ## What actually works
225
-
226
- Honest status, regenerated from the run logs — not a wish list. A task counts as **passing** only
227
- when its numeric conditions pass **and** the rendered contact sheet was inspected and agrees.
228
-
229
- The numeric checks are deliberately strict, and three of them were caught *lying* during
230
- development (see [`DIAGNOSTICS.md`](DIAGNOSTICS.md)): a pour that reported success with a failed
231
- grasp, and two joints that "moved" on gravity alone. Each was tightened rather than worked
232
- around, so several tasks moved from green to red on purpose.
233
-
234
- Run `python scripts/status.py` to regenerate the table below from `outputs/tasks/*.log`.
235
-
236
- ### Agent-in-the-loop verification
237
-
238
- The numeric check only inspects final object poses. It will happily pass an episode where the cup
239
- landed upside-down, a gripper hung empty in the air, or a vessel was carried over the target
240
- without ever tipping — all three of those actually happened here. So every task is also reviewed
241
- visually, and only `numeric=SUCCESS` **and** `visual=CONFIRMED` counts as done.
242
-
243
- ```bash
244
- python scripts/contact_sheet.py outputs/tasks/*.mp4 # episode -> one strip of frames
245
- python scripts/yam_agent_loop.py evaluate # contact sheets + per-task review prompts
246
- python scripts/yam_agent_loop.py update # verdicts -> concrete parameter fixes
247
- python scripts/yam_agent_loop.py propose # uncovered skill axes from the asset library
248
  ```
249
-
250
- `evaluate` renders a sheet per episode and emits a prompt naming what to look for in that
251
- specific task (is the cup upright? is anything actually in the gripper? did the lid come off
252
- *before* the food went in?). `update` maps a verdict onto a fix through a symptom→cause table
253
- built from the failures in [`DIAGNOSTICS.md`](DIAGNOSTICS.md) — e.g. *"jaws closed on nothing"* →
254
- measure the mesh origin offset, not the clamp force. `propose` reads the converted asset library
255
- and suggests skills not yet covered.
256
-
257
- Reviewing this way is what caught the three false positives described above; the fix in each case
258
- was to tighten the numeric condition, so the visual pass and the numeric pass now agree.
259
-
260
- <!-- STATUS TABLE -->
261
- **18 of 30 passing.**
262
-
263
- | task | status | last failure |
264
- |---|---|---|
265
- | `bar_pull` | **pass** | |
266
- | `bell_coaster` | fail | |
267
- | `bottle_bin` | **pass** | |
268
- | `can_box` | **pass** | |
269
- | `cup_box` | **pass** | |
270
- | `cupboard_store` | fail | object did not rise with the gripper (+0.000 m): the jaw closed beside or above |
271
- | `drawer_open` | fail | |
272
- | `drawer_store` | fail | |
273
- | `eraser_wipe` | **pass** | |
274
- | `fruit_basket` | fail | can at (+0.160,-0.020,0.506) vs basket centre (+0.020,-0.240) half=0.096: dx=0.1 |
275
- | `fruit_tray` | **pass** | |
276
- | `grape_box` | **pass** | |
277
- | `handover_basket` | fail | rw_basket_dyn at (+0.058,+0.001,0.450) vs goal centre (+0.020,-0.230) half=0.145 |
278
- | `laptop_close` | fail | rw_laptop joint 0: robot moved it 0.0 (need 0.45), within limits=False |
279
- | `lid_food` | **pass** | |
280
- | `microwave_door` | fail | |
281
- | `peg_insert` | **pass** | |
282
- | `plank_dual_lift` | **pass** | |
283
- | `pot_dual_lift` | fail | |
284
- | `pour_kettle` | **pass** | |
285
- | `push_block` | **pass** | |
286
- | `push_relay` | fail | |
287
- | `ring_post` | **pass** | |
288
- | `rope_straighten` | fail | rw_rope link7 z=-0.445 m above the table (need 0.04) |
289
- | `sort_cubes` | **pass** | |
290
- | `stack_blocks` | **pass** | |
291
- | `stack_cups` | **pass** | |
292
- | `sweep_debris` | **pass** | |
293
- | `switch_toggle` | fail | |
294
- | `weigh_fruit` | **pass** | |
295
- <!-- END STATUS TABLE -->
296
-
297
- ## Relationship to RoboTwin's own 50 tasks
298
-
299
- This suite uses RoboTwin's assets but is **deliberately not a re-implementation of its task list**.
300
- Where a task would otherwise duplicate one of theirs, it is varied on purpose — inverted, made
301
- compound, or given an extra constraint — so the two sets exercise different things.
302
-
303
- | RoboTwin task | here | what is deliberately different |
304
- |---|---|---|
305
- | Open Laptop | `laptop_close` | **inverted** — the lid is folded shut, a downward push instead of a lift |
306
- | Stack Blocks Two | `stack_blocks` | blocks must land on a **marked target region**, not just on each other |
307
- | Blocks Ranking RGB | `sort_cubes` | **bimanual**, each cube to a colour-matched pad on its own side of the table |
308
- | Handover Block | `handover_basket` | a basket wider than the jaw, so it must be taken **by the rim** |
309
- | Put Bottles Dustbin | `bottle_bin` | bottle lies on its **side**, so the jaw axis has to be chosen |
310
- | Place Object Scale | `weigh_fruit` | — |
311
- | Lift Pot | `pot_dual_lift` | — |
312
- | Put Object Cabinet | `cupboard_store` | placement onto a **raised shelf** between walls |
313
- | Open Microwave | `microwave_door` | — |
314
- | Turn Switch | `switch_toggle` | — |
315
-
316
- No RoboTwin equivalent: `pour_kettle`, `bar_pull`, `sweep_debris`, `eraser_wipe`, `push_relay`,
317
- `ring_post`, `peg_insert`, `drawer_store`, `push_block`, `grape_box`, `lid_food`.
318
-
319
- ## Assets
320
-
321
- Object meshes come from [RoboTwin 2.0](https://huggingface.co/datasets/TianxingChen/RoboTwin2.0)
322
- (MIT); `custom_ring` / `custom_rope` are generated by scripts in this repo.
323
-
324
- ```bash
325
- # rigid objects -> USD (convex decomposition, so they can be dynamic)
326
- python scripts/robotwin_convert.py --jobs 035_apple:base0
327
- # containers -> USD with a HOLLOW cavity (triangle mesh, static only)
328
- python scripts/robotwin_convert.py --collision none --suffix _mesh --jobs 110_basket:base0
329
- # articulated fixtures (SAPIEN mobility URDF): SANITIZE FIRST, then convert
330
- python scripts/sanitize_urdf_asset.py 044_microwave/7310
331
- python scripts/robotwin_urdf_convert.py --fix_base --jobs 044_microwave/7310_clean
332
  ```
333
 
334
- ---
335
-
336
- ## YAM Motion Planner — grape → box (PRM + real grasp)
337
-
338
- Single-arm **pick-and-place** on `Template-YAM-Play-v0`: task-space **PRM** plan +
339
- **real friction grasp** (no kinematic attach), drop into a primitive box. Includes an
340
- N-episode benchmark that reports a success rate. Full details, flags, and output format:
341
- [`scripts/README_yam_motionplanner.md`](scripts/README_yam_motionplanner.md).
342
 
343
- ```bash
344
- source "$HOME/miniconda3/etc/profile.d/conda.sh"; conda activate env_isaaclab
345
- export OMNI_KIT_ACCEPT_EULA=YES OMNI_KIT_ALLOW_ROOT=1 PYTHONUNBUFFERED=1 CUDA_HOME=$CONDA_PREFIX
346
-
347
- # one episode (grape -> box); positions are env-local metres (use --arg=-0.03,.. for negatives)
348
- python scripts/yam_grasp_prm.py --headless --obj grape --basket \
349
- --obj_xy=0.00,0.10 --box_xy=0.06,-0.26 --episode 0 --video outputs/ep0.mp4
350
-
351
- # N-episode benchmark + one stitched video with per-episode SUCCESS/FAIL and a final rate
352
- OUT=outputs/grape_eps bash scripts/run_grape_episodes.sh
353
- OUT=outputs/grape_eps python scripts/concat_episodes.py # -> outputs/grape_eps/episodes.mp4
354
- ```
355
-
356
- Key files: `scripts/yam_grasp_prm.py` (pick-place + per-frame debug overlay), `scripts/yam_prm.py`
357
- (PRM planner), `scripts/run_grape_episodes.sh`, `scripts/concat_episodes.py`. Robot/scene config:
358
- `source/bimanual/tasks/manager_based/yam/{yam.py,yam_bimanual_env.py}` (init pose, gripper, objects).
359
- Reference: ~52 s/episode; example 10-episode run = 6/10 (60%) success.
 
98
 
99
  # YAM bimanual task suite (30 tasks)
100
 
101
+ Scripted bimanual manipulation tasks for the YAM arm in Isaac Lab, laid out the way ManiSkill
102
+ lays out its tasks: one registered class per task file, with the environment, the solvers and the
103
+ motion planner as separate layers. Built on RoboTwin 2.0 assets. Every task ships a scripted
104
+ solver, so it generates demonstrations *and* a pass/fail signal — not a policy.
105
 
106
  ![task overview](outputs/frames/overview.png)
107
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
108
  ```bash
109
+ export ROBOTWIN_USD=./robotwin_usd
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
110
  export OMNI_KIT_ACCEPT_EULA=YES
 
 
 
 
 
 
111
 
 
112
  python scripts/yam_task.py --list
113
+ python scripts/yam_task.py --task grape_box --seed 3 --video outputs/tasks/grape_box.mp4 \
 
114
  --kit_args="--/rtx/verifyDriverVersion/enabled=false"
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
115
 
116
+ python scripts/generate.py --tasks passing --episodes 100 # scale up to a dataset
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
117
  ```
118
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
119
  ```
120
+ source/bimanual/yam/
121
+ motion/ how the robot MOVES arm.py · planner.py · recorder.py
122
+ envs/ the world a task runs in base_env.py · scene.py · config.py
123
+ solvers/ scripted skills pick_place · multi_pick · insert · stack · dual_lift ·
124
+ push · handover · tool_use · pour · pull · sort ·
125
+ shelf · articulate · rope
126
+ tasks/ ONE FILE PER TASK, registered by name; configs/ one YAML each
127
+ registry.py · conditions.py
128
+ scripts/ runners · asset converters · generation · verification
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
129
  ```
130
 
131
+ ## Documentation
 
 
 
 
 
 
 
132
 
133
+ | | |
134
+ |---|---|
135
+ | [`doc/capabilities.md`](doc/capabilities.md) | what the suite supports — skill families, randomization, articulations |
136
+ | [`doc/setup.md`](doc/setup.md) | environment, configuration, running a task |
137
+ | [`doc/generation.md`](doc/generation.md) | scaling up to a demonstration dataset |
138
+ | [`doc/tasks.md`](doc/tasks.md) | all 30 tasks, current pass/fail, and how they differ from RoboTwin's |
139
+ | [`doc/assets.md`](doc/assets.md) | asset conversion pipeline and licence |
140
+ | [`doc/verification.md`](doc/verification.md) | agent-in-the-loop visual verification |
141
+ | [`DIAGNOSTICS.md`](DIAGNOSTICS.md) | **every non-obvious failure and the measurement that settled it — read this before debugging a new asset** |
142
+ | [`source/bimanual/yam/README.md`](source/bimanual/yam/README.md) | architecture and how to write a task |
 
 
 
 
 
 
 
doc/assets.md ADDED
@@ -0,0 +1,19 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Assets and the conversion pipeline
2
+
3
+ ## Assets
4
+
5
+ Object meshes come from [RoboTwin 2.0](https://huggingface.co/datasets/TianxingChen/RoboTwin2.0)
6
+ (MIT); `custom_ring` / `custom_rope` are generated by scripts in this repo.
7
+
8
+ ```bash
9
+ # rigid objects -> USD (convex decomposition, so they can be dynamic)
10
+ python scripts/robotwin_convert.py --jobs 035_apple:base0
11
+ # containers -> USD with a HOLLOW cavity (triangle mesh, static only)
12
+ python scripts/robotwin_convert.py --collision none --suffix _mesh --jobs 110_basket:base0
13
+ # articulated fixtures (SAPIEN mobility URDF): SANITIZE FIRST, then convert
14
+ python scripts/sanitize_urdf_asset.py 044_microwave/7310
15
+ python scripts/robotwin_urdf_convert.py --fix_base --jobs 044_microwave/7310_clean
16
+ ```
17
+
18
+ ---
19
+
doc/capabilities.md ADDED
@@ -0,0 +1,21 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # What this suite supports
2
+
3
+ ## What this suite supports
4
+
5
+ **30 scripted bimanual manipulation tasks** on the YAM arm in Isaac Lab, built on RoboTwin 2.0
6
+ assets. Not a policy — every task ships a scripted solver, so it produces demonstrations and a
7
+ pass/fail signal you can trust.
8
+
9
+ | capability | what it means |
10
+ |---|---|
11
+ | **Skill families** | pick-and-place · multi-object · stacking · sorting · insertion · pushing (single and relay) · bimanual lift · handover · tool use (sweep, wipe) · pouring · constrained pull · articulated fixtures · deformable chain |
12
+ | **Both arms** | either arm alone, or both on one motion profile (`move_both`) — driving them in sequence parks the first in the second's path |
13
+ | **Randomization** | every object, fixture, container and marker takes `xy_jitter` / `yaw_jitter`; `--seed` reproduces an episode exactly. 52 of 56 spawn calls are randomized |
14
+ | **Articulated props** | SAPIEN mobility URDFs — hinged doors, sliding drawers, lids, toggles. Joint values are first-class state and can be success conditions |
15
+ | **Chains / rope** | a rope as a jointed chain, judged on its own geometry (end-to-end span) rather than on a placement |
16
+ | **Configuration** | class attribute → per-task YAML → `--set key=value`, resolved *before* the simulator starts |
17
+ | **Asset pipeline** | rigid → USD, hollow containers, articulated URDFs, plus procedurally generated meshes (ring, rope, pot lid) |
18
+ | **Agentic verification** | rendered contact sheets + review prompts for a vision agent, verdicts fed back into concrete parameter fixes, and task proposal from the asset library — `scripts/yam_agent_loop.py` |
19
+ | **Verification** | strict numeric conditions **plus** the visual check above; `scripts/status.py` regenerates the status table from run logs |
20
+ | **Outputs** | per-episode MP4 with an action/state HUD, contact sheets, single-frame scene renders |
21
+
doc/generation.md ADDED
@@ -0,0 +1,51 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Scaling up to a dataset
2
+
3
+ `scripts/generate.py` runs many randomized episodes per task and keeps the ones that succeeded.
4
+ Each episode gets a fresh seed, so the scene randomization differs every time; the scripted
5
+ solver plays it and the task's own success conditions decide whether it counts. That filtering
6
+ is what makes this a demonstration generator rather than a batch runner.
7
+
8
+ ```bash
9
+ python scripts/generate.py --episodes 20 # every registered task
10
+ python scripts/generate.py --tasks passing --episodes 100 # only tasks known to work
11
+ python scripts/generate.py --tasks grape_box,stack_blocks --episodes 50
12
+ python scripts/generate.py --episodes 20 --resume # skip episodes already done
13
+ ```
14
+
15
+ ## What it writes
16
+
17
+ ```
18
+ data/
19
+ <task>/ep<seed>.mp4 video — successes only, unless --keep-failures
20
+ <task>/ep<seed>.json result, per-condition PASS/FAIL, and the episode's actual placements
21
+ manifest.json running totals and success rate per task
22
+ ```
23
+
24
+ The per-episode JSON records the **randomized placements the environment actually used**, not the
25
+ nominal ones, so an episode can be replayed exactly with `--seed`.
26
+
27
+ ## Options worth knowing
28
+
29
+ | flag | why |
30
+ |---|---|
31
+ | `--tasks passing` | reads `outputs/tasks/v3_*.log` and selects only tasks whose last development run succeeded — spending 100 seeds on a task that cannot complete is wasted GPU time |
32
+ | `--start-seed` | defaults to 100, deliberately clear of the 0–9 seeds used during development, so generated data never overlaps the episodes used to tune the task |
33
+ | `--resume` | skips episodes whose JSON already exists; the script is safe to interrupt |
34
+ | `--keep-failures` | keeps failed videos for debugging instead of deleting them |
35
+
36
+ ## Cost
37
+
38
+ One episode is one simulator launch — expect roughly 40–90 s each, so this is long-running by
39
+ nature. It prints one line per episode and writes `manifest.json` after every episode, so
40
+ progress survives an interruption.
41
+
42
+ Success rates vary by task and are worth checking before committing to a large run: a task that
43
+ passes at seed 0 may be sensitive to the jitter. The manifest gives you exactly that number.
44
+
45
+ ## A caution
46
+
47
+ The filter is only as honest as the success conditions. Three checks in this suite were caught
48
+ reporting success for episodes that did nothing (see [`../DIAGNOSTICS.md`](../DIAGNOSTICS.md)) —
49
+ a pour whose grasp had failed, and two joints that "moved" under gravity alone. Before generating
50
+ at scale on a task you have just written, render a few contact sheets and confirm the numeric
51
+ check agrees with what you see; otherwise you will mass-produce convincing-looking failures.
doc/setup.md ADDED
@@ -0,0 +1,87 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Setup and running
2
+
3
+ ## Environment
4
+
5
+ Isaac Sim 5.0 + Isaac Lab 2.2.0, Python 3.11, an NVIDIA GPU (the PhysX GPU pipeline is required).
6
+
7
+ Isaac Lab may already exist on the machine inside another project's virtualenv. If so, prefer an
8
+ **overlay venv** — a fresh venv whose `.pth` file points at that interpreter's `site-packages` —
9
+ over reinstalling Isaac Sim:
10
+
11
+ ```bash
12
+ python -m venv .venv
13
+ echo "/path/to/existing/isaac/venv/lib/python3.11/site-packages" \
14
+ > .venv/lib/python3.11/site-packages/_isaac_overlay.pth
15
+ ```
16
+
17
+ Isaac Lab's *source checkout* is also needed for `isaaclab_tasks` / `isaaclab_assets`; add it the
18
+ same way if it is not pip-installed.
19
+
20
+ ### Configure
21
+
22
+ Everything is driven by two environment variables and a relative path. Nothing below hardcodes a
23
+ machine-specific location:
24
+
25
+ ```bash
26
+ export ROBOTWIN_USD=./robotwin_usd # converted USD assets (see Assets)
27
+ export ROBOTWIN_SRC=./robotwin_object/objects # source meshes, only needed to convert
28
+ export OMNI_KIT_ACCEPT_EULA=YES
29
+ ```
30
+
31
+ `ROBOTWIN_USD` defaults are read at import time, so export it before running anything. Unzip
32
+ `assets/robotwin_usd.zip` from this repo's HF page to populate it.
33
+
34
+ ### Run
35
+
36
+ ```bash
37
+ python scripts/yam_task.py --list
38
+ python scripts/yam_task.py --task grape_box --seed 3 \
39
+ --video outputs/tasks/grape_box.mp4 \
40
+ --kit_args="--/rtx/verifyDriverVersion/enabled=false"
41
+ ```
42
+
43
+ Two flags are commonly required and easy to miss:
44
+
45
+ * `OMNI_KIT_ACCEPT_EULA=YES` — otherwise Omniverse blocks on an interactive EULA prompt and the
46
+ run hangs forever with no output at all.
47
+ * `--kit_args="--/rtx/verifyDriverVersion/enabled=false"` — needed on drivers whose version
48
+ string Omniverse misparses (e.g. `535.309.01` read as `535.53` and rejected as too old). The
49
+ check is wrong, not the driver. Drop this flag if your driver passes the check.
50
+
51
+ Extras: `--no-randomize` (nominal poses, for reproducing a failure), `--set gripper_effort=70`
52
+ (override any task parameter), `--first-frame out.png` (build the scene, save one frame, exit
53
+ without solving).
54
+
55
+ **Config precedence:** `class attribute → source/bimanual/yam/tasks/configs/<task>.yaml → --set`.
56
+ Each task ships a YAML mirroring its parameters *with every key commented out on purpose* — an
57
+ active key there overrides the Python and keeps overriding it, so a later code change silently
58
+ does nothing.
59
+
60
+ Full architecture, task-authoring guide, the asset-gotcha table and the verification workflow:
61
+ [`source/bimanual/yam/README.md`](source/bimanual/yam/README.md).
62
+ Every non-obvious failure and the measurement that settled it:
63
+ [`DIAGNOSTICS.md`](DIAGNOSTICS.md) — read this before debugging a new asset.
64
+
65
+ ### The one habit that matters
66
+
67
+ When a grasp or a joint misbehaves, **measure the asset offline before touching a parameter.**
68
+ Most of the hard bugs here looked like tuning problems and were not:
69
+
70
+ ```bash
71
+ # where is the graspable part, and is the mesh origin even on the object?
72
+ python -c "
73
+ import trimesh, numpy as np
74
+ m = trimesh.load('objects/083_brush/visual/base0.glb', force='mesh'); v = m.vertices
75
+ tall = int(np.argmax(m.extents)); oth = [a for a in range(3) if a != tall]
76
+ lo, hi = v[:,tall].min(), v[:,tall].max()
77
+ for i in range(8): # cross-section along the long axis
78
+ s = v[(v[:,tall] >= lo+(hi-lo)*i/8) & (v[:,tall] < lo+(hi-lo)*(i+1)/8)]
79
+ print(f'{i/8:.0%}', s[:,oth[0]].ptp(), s[:,oth[1]].ptp(), 'centroid', s[:,oth].mean(0))
80
+ "
81
+ ```
82
+
83
+ That one command found the brush's 1 cm handle **and** the 3.7 cm offset between the mesh and the
84
+ body origin that `object_pos()` reports — two separate bugs that both presented as `gap 0.0 cm`.
85
+ The same check on the kettle found a 4.7 cm offset. For articulated assets, read the URDF's joint
86
+ `axis` and `bounding_box.json` rather than inferring anything from the USD.
87
+
doc/tasks.md ADDED
@@ -0,0 +1,62 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Task list and status
2
+
3
+ <!-- STATUS TABLE -->
4
+ **18 of 30 passing.**
5
+
6
+ | task | status | last failure |
7
+ |---|---|---|
8
+ | `bar_pull` | **pass** | |
9
+ | `bell_coaster` | fail | |
10
+ | `bottle_bin` | **pass** | |
11
+ | `can_box` | **pass** | |
12
+ | `cup_box` | **pass** | |
13
+ | `cupboard_store` | fail | object did not rise with the gripper (+0.000 m): the jaw closed beside or above |
14
+ | `drawer_open` | fail | |
15
+ | `drawer_store` | fail | |
16
+ | `eraser_wipe` | **pass** | |
17
+ | `fruit_basket` | fail | can at (+0.160,-0.020,0.506) vs basket centre (+0.020,-0.240) half=0.096: dx=0.1 |
18
+ | `fruit_tray` | **pass** | |
19
+ | `grape_box` | **pass** | |
20
+ | `handover_basket` | fail | rw_basket_dyn at (+0.058,+0.001,0.450) vs goal centre (+0.020,-0.230) half=0.145 |
21
+ | `laptop_close` | fail | rw_laptop joint 0: robot moved it 0.0 (need 0.45), within limits=False |
22
+ | `lid_food` | **pass** | |
23
+ | `microwave_door` | fail | |
24
+ | `peg_insert` | **pass** | |
25
+ | `plank_dual_lift` | **pass** | |
26
+ | `pot_dual_lift` | fail | |
27
+ | `pour_kettle` | **pass** | |
28
+ | `push_block` | **pass** | |
29
+ | `push_relay` | fail | |
30
+ | `ring_post` | **pass** | |
31
+ | `rope_straighten` | fail | rw_rope link7 z=-0.445 m above the table (need 0.04) |
32
+ | `sort_cubes` | **pass** | |
33
+ | `stack_blocks` | **pass** | |
34
+ | `stack_cups` | **pass** | |
35
+ | `sweep_debris` | **pass** | |
36
+ | `switch_toggle` | fail | |
37
+ | `weigh_fruit` | **pass** | |
38
+ <!-- END STATUS TABLE -->
39
+
40
+
41
+ ## Relationship to RoboTwin's own 50 tasks
42
+
43
+ This suite uses RoboTwin's assets but is **deliberately not a re-implementation of its task list**.
44
+ Where a task would otherwise duplicate one of theirs, it is varied on purpose — inverted, made
45
+ compound, or given an extra constraint — so the two sets exercise different things.
46
+
47
+ | RoboTwin task | here | what is deliberately different |
48
+ |---|---|---|
49
+ | Open Laptop | `laptop_close` | **inverted** — the lid is folded shut, a downward push instead of a lift |
50
+ | Stack Blocks Two | `stack_blocks` | blocks must land on a **marked target region**, not just on each other |
51
+ | Blocks Ranking RGB | `sort_cubes` | **bimanual**, each cube to a colour-matched pad on its own side of the table |
52
+ | Handover Block | `handover_basket` | a basket wider than the jaw, so it must be taken **by the rim** |
53
+ | Put Bottles Dustbin | `bottle_bin` | bottle lies on its **side**, so the jaw axis has to be chosen |
54
+ | Place Object Scale | `weigh_fruit` | — |
55
+ | Lift Pot | `pot_dual_lift` | — |
56
+ | Put Object Cabinet | `cupboard_store` | placement onto a **raised shelf** between walls |
57
+ | Open Microwave | `microwave_door` | — |
58
+ | Turn Switch | `switch_toggle` | — |
59
+
60
+ No RoboTwin equivalent: `pour_kettle`, `bar_pull`, `sweep_debris`, `eraser_wipe`, `push_relay`,
61
+ `ring_post`, `peg_insert`, `drawer_store`, `push_block`, `grape_box`, `lid_food`.
62
+
doc/verification.md ADDED
@@ -0,0 +1,38 @@
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
1
+ # Verification
2
+
3
+ ## What actually works
4
+
5
+ Honest status, regenerated from the run logs — not a wish list. A task counts as **passing** only
6
+ when its numeric conditions pass **and** the rendered contact sheet was inspected and agrees.
7
+
8
+ The numeric checks are deliberately strict, and three of them were caught *lying* during
9
+ development (see [`DIAGNOSTICS.md`](DIAGNOSTICS.md)): a pour that reported success with a failed
10
+ grasp, and two joints that "moved" on gravity alone. Each was tightened rather than worked
11
+ around, so several tasks moved from green to red on purpose.
12
+
13
+ Run `python scripts/status.py` to regenerate the table below from `outputs/tasks/*.log`.
14
+
15
+ ### Agent-in-the-loop verification
16
+
17
+ The numeric check only inspects final object poses. It will happily pass an episode where the cup
18
+ landed upside-down, a gripper hung empty in the air, or a vessel was carried over the target
19
+ without ever tipping — all three of those actually happened here. So every task is also reviewed
20
+ visually, and only `numeric=SUCCESS` **and** `visual=CONFIRMED` counts as done.
21
+
22
+ ```bash
23
+ python scripts/contact_sheet.py outputs/tasks/*.mp4 # episode -> one strip of frames
24
+ python scripts/yam_agent_loop.py evaluate # contact sheets + per-task review prompts
25
+ python scripts/yam_agent_loop.py update # verdicts -> concrete parameter fixes
26
+ python scripts/yam_agent_loop.py propose # uncovered skill axes from the asset library
27
+ ```
28
+
29
+ `evaluate` renders a sheet per episode and emits a prompt naming what to look for in that
30
+ specific task (is the cup upright? is anything actually in the gripper? did the lid come off
31
+ *before* the food went in?). `update` maps a verdict onto a fix through a symptom→cause table
32
+ built from the failures in [`DIAGNOSTICS.md`](DIAGNOSTICS.md) — e.g. *"jaws closed on nothing"* →
33
+ measure the mesh origin offset, not the clamp force. `propose` reads the converted asset library
34
+ and suggests skills not yet covered.
35
+
36
+ Reviewing this way is what caught the three false positives described above; the fix in each case
37
+ was to tighten the numeric condition, so the visual pass and the numeric pass now agree.
38
+
outputs/frames/bar_pull.png ADDED

Git LFS Details

  • SHA256: 7e68394d995eb53728a184751bdcb3e9891e2622c585497177b40a49235d11f5
  • Pointer size: 131 Bytes
  • Size of remote file: 195 kB
outputs/frames/bottle_bin.png ADDED

Git LFS Details

  • SHA256: 1d30670a412f0767e8c7986dbb90a38b034541eb1672103d6991feb29e9518b6
  • Pointer size: 131 Bytes
  • Size of remote file: 196 kB
outputs/frames/can_box.png ADDED

Git LFS Details

  • SHA256: 2c54019a576ea70c6fba457fbdda3bf5ee71fab73006c2561600d625784dd2b7
  • Pointer size: 131 Bytes
  • Size of remote file: 199 kB
outputs/frames/cup_box.png ADDED

Git LFS Details

  • SHA256: 6e8e882a9154bab30452f990ba7df23c26d87ca893d957bf42c97d970eb0d7bf
  • Pointer size: 131 Bytes
  • Size of remote file: 195 kB
outputs/frames/cupboard_store.png ADDED

Git LFS Details

  • SHA256: 3f4cfa1ce1132a48bccf00fec9899497229a9da464f497a28384969b9313bc4d
  • Pointer size: 131 Bytes
  • Size of remote file: 199 kB
outputs/frames/drawer_open.png ADDED

Git LFS Details

  • SHA256: 31228fb7145bec365e9a9b26c71737b8ba815e1ad9183c2ff06a8d4427b34703
  • Pointer size: 131 Bytes
  • Size of remote file: 199 kB
outputs/frames/drawer_store.png ADDED

Git LFS Details

  • SHA256: e7dded9f84bdd1ee6dfec7c9d056e1f2ce8984346192676da8e1e8ff272c27fd
  • Pointer size: 131 Bytes
  • Size of remote file: 201 kB
outputs/frames/eraser_wipe.png ADDED

Git LFS Details

  • SHA256: 5750df4406abcbf331d9b66fd555f05cfd20ff9533b28cab1a63501b72b51309
  • Pointer size: 131 Bytes
  • Size of remote file: 201 kB
outputs/frames/fruit_basket.png ADDED

Git LFS Details

  • SHA256: 0be862fbefc37e553d1bce2e417b949de76a2c1acf1091cdcd20adb417d84361
  • Pointer size: 131 Bytes
  • Size of remote file: 205 kB
outputs/frames/fruit_tray.png ADDED

Git LFS Details

  • SHA256: 83ef0df98d1801a2e5c376254503875dbc411d9baed26e8b55d40848c907eee0
  • Pointer size: 131 Bytes
  • Size of remote file: 200 kB
outputs/frames/grape_box.png ADDED

Git LFS Details

  • SHA256: f700ea7cf6aeaae8c35bbf75c5d1432ac757c4d8615551bb43e35b85c8843e8f
  • Pointer size: 131 Bytes
  • Size of remote file: 197 kB
outputs/frames/handover_basket.png ADDED

Git LFS Details

  • SHA256: c4a4d0d7646d9b2b1161844c444cd0318237bf862cfde6960c8a0e108db8cf55
  • Pointer size: 131 Bytes
  • Size of remote file: 197 kB
outputs/frames/laptop_close.png ADDED

Git LFS Details

  • SHA256: 8fb3f75967fd6ee08814f7358a5bf9dbacbd2b049f3870305fc070d541b972e4
  • Pointer size: 131 Bytes
  • Size of remote file: 196 kB
outputs/frames/lid_food.png ADDED

Git LFS Details

  • SHA256: 46e3a3696b50c1d66c014cc6922d9207c0765900557b3881ce8925bd635f90bb
  • Pointer size: 131 Bytes
  • Size of remote file: 197 kB
outputs/frames/microwave_door.png ADDED

Git LFS Details

  • SHA256: f5fa043be1c819addfe7aa164b2d9b33d7b3ee619bbe28df5549a30493340f73
  • Pointer size: 131 Bytes
  • Size of remote file: 195 kB
outputs/frames/peg_insert.png ADDED

Git LFS Details

  • SHA256: dc8144bf4d1ae9e4775e0808f9371794ff5075e0edc014a620fec66f5884e82d
  • Pointer size: 131 Bytes
  • Size of remote file: 194 kB
outputs/frames/plank_dual_lift.png ADDED

Git LFS Details

  • SHA256: 72288fac74f58727ebc6aeff0bdacdf1fc8984deda6a367e8436178857aac011
  • Pointer size: 131 Bytes
  • Size of remote file: 193 kB
outputs/frames/pot_dual_lift.png ADDED

Git LFS Details

  • SHA256: fd80f012bf0c19487c50b50c255a53ac38b16ace5d90b582e404e1326ec977dc
  • Pointer size: 131 Bytes
  • Size of remote file: 202 kB
outputs/frames/pour_cup.png ADDED

Git LFS Details

  • SHA256: 019b9ac51fc31332a0742a737fb3ed733e66cc0b74c2130878f100683c9eaa5b
  • Pointer size: 131 Bytes
  • Size of remote file: 195 kB
outputs/frames/pour_kettle.png ADDED

Git LFS Details

  • SHA256: 4e1b41db4ac772ea2f2bae57cf86e351c06dc50af4d1d9a2d8dc4fd3c79f23fd
  • Pointer size: 131 Bytes
  • Size of remote file: 195 kB
outputs/frames/push_block.png ADDED

Git LFS Details

  • SHA256: 1d84b5d3ade3b8a447f2d0fa7967e8a088c505ee859b92cda3b28610c90342d6
  • Pointer size: 131 Bytes
  • Size of remote file: 194 kB
outputs/frames/push_relay.png ADDED

Git LFS Details

  • SHA256: 4be993ad56b4ef1c10d3fc15388aa618c078b84dc747e01626311bcf0351e06f
  • Pointer size: 131 Bytes
  • Size of remote file: 194 kB
outputs/frames/ring_post.png ADDED

Git LFS Details

  • SHA256: d710b42b9a080b27f3b267611358387700beff5d49f2a11dfb7d280de411772d
  • Pointer size: 131 Bytes
  • Size of remote file: 193 kB
outputs/frames/rope_straighten.png ADDED

Git LFS Details

  • SHA256: 6d003c3bcbb8afd1b6b66f80f4d89abe57e76be0ad935f7b5ef20ff37d4b5b0b
  • Pointer size: 131 Bytes
  • Size of remote file: 192 kB
outputs/frames/sort_cubes.png ADDED

Git LFS Details

  • SHA256: 59be1dcc724b9293dff66f785f621bc3cd5cc996fe24420b2d9e962ebe136fa4
  • Pointer size: 131 Bytes
  • Size of remote file: 194 kB
outputs/frames/stack_blocks.png ADDED

Git LFS Details

  • SHA256: 0ffd9744151992863968d8bf51f981bab74ecf06c02267b2e946b9728dc36b52
  • Pointer size: 131 Bytes
  • Size of remote file: 194 kB
outputs/frames/stack_cups.png ADDED

Git LFS Details

  • SHA256: 383ec084db02bc4e4bb5dd962d07a60894c7253e59a82e36ab9ef4caad1ac718
  • Pointer size: 131 Bytes
  • Size of remote file: 201 kB
outputs/frames/sweep_debris.png ADDED

Git LFS Details

  • SHA256: 168a4a1da49e5925e38477c58ff6f4eb998d18f1fa699758fe47e35efe3b90e5
  • Pointer size: 131 Bytes
  • Size of remote file: 200 kB
outputs/frames/switch_toggle.png ADDED

Git LFS Details

  • SHA256: d6f590489887468f12210020d58845f43c3a2e5939e93b274b0659ecd645bcf5
  • Pointer size: 131 Bytes
  • Size of remote file: 198 kB
outputs/frames/weigh_fruit.png ADDED

Git LFS Details

  • SHA256: 49e2ef150bdf8696e23614e1f26d084e6bf3a2a4ac207387ce61c8a3b993ac42
  • Pointer size: 131 Bytes
  • Size of remote file: 197 kB
outputs/tasks/grape_box.mp4 ADDED
Binary file (30.1 kB). View file
 
outputs/tasks/task10_cup_rack.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:5397cbd3e591c0c1ea12216e0911e355c5425ffe8658917f6fb05d00b899c221
3
+ size 221000
outputs/tasks/task10_mug_rack.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:17e41a55b0d934fe80928c0c8b640b1cbf1f8b0877d2ac59e18db212f828459e
3
+ size 296706
outputs/tasks/task11_food_basket.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:7971db1e3e48f7ff047046c991acca8238513f13661386f49b69c9a2e3f24669
3
+ size 547114
outputs/tasks/task12_handover_basket.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:f6b848bc7ff948529d43cd70c26e529092634771f76c02b2cf122dc08889f9c5
3
+ size 520561
outputs/tasks/task13_push_block.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c02efedcf2a1759caf78c0b98ed77c5c6fafcff60afe70212dc140cbcfe12b27
3
+ size 312224
outputs/tasks/task14_stack_cups.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:429869c2a517eabe725a67e2b52657cbf71ee7dc97be90fa0ca973a5c3c96cf4
3
+ size 456079
outputs/tasks/task15_dualarm_plank.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:c83d97216c2e757124a6df247f89aa93270742cbeb324a0d47a6cbd8de21b054
3
+ size 239374
outputs/tasks/task16_plank_place.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:180a1a21ef8c1157daf72a33e03c7410ba129edb89e03853e22eeceae21f1c78
3
+ size 369891
outputs/tasks/task17_sweep_brush.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:bb7b8e54315b327b8716bc7cf12fcf2ba1e3df67e56f2980ba32b0674fe91d85
3
+ size 388945
outputs/tasks/task18_lid_food.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:1fd512c8e379c804b1f2b3a7346f9cee783f92cf4f7e2fc62b458461572dc4e0
3
+ size 465218
outputs/tasks/task1_rwcup_box.mp4 ADDED
@@ -0,0 +1,3 @@
 
 
 
 
1
+ version https://git-lfs.github.com/spec/v1
2
+ oid sha256:272e8728a3d3336c378537fba5172c1666f6d020ddbc203c19bd957e33d50c5d
3
+ size 254572