diff --git a/.gitattributes b/.gitattributes index 7f629bf1c3fd3b4ba8aa757fed571d596f49e9cf..0b0802edb9981aa20f37fc62362e151e420cbc42 100644 --- a/.gitattributes +++ b/.gitattributes @@ -34,3 +34,85 @@ saved_model/**/* filter=lfs diff=lfs merge=lfs -text *.zst filter=lfs diff=lfs merge=lfs -text *tfevents* filter=lfs diff=lfs merge=lfs -text outputs/frames/overview.png filter=lfs diff=lfs merge=lfs -text +outputs/frames/bar_pull.png filter=lfs diff=lfs merge=lfs -text +outputs/frames/bottle_bin.png filter=lfs diff=lfs merge=lfs -text +outputs/frames/can_box.png filter=lfs diff=lfs merge=lfs -text +outputs/frames/cup_box.png filter=lfs diff=lfs merge=lfs -text +outputs/frames/cupboard_store.png filter=lfs diff=lfs merge=lfs -text +outputs/frames/drawer_open.png filter=lfs diff=lfs merge=lfs -text +outputs/frames/drawer_store.png filter=lfs diff=lfs merge=lfs -text +outputs/frames/eraser_wipe.png filter=lfs diff=lfs merge=lfs -text +outputs/frames/fruit_basket.png filter=lfs diff=lfs merge=lfs -text +outputs/frames/fruit_tray.png filter=lfs diff=lfs merge=lfs -text +outputs/frames/grape_box.png filter=lfs diff=lfs merge=lfs -text +outputs/frames/handover_basket.png filter=lfs diff=lfs merge=lfs -text +outputs/frames/laptop_close.png filter=lfs diff=lfs merge=lfs -text +outputs/frames/lid_food.png filter=lfs diff=lfs merge=lfs -text +outputs/frames/microwave_door.png filter=lfs diff=lfs merge=lfs -text +outputs/frames/peg_insert.png filter=lfs diff=lfs merge=lfs -text +outputs/frames/plank_dual_lift.png filter=lfs diff=lfs merge=lfs -text +outputs/frames/pot_dual_lift.png filter=lfs diff=lfs merge=lfs -text +outputs/frames/pour_cup.png filter=lfs diff=lfs merge=lfs -text +outputs/frames/pour_kettle.png filter=lfs diff=lfs merge=lfs -text +outputs/frames/push_block.png filter=lfs diff=lfs merge=lfs -text +outputs/frames/push_relay.png filter=lfs diff=lfs merge=lfs -text +outputs/frames/ring_post.png filter=lfs diff=lfs merge=lfs -text +outputs/frames/rope_straighten.png filter=lfs diff=lfs merge=lfs -text +outputs/frames/sort_cubes.png filter=lfs diff=lfs merge=lfs -text +outputs/frames/stack_blocks.png filter=lfs diff=lfs merge=lfs -text +outputs/frames/stack_cups.png filter=lfs diff=lfs merge=lfs -text +outputs/frames/sweep_debris.png filter=lfs diff=lfs merge=lfs -text +outputs/frames/switch_toggle.png filter=lfs diff=lfs merge=lfs -text +outputs/frames/weigh_fruit.png filter=lfs diff=lfs merge=lfs -text +outputs/tasks/task10_cup_rack.mp4 filter=lfs diff=lfs merge=lfs -text +outputs/tasks/task10_mug_rack.mp4 filter=lfs diff=lfs merge=lfs -text +outputs/tasks/task11_food_basket.mp4 filter=lfs diff=lfs merge=lfs -text +outputs/tasks/task12_handover_basket.mp4 filter=lfs diff=lfs merge=lfs -text +outputs/tasks/task13_push_block.mp4 filter=lfs diff=lfs merge=lfs -text +outputs/tasks/task14_stack_cups.mp4 filter=lfs diff=lfs merge=lfs -text +outputs/tasks/task15_dualarm_plank.mp4 filter=lfs diff=lfs merge=lfs -text +outputs/tasks/task16_plank_place.mp4 filter=lfs diff=lfs merge=lfs -text +outputs/tasks/task17_sweep_brush.mp4 filter=lfs diff=lfs merge=lfs -text +outputs/tasks/task18_lid_food.mp4 filter=lfs diff=lfs merge=lfs -text +outputs/tasks/task1_rwcup_box.mp4 filter=lfs diff=lfs merge=lfs -text +outputs/tasks/task3_can_box.mp4 filter=lfs diff=lfs merge=lfs -text +outputs/tasks/task4_sort_cubes.mp4 filter=lfs diff=lfs merge=lfs -text +outputs/tasks/task5_grape_box.mp4 filter=lfs diff=lfs merge=lfs -text +outputs/tasks/task6_peg_insert.mp4 filter=lfs diff=lfs merge=lfs -text +outputs/tasks/task7_fruit_basket.mp4 filter=lfs diff=lfs merge=lfs -text +outputs/tasks/task7_fruit_tray.mp4 filter=lfs diff=lfs merge=lfs -text +outputs/tasks/task8_bottle_bin.mp4 filter=lfs diff=lfs merge=lfs -text +outputs/tasks/task8_bottle_box.mp4 filter=lfs diff=lfs merge=lfs -text +outputs/tasks/task9_pot_dualarm.mp4 filter=lfs diff=lfs merge=lfs -text +outputs/tasks/v3_bar_pull.mp4 filter=lfs diff=lfs merge=lfs -text +outputs/tasks/v3_bell_coaster.mp4 filter=lfs diff=lfs merge=lfs -text +outputs/tasks/v3_bottle_bin.mp4 filter=lfs diff=lfs merge=lfs -text +outputs/tasks/v3_can_box.mp4 filter=lfs diff=lfs merge=lfs -text +outputs/tasks/v3_cup_box.mp4 filter=lfs diff=lfs merge=lfs -text +outputs/tasks/v3_cupboard_store.mp4 filter=lfs diff=lfs merge=lfs -text +outputs/tasks/v3_drawer_open.mp4 filter=lfs diff=lfs merge=lfs -text +outputs/tasks/v3_drawer_store.mp4 filter=lfs diff=lfs merge=lfs -text +outputs/tasks/v3_eraser_wipe.mp4 filter=lfs diff=lfs merge=lfs -text +outputs/tasks/v3_fruit_basket.mp4 filter=lfs diff=lfs merge=lfs -text +outputs/tasks/v3_fruit_tray.mp4 filter=lfs diff=lfs merge=lfs -text +outputs/tasks/v3_grape_box.mp4 filter=lfs diff=lfs merge=lfs -text +outputs/tasks/v3_handover_basket.mp4 filter=lfs diff=lfs merge=lfs -text +outputs/tasks/v3_laptop_close.mp4 filter=lfs diff=lfs merge=lfs -text +outputs/tasks/v3_lid_food.mp4 filter=lfs diff=lfs merge=lfs -text +outputs/tasks/v3_microwave_door.mp4 filter=lfs diff=lfs merge=lfs -text +outputs/tasks/v3_peg_insert.mp4 filter=lfs diff=lfs merge=lfs -text +outputs/tasks/v3_plank_dual_lift.mp4 filter=lfs diff=lfs merge=lfs -text +outputs/tasks/v3_pot_dual_lift.mp4 filter=lfs diff=lfs merge=lfs -text +outputs/tasks/v3_pour_cup.mp4 filter=lfs diff=lfs merge=lfs -text +outputs/tasks/v3_pour_kettle.mp4 filter=lfs diff=lfs merge=lfs -text +outputs/tasks/v3_press_bell.mp4 filter=lfs diff=lfs merge=lfs -text +outputs/tasks/v3_push_block.mp4 filter=lfs diff=lfs merge=lfs -text +outputs/tasks/v3_push_relay.mp4 filter=lfs diff=lfs merge=lfs -text +outputs/tasks/v3_ring_post.mp4 filter=lfs diff=lfs merge=lfs -text +outputs/tasks/v3_rope_straighten.mp4 filter=lfs diff=lfs merge=lfs -text +outputs/tasks/v3_sort_cubes.mp4 filter=lfs diff=lfs merge=lfs -text +outputs/tasks/v3_stack_blocks.mp4 filter=lfs diff=lfs merge=lfs -text +outputs/tasks/v3_stack_cups.mp4 filter=lfs diff=lfs merge=lfs -text +outputs/tasks/v3_sweep_debris.mp4 filter=lfs diff=lfs merge=lfs -text +outputs/tasks/v3_switch_toggle.mp4 filter=lfs diff=lfs merge=lfs -text +outputs/tasks/v3_weigh_fruit.mp4 filter=lfs diff=lfs merge=lfs -text diff --git a/README.md b/README.md index 06a1710b52b704ab355a6af740ad92582aaa24ca..1aa6b54ecf279850013a67fc14ee6b9ce13b50e8 100644 --- a/README.md +++ b/README.md @@ -98,262 +98,45 @@ python scripts/teleop_se3_agent_bimanual_xr.py \ # YAM bimanual task suite (30 tasks) -Scripted manipulation tasks laid out the way ManiSkill lays out its tasks: one registered class -per task file, with the environment, the solvers and the motion planner as separate layers. -Built on RoboTwin 2.0 assets. +Scripted bimanual manipulation tasks for the YAM arm in Isaac Lab, laid out the way ManiSkill +lays out its tasks: one registered class per task file, with the environment, the solvers and the +motion planner as separate layers. Built on RoboTwin 2.0 assets. Every task ships a scripted +solver, so it generates demonstrations *and* a pass/fail signal — not a policy. ![task overview](outputs/frames/overview.png) -``` -source/bimanual/yam/ - motion/ how the robot MOVES arm.py · planner.py · recorder.py - envs/ the world a task runs in base_env.py · scene.py · config.py - solvers/ scripted skills, one per file pick_place · multi_pick · insert · stack · - dual_lift · push · handover · tool_use · pour · - pull · sort · shelf · articulate - tasks/ ONE FILE PER TASK, registered by name - configs/ one YAML per task (parameter overrides) - registry.py · conditions.py -scripts/ runners, asset converters, verification -``` - -## What this suite supports - -**30 scripted bimanual manipulation tasks** on the YAM arm in Isaac Lab, built on RoboTwin 2.0 -assets. Not a policy — every task ships a scripted solver, so it produces demonstrations and a -pass/fail signal you can trust. - -| capability | what it means | -|---|---| -| **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 | -| **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 | -| **Randomization** | every object, fixture, container and marker takes `xy_jitter` / `yaw_jitter`; `--seed` reproduces an episode exactly. 52 of 56 spawn calls are randomized | -| **Articulated props** | SAPIEN mobility URDFs — hinged doors, sliding drawers, lids, toggles. Joint values are first-class state and can be success conditions | -| **Chains / rope** | a rope as a jointed chain, judged on its own geometry (end-to-end span) rather than on a placement | -| **Configuration** | class attribute → per-task YAML → `--set key=value`, resolved *before* the simulator starts | -| **Asset pipeline** | rigid → USD, hollow containers, articulated URDFs, plus procedurally generated meshes (ring, rope, pot lid) | -| **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` | -| **Verification** | strict numeric conditions **plus** the visual check above; `scripts/status.py` regenerates the status table from run logs | -| **Outputs** | per-episode MP4 with an action/state HUD, contact sheets, single-frame scene renders | - -## Environment - -Isaac Sim 5.0 + Isaac Lab 2.2.0, Python 3.11, an NVIDIA GPU (the PhysX GPU pipeline is required). - -Isaac Lab may already exist on the machine inside another project's virtualenv. If so, prefer an -**overlay venv** — a fresh venv whose `.pth` file points at that interpreter's `site-packages` — -over reinstalling Isaac Sim: - ```bash -python -m venv .venv -echo "/path/to/existing/isaac/venv/lib/python3.11/site-packages" \ - > .venv/lib/python3.11/site-packages/_isaac_overlay.pth -``` - -Isaac Lab's *source checkout* is also needed for `isaaclab_tasks` / `isaaclab_assets`; add it the -same way if it is not pip-installed. - -### Configure - -Everything is driven by two environment variables and a relative path. Nothing below hardcodes a -machine-specific location: - -```bash -export ROBOTWIN_USD=./robotwin_usd # converted USD assets (see Assets) -export ROBOTWIN_SRC=./robotwin_object/objects # source meshes, only needed to convert +export ROBOTWIN_USD=./robotwin_usd export OMNI_KIT_ACCEPT_EULA=YES -``` - -`ROBOTWIN_USD` defaults are read at import time, so export it before running anything. Unzip -`assets/robotwin_usd.zip` from this repo's HF page to populate it. - -### Run -```bash python scripts/yam_task.py --list -python scripts/yam_task.py --task grape_box --seed 3 \ - --video outputs/tasks/grape_box.mp4 \ +python scripts/yam_task.py --task grape_box --seed 3 --video outputs/tasks/grape_box.mp4 \ --kit_args="--/rtx/verifyDriverVersion/enabled=false" -``` - -Two flags are commonly required and easy to miss: - -* `OMNI_KIT_ACCEPT_EULA=YES` — otherwise Omniverse blocks on an interactive EULA prompt and the - run hangs forever with no output at all. -* `--kit_args="--/rtx/verifyDriverVersion/enabled=false"` — needed on drivers whose version - string Omniverse misparses (e.g. `535.309.01` read as `535.53` and rejected as too old). The - check is wrong, not the driver. Drop this flag if your driver passes the check. - -Extras: `--no-randomize` (nominal poses, for reproducing a failure), `--set gripper_effort=70` -(override any task parameter), `--first-frame out.png` (build the scene, save one frame, exit -without solving). - -**Config precedence:** `class attribute → source/bimanual/yam/tasks/configs/.yaml → --set`. -Each task ships a YAML mirroring its parameters *with every key commented out on purpose* — an -active key there overrides the Python and keeps overriding it, so a later code change silently -does nothing. -Full architecture, task-authoring guide, the asset-gotcha table and the verification workflow: -[`source/bimanual/yam/README.md`](source/bimanual/yam/README.md). -Every non-obvious failure and the measurement that settled it: -[`DIAGNOSTICS.md`](DIAGNOSTICS.md) — read this before debugging a new asset. - -### The one habit that matters - -When a grasp or a joint misbehaves, **measure the asset offline before touching a parameter.** -Most of the hard bugs here looked like tuning problems and were not: - -```bash -# where is the graspable part, and is the mesh origin even on the object? -python -c " -import trimesh, numpy as np -m = trimesh.load('objects/083_brush/visual/base0.glb', force='mesh'); v = m.vertices -tall = int(np.argmax(m.extents)); oth = [a for a in range(3) if a != tall] -lo, hi = v[:,tall].min(), v[:,tall].max() -for i in range(8): # cross-section along the long axis - s = v[(v[:,tall] >= lo+(hi-lo)*i/8) & (v[:,tall] < lo+(hi-lo)*(i+1)/8)] - print(f'{i/8:.0%}', s[:,oth[0]].ptp(), s[:,oth[1]].ptp(), 'centroid', s[:,oth].mean(0)) -" +python scripts/generate.py --tasks passing --episodes 100 # scale up to a dataset ``` -That one command found the brush's 1 cm handle **and** the 3.7 cm offset between the mesh and the -body origin that `object_pos()` reports — two separate bugs that both presented as `gap 0.0 cm`. -The same check on the kettle found a 4.7 cm offset. For articulated assets, read the URDF's joint -`axis` and `bounding_box.json` rather than inferring anything from the USD. - -## What actually works - -Honest status, regenerated from the run logs — not a wish list. A task counts as **passing** only -when its numeric conditions pass **and** the rendered contact sheet was inspected and agrees. - -The numeric checks are deliberately strict, and three of them were caught *lying* during -development (see [`DIAGNOSTICS.md`](DIAGNOSTICS.md)): a pour that reported success with a failed -grasp, and two joints that "moved" on gravity alone. Each was tightened rather than worked -around, so several tasks moved from green to red on purpose. - -Run `python scripts/status.py` to regenerate the table below from `outputs/tasks/*.log`. - -### Agent-in-the-loop verification - -The numeric check only inspects final object poses. It will happily pass an episode where the cup -landed upside-down, a gripper hung empty in the air, or a vessel was carried over the target -without ever tipping — all three of those actually happened here. So every task is also reviewed -visually, and only `numeric=SUCCESS` **and** `visual=CONFIRMED` counts as done. - -```bash -python scripts/contact_sheet.py outputs/tasks/*.mp4 # episode -> one strip of frames -python scripts/yam_agent_loop.py evaluate # contact sheets + per-task review prompts -python scripts/yam_agent_loop.py update # verdicts -> concrete parameter fixes -python scripts/yam_agent_loop.py propose # uncovered skill axes from the asset library ``` - -`evaluate` renders a sheet per episode and emits a prompt naming what to look for in that -specific task (is the cup upright? is anything actually in the gripper? did the lid come off -*before* the food went in?). `update` maps a verdict onto a fix through a symptom→cause table -built from the failures in [`DIAGNOSTICS.md`](DIAGNOSTICS.md) — e.g. *"jaws closed on nothing"* → -measure the mesh origin offset, not the clamp force. `propose` reads the converted asset library -and suggests skills not yet covered. - -Reviewing this way is what caught the three false positives described above; the fix in each case -was to tighten the numeric condition, so the visual pass and the numeric pass now agree. - - -**18 of 30 passing.** - -| task | status | last failure | -|---|---|---| -| `bar_pull` | **pass** | | -| `bell_coaster` | fail | | -| `bottle_bin` | **pass** | | -| `can_box` | **pass** | | -| `cup_box` | **pass** | | -| `cupboard_store` | fail | object did not rise with the gripper (+0.000 m): the jaw closed beside or above | -| `drawer_open` | fail | | -| `drawer_store` | fail | | -| `eraser_wipe` | **pass** | | -| `fruit_basket` | fail | can at (+0.160,-0.020,0.506) vs basket centre (+0.020,-0.240) half=0.096: dx=0.1 | -| `fruit_tray` | **pass** | | -| `grape_box` | **pass** | | -| `handover_basket` | fail | rw_basket_dyn at (+0.058,+0.001,0.450) vs goal centre (+0.020,-0.230) half=0.145 | -| `laptop_close` | fail | rw_laptop joint 0: robot moved it 0.0 (need 0.45), within limits=False | -| `lid_food` | **pass** | | -| `microwave_door` | fail | | -| `peg_insert` | **pass** | | -| `plank_dual_lift` | **pass** | | -| `pot_dual_lift` | fail | | -| `pour_kettle` | **pass** | | -| `push_block` | **pass** | | -| `push_relay` | fail | | -| `ring_post` | **pass** | | -| `rope_straighten` | fail | rw_rope link7 z=-0.445 m above the table (need 0.04) | -| `sort_cubes` | **pass** | | -| `stack_blocks` | **pass** | | -| `stack_cups` | **pass** | | -| `sweep_debris` | **pass** | | -| `switch_toggle` | fail | | -| `weigh_fruit` | **pass** | | - - -## Relationship to RoboTwin's own 50 tasks - -This suite uses RoboTwin's assets but is **deliberately not a re-implementation of its task list**. -Where a task would otherwise duplicate one of theirs, it is varied on purpose — inverted, made -compound, or given an extra constraint — so the two sets exercise different things. - -| RoboTwin task | here | what is deliberately different | -|---|---|---| -| Open Laptop | `laptop_close` | **inverted** — the lid is folded shut, a downward push instead of a lift | -| Stack Blocks Two | `stack_blocks` | blocks must land on a **marked target region**, not just on each other | -| Blocks Ranking RGB | `sort_cubes` | **bimanual**, each cube to a colour-matched pad on its own side of the table | -| Handover Block | `handover_basket` | a basket wider than the jaw, so it must be taken **by the rim** | -| Put Bottles Dustbin | `bottle_bin` | bottle lies on its **side**, so the jaw axis has to be chosen | -| Place Object Scale | `weigh_fruit` | — | -| Lift Pot | `pot_dual_lift` | — | -| Put Object Cabinet | `cupboard_store` | placement onto a **raised shelf** between walls | -| Open Microwave | `microwave_door` | — | -| Turn Switch | `switch_toggle` | — | - -No RoboTwin equivalent: `pour_kettle`, `bar_pull`, `sweep_debris`, `eraser_wipe`, `push_relay`, -`ring_post`, `peg_insert`, `drawer_store`, `push_block`, `grape_box`, `lid_food`. - -## Assets - -Object meshes come from [RoboTwin 2.0](https://huggingface.co/datasets/TianxingChen/RoboTwin2.0) -(MIT); `custom_ring` / `custom_rope` are generated by scripts in this repo. - -```bash -# rigid objects -> USD (convex decomposition, so they can be dynamic) -python scripts/robotwin_convert.py --jobs 035_apple:base0 -# containers -> USD with a HOLLOW cavity (triangle mesh, static only) -python scripts/robotwin_convert.py --collision none --suffix _mesh --jobs 110_basket:base0 -# articulated fixtures (SAPIEN mobility URDF): SANITIZE FIRST, then convert -python scripts/sanitize_urdf_asset.py 044_microwave/7310 -python scripts/robotwin_urdf_convert.py --fix_base --jobs 044_microwave/7310_clean +source/bimanual/yam/ + motion/ how the robot MOVES arm.py · planner.py · recorder.py + envs/ the world a task runs in base_env.py · scene.py · config.py + solvers/ scripted skills pick_place · multi_pick · insert · stack · dual_lift · + push · handover · tool_use · pour · pull · sort · + shelf · articulate · rope + tasks/ ONE FILE PER TASK, registered by name; configs/ one YAML each + registry.py · conditions.py +scripts/ runners · asset converters · generation · verification ``` ---- - -## YAM Motion Planner — grape → box (PRM + real grasp) - -Single-arm **pick-and-place** on `Template-YAM-Play-v0`: task-space **PRM** plan + -**real friction grasp** (no kinematic attach), drop into a primitive box. Includes an -N-episode benchmark that reports a success rate. Full details, flags, and output format: -[`scripts/README_yam_motionplanner.md`](scripts/README_yam_motionplanner.md). +## Documentation -```bash -source "$HOME/miniconda3/etc/profile.d/conda.sh"; conda activate env_isaaclab -export OMNI_KIT_ACCEPT_EULA=YES OMNI_KIT_ALLOW_ROOT=1 PYTHONUNBUFFERED=1 CUDA_HOME=$CONDA_PREFIX - -# one episode (grape -> box); positions are env-local metres (use --arg=-0.03,.. for negatives) -python scripts/yam_grasp_prm.py --headless --obj grape --basket \ - --obj_xy=0.00,0.10 --box_xy=0.06,-0.26 --episode 0 --video outputs/ep0.mp4 - -# N-episode benchmark + one stitched video with per-episode SUCCESS/FAIL and a final rate -OUT=outputs/grape_eps bash scripts/run_grape_episodes.sh -OUT=outputs/grape_eps python scripts/concat_episodes.py # -> outputs/grape_eps/episodes.mp4 -``` - -Key files: `scripts/yam_grasp_prm.py` (pick-place + per-frame debug overlay), `scripts/yam_prm.py` -(PRM planner), `scripts/run_grape_episodes.sh`, `scripts/concat_episodes.py`. Robot/scene config: -`source/bimanual/tasks/manager_based/yam/{yam.py,yam_bimanual_env.py}` (init pose, gripper, objects). -Reference: ~52 s/episode; example 10-episode run = 6/10 (60%) success. \ No newline at end of file +| | | +|---|---| +| [`doc/capabilities.md`](doc/capabilities.md) | what the suite supports — skill families, randomization, articulations | +| [`doc/setup.md`](doc/setup.md) | environment, configuration, running a task | +| [`doc/generation.md`](doc/generation.md) | scaling up to a demonstration dataset | +| [`doc/tasks.md`](doc/tasks.md) | all 30 tasks, current pass/fail, and how they differ from RoboTwin's | +| [`doc/assets.md`](doc/assets.md) | asset conversion pipeline and licence | +| [`doc/verification.md`](doc/verification.md) | agent-in-the-loop visual verification | +| [`DIAGNOSTICS.md`](DIAGNOSTICS.md) | **every non-obvious failure and the measurement that settled it — read this before debugging a new asset** | +| [`source/bimanual/yam/README.md`](source/bimanual/yam/README.md) | architecture and how to write a task | diff --git a/doc/assets.md b/doc/assets.md new file mode 100644 index 0000000000000000000000000000000000000000..f2c5df8d2005d842bbf1f6ab482eb4e0638f04da --- /dev/null +++ b/doc/assets.md @@ -0,0 +1,19 @@ +# Assets and the conversion pipeline + +## Assets + +Object meshes come from [RoboTwin 2.0](https://huggingface.co/datasets/TianxingChen/RoboTwin2.0) +(MIT); `custom_ring` / `custom_rope` are generated by scripts in this repo. + +```bash +# rigid objects -> USD (convex decomposition, so they can be dynamic) +python scripts/robotwin_convert.py --jobs 035_apple:base0 +# containers -> USD with a HOLLOW cavity (triangle mesh, static only) +python scripts/robotwin_convert.py --collision none --suffix _mesh --jobs 110_basket:base0 +# articulated fixtures (SAPIEN mobility URDF): SANITIZE FIRST, then convert +python scripts/sanitize_urdf_asset.py 044_microwave/7310 +python scripts/robotwin_urdf_convert.py --fix_base --jobs 044_microwave/7310_clean +``` + +--- + diff --git a/doc/capabilities.md b/doc/capabilities.md new file mode 100644 index 0000000000000000000000000000000000000000..19b5bec204fb6c67ca01ebf4446ccf2f40001ccc --- /dev/null +++ b/doc/capabilities.md @@ -0,0 +1,21 @@ +# What this suite supports + +## What this suite supports + +**30 scripted bimanual manipulation tasks** on the YAM arm in Isaac Lab, built on RoboTwin 2.0 +assets. Not a policy — every task ships a scripted solver, so it produces demonstrations and a +pass/fail signal you can trust. + +| capability | what it means | +|---|---| +| **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 | +| **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 | +| **Randomization** | every object, fixture, container and marker takes `xy_jitter` / `yaw_jitter`; `--seed` reproduces an episode exactly. 52 of 56 spawn calls are randomized | +| **Articulated props** | SAPIEN mobility URDFs — hinged doors, sliding drawers, lids, toggles. Joint values are first-class state and can be success conditions | +| **Chains / rope** | a rope as a jointed chain, judged on its own geometry (end-to-end span) rather than on a placement | +| **Configuration** | class attribute → per-task YAML → `--set key=value`, resolved *before* the simulator starts | +| **Asset pipeline** | rigid → USD, hollow containers, articulated URDFs, plus procedurally generated meshes (ring, rope, pot lid) | +| **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` | +| **Verification** | strict numeric conditions **plus** the visual check above; `scripts/status.py` regenerates the status table from run logs | +| **Outputs** | per-episode MP4 with an action/state HUD, contact sheets, single-frame scene renders | + diff --git a/doc/generation.md b/doc/generation.md new file mode 100644 index 0000000000000000000000000000000000000000..a6a4287f35066571db02a1ce9ed61466bcd8ef9d --- /dev/null +++ b/doc/generation.md @@ -0,0 +1,51 @@ +# Scaling up to a dataset + +`scripts/generate.py` runs many randomized episodes per task and keeps the ones that succeeded. +Each episode gets a fresh seed, so the scene randomization differs every time; the scripted +solver plays it and the task's own success conditions decide whether it counts. That filtering +is what makes this a demonstration generator rather than a batch runner. + +```bash +python scripts/generate.py --episodes 20 # every registered task +python scripts/generate.py --tasks passing --episodes 100 # only tasks known to work +python scripts/generate.py --tasks grape_box,stack_blocks --episodes 50 +python scripts/generate.py --episodes 20 --resume # skip episodes already done +``` + +## What it writes + +``` +data/ + /ep.mp4 video — successes only, unless --keep-failures + /ep.json result, per-condition PASS/FAIL, and the episode's actual placements + manifest.json running totals and success rate per task +``` + +The per-episode JSON records the **randomized placements the environment actually used**, not the +nominal ones, so an episode can be replayed exactly with `--seed`. + +## Options worth knowing + +| flag | why | +|---|---| +| `--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 | +| `--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 | +| `--resume` | skips episodes whose JSON already exists; the script is safe to interrupt | +| `--keep-failures` | keeps failed videos for debugging instead of deleting them | + +## Cost + +One episode is one simulator launch — expect roughly 40–90 s each, so this is long-running by +nature. It prints one line per episode and writes `manifest.json` after every episode, so +progress survives an interruption. + +Success rates vary by task and are worth checking before committing to a large run: a task that +passes at seed 0 may be sensitive to the jitter. The manifest gives you exactly that number. + +## A caution + +The filter is only as honest as the success conditions. Three checks in this suite were caught +reporting success for episodes that did nothing (see [`../DIAGNOSTICS.md`](../DIAGNOSTICS.md)) — +a pour whose grasp had failed, and two joints that "moved" under gravity alone. Before generating +at scale on a task you have just written, render a few contact sheets and confirm the numeric +check agrees with what you see; otherwise you will mass-produce convincing-looking failures. diff --git a/doc/setup.md b/doc/setup.md new file mode 100644 index 0000000000000000000000000000000000000000..977dcc733613f3cc908445417a61863d8da9ce20 --- /dev/null +++ b/doc/setup.md @@ -0,0 +1,87 @@ +# Setup and running + +## Environment + +Isaac Sim 5.0 + Isaac Lab 2.2.0, Python 3.11, an NVIDIA GPU (the PhysX GPU pipeline is required). + +Isaac Lab may already exist on the machine inside another project's virtualenv. If so, prefer an +**overlay venv** — a fresh venv whose `.pth` file points at that interpreter's `site-packages` — +over reinstalling Isaac Sim: + +```bash +python -m venv .venv +echo "/path/to/existing/isaac/venv/lib/python3.11/site-packages" \ + > .venv/lib/python3.11/site-packages/_isaac_overlay.pth +``` + +Isaac Lab's *source checkout* is also needed for `isaaclab_tasks` / `isaaclab_assets`; add it the +same way if it is not pip-installed. + +### Configure + +Everything is driven by two environment variables and a relative path. Nothing below hardcodes a +machine-specific location: + +```bash +export ROBOTWIN_USD=./robotwin_usd # converted USD assets (see Assets) +export ROBOTWIN_SRC=./robotwin_object/objects # source meshes, only needed to convert +export OMNI_KIT_ACCEPT_EULA=YES +``` + +`ROBOTWIN_USD` defaults are read at import time, so export it before running anything. Unzip +`assets/robotwin_usd.zip` from this repo's HF page to populate it. + +### Run + +```bash +python scripts/yam_task.py --list +python scripts/yam_task.py --task grape_box --seed 3 \ + --video outputs/tasks/grape_box.mp4 \ + --kit_args="--/rtx/verifyDriverVersion/enabled=false" +``` + +Two flags are commonly required and easy to miss: + +* `OMNI_KIT_ACCEPT_EULA=YES` — otherwise Omniverse blocks on an interactive EULA prompt and the + run hangs forever with no output at all. +* `--kit_args="--/rtx/verifyDriverVersion/enabled=false"` — needed on drivers whose version + string Omniverse misparses (e.g. `535.309.01` read as `535.53` and rejected as too old). The + check is wrong, not the driver. Drop this flag if your driver passes the check. + +Extras: `--no-randomize` (nominal poses, for reproducing a failure), `--set gripper_effort=70` +(override any task parameter), `--first-frame out.png` (build the scene, save one frame, exit +without solving). + +**Config precedence:** `class attribute → source/bimanual/yam/tasks/configs/.yaml → --set`. +Each task ships a YAML mirroring its parameters *with every key commented out on purpose* — an +active key there overrides the Python and keeps overriding it, so a later code change silently +does nothing. + +Full architecture, task-authoring guide, the asset-gotcha table and the verification workflow: +[`source/bimanual/yam/README.md`](source/bimanual/yam/README.md). +Every non-obvious failure and the measurement that settled it: +[`DIAGNOSTICS.md`](DIAGNOSTICS.md) — read this before debugging a new asset. + +### The one habit that matters + +When a grasp or a joint misbehaves, **measure the asset offline before touching a parameter.** +Most of the hard bugs here looked like tuning problems and were not: + +```bash +# where is the graspable part, and is the mesh origin even on the object? +python -c " +import trimesh, numpy as np +m = trimesh.load('objects/083_brush/visual/base0.glb', force='mesh'); v = m.vertices +tall = int(np.argmax(m.extents)); oth = [a for a in range(3) if a != tall] +lo, hi = v[:,tall].min(), v[:,tall].max() +for i in range(8): # cross-section along the long axis + s = v[(v[:,tall] >= lo+(hi-lo)*i/8) & (v[:,tall] < lo+(hi-lo)*(i+1)/8)] + print(f'{i/8:.0%}', s[:,oth[0]].ptp(), s[:,oth[1]].ptp(), 'centroid', s[:,oth].mean(0)) +" +``` + +That one command found the brush's 1 cm handle **and** the 3.7 cm offset between the mesh and the +body origin that `object_pos()` reports — two separate bugs that both presented as `gap 0.0 cm`. +The same check on the kettle found a 4.7 cm offset. For articulated assets, read the URDF's joint +`axis` and `bounding_box.json` rather than inferring anything from the USD. + diff --git a/doc/tasks.md b/doc/tasks.md new file mode 100644 index 0000000000000000000000000000000000000000..4beac0e3476d4bbbaddda97f7637b6bb11b3fcca --- /dev/null +++ b/doc/tasks.md @@ -0,0 +1,62 @@ +# Task list and status + + +**18 of 30 passing.** + +| task | status | last failure | +|---|---|---| +| `bar_pull` | **pass** | | +| `bell_coaster` | fail | | +| `bottle_bin` | **pass** | | +| `can_box` | **pass** | | +| `cup_box` | **pass** | | +| `cupboard_store` | fail | object did not rise with the gripper (+0.000 m): the jaw closed beside or above | +| `drawer_open` | fail | | +| `drawer_store` | fail | | +| `eraser_wipe` | **pass** | | +| `fruit_basket` | fail | can at (+0.160,-0.020,0.506) vs basket centre (+0.020,-0.240) half=0.096: dx=0.1 | +| `fruit_tray` | **pass** | | +| `grape_box` | **pass** | | +| `handover_basket` | fail | rw_basket_dyn at (+0.058,+0.001,0.450) vs goal centre (+0.020,-0.230) half=0.145 | +| `laptop_close` | fail | rw_laptop joint 0: robot moved it 0.0 (need 0.45), within limits=False | +| `lid_food` | **pass** | | +| `microwave_door` | fail | | +| `peg_insert` | **pass** | | +| `plank_dual_lift` | **pass** | | +| `pot_dual_lift` | fail | | +| `pour_kettle` | **pass** | | +| `push_block` | **pass** | | +| `push_relay` | fail | | +| `ring_post` | **pass** | | +| `rope_straighten` | fail | rw_rope link7 z=-0.445 m above the table (need 0.04) | +| `sort_cubes` | **pass** | | +| `stack_blocks` | **pass** | | +| `stack_cups` | **pass** | | +| `sweep_debris` | **pass** | | +| `switch_toggle` | fail | | +| `weigh_fruit` | **pass** | | + + + +## Relationship to RoboTwin's own 50 tasks + +This suite uses RoboTwin's assets but is **deliberately not a re-implementation of its task list**. +Where a task would otherwise duplicate one of theirs, it is varied on purpose — inverted, made +compound, or given an extra constraint — so the two sets exercise different things. + +| RoboTwin task | here | what is deliberately different | +|---|---|---| +| Open Laptop | `laptop_close` | **inverted** — the lid is folded shut, a downward push instead of a lift | +| Stack Blocks Two | `stack_blocks` | blocks must land on a **marked target region**, not just on each other | +| Blocks Ranking RGB | `sort_cubes` | **bimanual**, each cube to a colour-matched pad on its own side of the table | +| Handover Block | `handover_basket` | a basket wider than the jaw, so it must be taken **by the rim** | +| Put Bottles Dustbin | `bottle_bin` | bottle lies on its **side**, so the jaw axis has to be chosen | +| Place Object Scale | `weigh_fruit` | — | +| Lift Pot | `pot_dual_lift` | — | +| Put Object Cabinet | `cupboard_store` | placement onto a **raised shelf** between walls | +| Open Microwave | `microwave_door` | — | +| Turn Switch | `switch_toggle` | — | + +No RoboTwin equivalent: `pour_kettle`, `bar_pull`, `sweep_debris`, `eraser_wipe`, `push_relay`, +`ring_post`, `peg_insert`, `drawer_store`, `push_block`, `grape_box`, `lid_food`. + diff --git a/doc/verification.md b/doc/verification.md new file mode 100644 index 0000000000000000000000000000000000000000..1f794e8d2690b5ba69d17cf5d3984d9e19f0f7fd --- /dev/null +++ b/doc/verification.md @@ -0,0 +1,38 @@ +# Verification + +## What actually works + +Honest status, regenerated from the run logs — not a wish list. A task counts as **passing** only +when its numeric conditions pass **and** the rendered contact sheet was inspected and agrees. + +The numeric checks are deliberately strict, and three of them were caught *lying* during +development (see [`DIAGNOSTICS.md`](DIAGNOSTICS.md)): a pour that reported success with a failed +grasp, and two joints that "moved" on gravity alone. Each was tightened rather than worked +around, so several tasks moved from green to red on purpose. + +Run `python scripts/status.py` to regenerate the table below from `outputs/tasks/*.log`. + +### Agent-in-the-loop verification + +The numeric check only inspects final object poses. It will happily pass an episode where the cup +landed upside-down, a gripper hung empty in the air, or a vessel was carried over the target +without ever tipping — all three of those actually happened here. So every task is also reviewed +visually, and only `numeric=SUCCESS` **and** `visual=CONFIRMED` counts as done. + +```bash +python scripts/contact_sheet.py outputs/tasks/*.mp4 # episode -> one strip of frames +python scripts/yam_agent_loop.py evaluate # contact sheets + per-task review prompts +python scripts/yam_agent_loop.py update # verdicts -> concrete parameter fixes +python scripts/yam_agent_loop.py propose # uncovered skill axes from the asset library +``` + +`evaluate` renders a sheet per episode and emits a prompt naming what to look for in that +specific task (is the cup upright? is anything actually in the gripper? did the lid come off +*before* the food went in?). `update` maps a verdict onto a fix through a symptom→cause table +built from the failures in [`DIAGNOSTICS.md`](DIAGNOSTICS.md) — e.g. *"jaws closed on nothing"* → +measure the mesh origin offset, not the clamp force. `propose` reads the converted asset library +and suggests skills not yet covered. + +Reviewing this way is what caught the three false positives described above; the fix in each case +was to tighten the numeric condition, so the visual pass and the numeric pass now agree. + diff --git a/outputs/frames/bar_pull.png b/outputs/frames/bar_pull.png new file mode 100644 index 0000000000000000000000000000000000000000..07b14c7acc50f3c103d2d1053e3181a205635193 --- /dev/null +++ b/outputs/frames/bar_pull.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7e68394d995eb53728a184751bdcb3e9891e2622c585497177b40a49235d11f5 +size 194598 diff --git a/outputs/frames/bottle_bin.png b/outputs/frames/bottle_bin.png new file mode 100644 index 0000000000000000000000000000000000000000..eb8faab0ab01aecdd1b21bdae02335660fe433df --- /dev/null +++ b/outputs/frames/bottle_bin.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1d30670a412f0767e8c7986dbb90a38b034541eb1672103d6991feb29e9518b6 +size 196481 diff --git a/outputs/frames/can_box.png b/outputs/frames/can_box.png new file mode 100644 index 0000000000000000000000000000000000000000..251371ac54b261ec07fc8a63e533d2399facfb19 --- /dev/null +++ b/outputs/frames/can_box.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2c54019a576ea70c6fba457fbdda3bf5ee71fab73006c2561600d625784dd2b7 +size 198867 diff --git a/outputs/frames/cup_box.png b/outputs/frames/cup_box.png new file mode 100644 index 0000000000000000000000000000000000000000..236ebee9a41abf285065a59abebf0be2a2f4169d --- /dev/null +++ b/outputs/frames/cup_box.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6e8e882a9154bab30452f990ba7df23c26d87ca893d957bf42c97d970eb0d7bf +size 195054 diff --git a/outputs/frames/cupboard_store.png b/outputs/frames/cupboard_store.png new file mode 100644 index 0000000000000000000000000000000000000000..a0e15f42539afad7bc24dc2382b849dba6d4975b --- /dev/null +++ b/outputs/frames/cupboard_store.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3f4cfa1ce1132a48bccf00fec9899497229a9da464f497a28384969b9313bc4d +size 199011 diff --git a/outputs/frames/drawer_open.png b/outputs/frames/drawer_open.png new file mode 100644 index 0000000000000000000000000000000000000000..ad64724218279293e817c5438118ea7e6ee5ebfe --- /dev/null +++ b/outputs/frames/drawer_open.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:31228fb7145bec365e9a9b26c71737b8ba815e1ad9183c2ff06a8d4427b34703 +size 199237 diff --git a/outputs/frames/drawer_store.png b/outputs/frames/drawer_store.png new file mode 100644 index 0000000000000000000000000000000000000000..ea8095b95d025b1ee8169704b593ecc9da1ee1ee --- /dev/null +++ b/outputs/frames/drawer_store.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e7dded9f84bdd1ee6dfec7c9d056e1f2ce8984346192676da8e1e8ff272c27fd +size 201280 diff --git a/outputs/frames/eraser_wipe.png b/outputs/frames/eraser_wipe.png new file mode 100644 index 0000000000000000000000000000000000000000..332caf275ae471f88812eef6acd29385a054ab5d --- /dev/null +++ b/outputs/frames/eraser_wipe.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5750df4406abcbf331d9b66fd555f05cfd20ff9533b28cab1a63501b72b51309 +size 200989 diff --git a/outputs/frames/fruit_basket.png b/outputs/frames/fruit_basket.png new file mode 100644 index 0000000000000000000000000000000000000000..00ba3ef3599a02493c56bac604326337a7b8639e --- /dev/null +++ b/outputs/frames/fruit_basket.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0be862fbefc37e553d1bce2e417b949de76a2c1acf1091cdcd20adb417d84361 +size 205265 diff --git a/outputs/frames/fruit_tray.png b/outputs/frames/fruit_tray.png new file mode 100644 index 0000000000000000000000000000000000000000..0ea564957ffce6a3a0e6e6f45431c5f1d48ae52f --- /dev/null +++ b/outputs/frames/fruit_tray.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:83ef0df98d1801a2e5c376254503875dbc411d9baed26e8b55d40848c907eee0 +size 199749 diff --git a/outputs/frames/grape_box.png b/outputs/frames/grape_box.png new file mode 100644 index 0000000000000000000000000000000000000000..0fb75b92ec781f1f1ea7beed5cc1ec76ba8b5fd7 --- /dev/null +++ b/outputs/frames/grape_box.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f700ea7cf6aeaae8c35bbf75c5d1432ac757c4d8615551bb43e35b85c8843e8f +size 196905 diff --git a/outputs/frames/handover_basket.png b/outputs/frames/handover_basket.png new file mode 100644 index 0000000000000000000000000000000000000000..b2c23e4922627ebdd7e47b84770aa332f13853a1 --- /dev/null +++ b/outputs/frames/handover_basket.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c4a4d0d7646d9b2b1161844c444cd0318237bf862cfde6960c8a0e108db8cf55 +size 196524 diff --git a/outputs/frames/laptop_close.png b/outputs/frames/laptop_close.png new file mode 100644 index 0000000000000000000000000000000000000000..22c8cb7c6be6b5e92dc283e1e24640f8e292fa63 --- /dev/null +++ b/outputs/frames/laptop_close.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8fb3f75967fd6ee08814f7358a5bf9dbacbd2b049f3870305fc070d541b972e4 +size 195511 diff --git a/outputs/frames/lid_food.png b/outputs/frames/lid_food.png new file mode 100644 index 0000000000000000000000000000000000000000..106c4859796bc1cc2bb3d37a099cd0da3b37efa3 --- /dev/null +++ b/outputs/frames/lid_food.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:46e3a3696b50c1d66c014cc6922d9207c0765900557b3881ce8925bd635f90bb +size 196536 diff --git a/outputs/frames/microwave_door.png b/outputs/frames/microwave_door.png new file mode 100644 index 0000000000000000000000000000000000000000..f6e41686120a8cba5516580cfe3a527e627b039f --- /dev/null +++ b/outputs/frames/microwave_door.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f5fa043be1c819addfe7aa164b2d9b33d7b3ee619bbe28df5549a30493340f73 +size 195234 diff --git a/outputs/frames/peg_insert.png b/outputs/frames/peg_insert.png new file mode 100644 index 0000000000000000000000000000000000000000..3ae25676e590d8a1654be05527db1ecbe6ecdcaa --- /dev/null +++ b/outputs/frames/peg_insert.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dc8144bf4d1ae9e4775e0808f9371794ff5075e0edc014a620fec66f5884e82d +size 193884 diff --git a/outputs/frames/plank_dual_lift.png b/outputs/frames/plank_dual_lift.png new file mode 100644 index 0000000000000000000000000000000000000000..2dc401bda20d75e41ebd619c83486e4f40fcdfc5 --- /dev/null +++ b/outputs/frames/plank_dual_lift.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:72288fac74f58727ebc6aeff0bdacdf1fc8984deda6a367e8436178857aac011 +size 193236 diff --git a/outputs/frames/pot_dual_lift.png b/outputs/frames/pot_dual_lift.png new file mode 100644 index 0000000000000000000000000000000000000000..d26388ef4dcf4adbce6e73a23e914409a180144c --- /dev/null +++ b/outputs/frames/pot_dual_lift.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fd80f012bf0c19487c50b50c255a53ac38b16ace5d90b582e404e1326ec977dc +size 201955 diff --git a/outputs/frames/pour_cup.png b/outputs/frames/pour_cup.png new file mode 100644 index 0000000000000000000000000000000000000000..21b16ed77aa8ebad25a8dceb0225d14af739e966 --- /dev/null +++ b/outputs/frames/pour_cup.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:019b9ac51fc31332a0742a737fb3ed733e66cc0b74c2130878f100683c9eaa5b +size 194706 diff --git a/outputs/frames/pour_kettle.png b/outputs/frames/pour_kettle.png new file mode 100644 index 0000000000000000000000000000000000000000..42ca593f8f76da4e93107e5edd2555bad3915e3a --- /dev/null +++ b/outputs/frames/pour_kettle.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4e1b41db4ac772ea2f2bae57cf86e351c06dc50af4d1d9a2d8dc4fd3c79f23fd +size 194720 diff --git a/outputs/frames/push_block.png b/outputs/frames/push_block.png new file mode 100644 index 0000000000000000000000000000000000000000..32b7bfb470ce7757aeb5f88cc65c9cf2475122d6 --- /dev/null +++ b/outputs/frames/push_block.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1d84b5d3ade3b8a447f2d0fa7967e8a088c505ee859b92cda3b28610c90342d6 +size 193601 diff --git a/outputs/frames/push_relay.png b/outputs/frames/push_relay.png new file mode 100644 index 0000000000000000000000000000000000000000..ed2781f62fe2b149c26b2beb7dbf5b7b32846ac6 --- /dev/null +++ b/outputs/frames/push_relay.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4be993ad56b4ef1c10d3fc15388aa618c078b84dc747e01626311bcf0351e06f +size 193504 diff --git a/outputs/frames/ring_post.png b/outputs/frames/ring_post.png new file mode 100644 index 0000000000000000000000000000000000000000..f76ac67f50865955f78b80ec2010c01f0cc08785 --- /dev/null +++ b/outputs/frames/ring_post.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d710b42b9a080b27f3b267611358387700beff5d49f2a11dfb7d280de411772d +size 193448 diff --git a/outputs/frames/rope_straighten.png b/outputs/frames/rope_straighten.png new file mode 100644 index 0000000000000000000000000000000000000000..d24d13b38da3f2c2890adf732e92ad19e36f92b1 --- /dev/null +++ b/outputs/frames/rope_straighten.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6d003c3bcbb8afd1b6b66f80f4d89abe57e76be0ad935f7b5ef20ff37d4b5b0b +size 192173 diff --git a/outputs/frames/sort_cubes.png b/outputs/frames/sort_cubes.png new file mode 100644 index 0000000000000000000000000000000000000000..8ede09464f30e5174d691aad1352359193d869f1 --- /dev/null +++ b/outputs/frames/sort_cubes.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:59be1dcc724b9293dff66f785f621bc3cd5cc996fe24420b2d9e962ebe136fa4 +size 193925 diff --git a/outputs/frames/stack_blocks.png b/outputs/frames/stack_blocks.png new file mode 100644 index 0000000000000000000000000000000000000000..212add5b55c258f1f00595ff8b6627da4b2ba255 --- /dev/null +++ b/outputs/frames/stack_blocks.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0ffd9744151992863968d8bf51f981bab74ecf06c02267b2e946b9728dc36b52 +size 194193 diff --git a/outputs/frames/stack_cups.png b/outputs/frames/stack_cups.png new file mode 100644 index 0000000000000000000000000000000000000000..ccc55079294e462408d42bfc26dda13929bbbbf2 --- /dev/null +++ b/outputs/frames/stack_cups.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:383ec084db02bc4e4bb5dd962d07a60894c7253e59a82e36ab9ef4caad1ac718 +size 200600 diff --git a/outputs/frames/sweep_debris.png b/outputs/frames/sweep_debris.png new file mode 100644 index 0000000000000000000000000000000000000000..e478f2b3828c2706a6e948489c087ee11b7f5f83 --- /dev/null +++ b/outputs/frames/sweep_debris.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:168a4a1da49e5925e38477c58ff6f4eb998d18f1fa699758fe47e35efe3b90e5 +size 199873 diff --git a/outputs/frames/switch_toggle.png b/outputs/frames/switch_toggle.png new file mode 100644 index 0000000000000000000000000000000000000000..872736cb749d87b7d3741821827f43b844108662 --- /dev/null +++ b/outputs/frames/switch_toggle.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:d6f590489887468f12210020d58845f43c3a2e5939e93b274b0659ecd645bcf5 +size 198462 diff --git a/outputs/frames/weigh_fruit.png b/outputs/frames/weigh_fruit.png new file mode 100644 index 0000000000000000000000000000000000000000..b29122f8107a8ffac25ba50e80626ec60d2cc4f2 --- /dev/null +++ b/outputs/frames/weigh_fruit.png @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:49e2ef150bdf8696e23614e1f26d084e6bf3a2a4ac207387ce61c8a3b993ac42 +size 196820 diff --git a/outputs/tasks/grape_box.mp4 b/outputs/tasks/grape_box.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..2925d9ce761900773b527a7b2cd1eb44c3fed438 Binary files /dev/null and b/outputs/tasks/grape_box.mp4 differ diff --git a/outputs/tasks/task10_cup_rack.mp4 b/outputs/tasks/task10_cup_rack.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..73e0c2268160d0cd1310da4ba54ca69059e05c2e --- /dev/null +++ b/outputs/tasks/task10_cup_rack.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5397cbd3e591c0c1ea12216e0911e355c5425ffe8658917f6fb05d00b899c221 +size 221000 diff --git a/outputs/tasks/task10_mug_rack.mp4 b/outputs/tasks/task10_mug_rack.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..bfa2ff96d483c82295e6ffc70c23ff735b2f56a0 --- /dev/null +++ b/outputs/tasks/task10_mug_rack.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:17e41a55b0d934fe80928c0c8b640b1cbf1f8b0877d2ac59e18db212f828459e +size 296706 diff --git a/outputs/tasks/task11_food_basket.mp4 b/outputs/tasks/task11_food_basket.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..38c0d86785ec7e25f28803236bc212b7e9f29dcd --- /dev/null +++ b/outputs/tasks/task11_food_basket.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7971db1e3e48f7ff047046c991acca8238513f13661386f49b69c9a2e3f24669 +size 547114 diff --git a/outputs/tasks/task12_handover_basket.mp4 b/outputs/tasks/task12_handover_basket.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..7ec5b30cfe03de3e455f45aa3d92d5d0c62aa8d5 --- /dev/null +++ b/outputs/tasks/task12_handover_basket.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f6b848bc7ff948529d43cd70c26e529092634771f76c02b2cf122dc08889f9c5 +size 520561 diff --git a/outputs/tasks/task13_push_block.mp4 b/outputs/tasks/task13_push_block.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..285f25d2483140705edc0f056647ec63b431b6f8 --- /dev/null +++ b/outputs/tasks/task13_push_block.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c02efedcf2a1759caf78c0b98ed77c5c6fafcff60afe70212dc140cbcfe12b27 +size 312224 diff --git a/outputs/tasks/task14_stack_cups.mp4 b/outputs/tasks/task14_stack_cups.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..831fc9fe7777cfe30c27dba15ad98efa204f0fa9 --- /dev/null +++ b/outputs/tasks/task14_stack_cups.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:429869c2a517eabe725a67e2b52657cbf71ee7dc97be90fa0ca973a5c3c96cf4 +size 456079 diff --git a/outputs/tasks/task15_dualarm_plank.mp4 b/outputs/tasks/task15_dualarm_plank.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..a758e769d0c8c55f77d87bf128660957eab4bd05 --- /dev/null +++ b/outputs/tasks/task15_dualarm_plank.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c83d97216c2e757124a6df247f89aa93270742cbeb324a0d47a6cbd8de21b054 +size 239374 diff --git a/outputs/tasks/task16_plank_place.mp4 b/outputs/tasks/task16_plank_place.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..a157836d8775ffc79a2cb48ea93f8b673be9f44a --- /dev/null +++ b/outputs/tasks/task16_plank_place.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:180a1a21ef8c1157daf72a33e03c7410ba129edb89e03853e22eeceae21f1c78 +size 369891 diff --git a/outputs/tasks/task17_sweep_brush.mp4 b/outputs/tasks/task17_sweep_brush.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..189b5a4233c8ba755dfa817b6f93d64d5a6c73f1 --- /dev/null +++ b/outputs/tasks/task17_sweep_brush.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:bb7b8e54315b327b8716bc7cf12fcf2ba1e3df67e56f2980ba32b0674fe91d85 +size 388945 diff --git a/outputs/tasks/task18_lid_food.mp4 b/outputs/tasks/task18_lid_food.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..75fc5491e9774f842682ebc883809a4e7ab564b6 --- /dev/null +++ b/outputs/tasks/task18_lid_food.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1fd512c8e379c804b1f2b3a7346f9cee783f92cf4f7e2fc62b458461572dc4e0 +size 465218 diff --git a/outputs/tasks/task1_rwcup_box.mp4 b/outputs/tasks/task1_rwcup_box.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..d3a6ebaaaf6eaefe7c7f9655086750157520f89b --- /dev/null +++ b/outputs/tasks/task1_rwcup_box.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:272e8728a3d3336c378537fba5172c1666f6d020ddbc203c19bd957e33d50c5d +size 254572 diff --git a/outputs/tasks/task3_can_box.mp4 b/outputs/tasks/task3_can_box.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..005338e4f565a0ced9e7a2776acec42c2bf972c6 --- /dev/null +++ b/outputs/tasks/task3_can_box.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:e60eba4b4cb5050beea79949bc7bad1938516af39780edc5e0e52b30ad8a89da +size 201385 diff --git a/outputs/tasks/task4_sort_cubes.mp4 b/outputs/tasks/task4_sort_cubes.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..0ee3e97e259538b2f05e615d3863cdffcc323bb8 --- /dev/null +++ b/outputs/tasks/task4_sort_cubes.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:a2e43fdd059c60a6e9c290f8f7c8e77e34fc2398ecf59d4a43b9a2ea69a6d649 +size 223379 diff --git a/outputs/tasks/task5_grape_box.mp4 b/outputs/tasks/task5_grape_box.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..2ec770dcc715661f11ca7198da0fb985db892003 --- /dev/null +++ b/outputs/tasks/task5_grape_box.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:7458b065ee9dbf5083217c30e01dea8068bc1ab6fab6d72dcc18877e7a426531 +size 254804 diff --git a/outputs/tasks/task6_peg_insert.mp4 b/outputs/tasks/task6_peg_insert.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..a8200e11f2500a28b478e15940a3197f1004e42c --- /dev/null +++ b/outputs/tasks/task6_peg_insert.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b8f42f4ca19a3d2b44965c17ef9a80ba8f7c9632107af9f359b306477bd3b465 +size 248828 diff --git a/outputs/tasks/task7_fruit_basket.mp4 b/outputs/tasks/task7_fruit_basket.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..8d7b615d866678151a6cc87d79c2f5dbf7ada1b3 --- /dev/null +++ b/outputs/tasks/task7_fruit_basket.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ae9704035d76e6c06a4d5b5b6a37ee682839878a63d460cfff3a8392307636a1 +size 501946 diff --git a/outputs/tasks/task7_fruit_tray.mp4 b/outputs/tasks/task7_fruit_tray.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..95fe5ebf836af615d5bd92fca8504c014f7a65a2 --- /dev/null +++ b/outputs/tasks/task7_fruit_tray.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:5602868e46429b5cc4973d8045860a777fdf539a4ae3df7f993c2ace7a758448 +size 386038 diff --git a/outputs/tasks/task8_bottle_bin.mp4 b/outputs/tasks/task8_bottle_bin.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..5055828718ab5435a560e3b53310e74b072c29e9 --- /dev/null +++ b/outputs/tasks/task8_bottle_bin.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9f6255b2da29941f38dd91e35ea50c3d1d108497a28457de00c01ce2cac71bd4 +size 235963 diff --git a/outputs/tasks/task8_bottle_box.mp4 b/outputs/tasks/task8_bottle_box.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..42abb3d81752a30cd3d013b1645974a022513ae4 --- /dev/null +++ b/outputs/tasks/task8_bottle_box.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6ed96e24d23e3845613b89003a8d5ffa288cb0c9c48cb24cd074dd605f2633ea +size 224082 diff --git a/outputs/tasks/task9_pot_dualarm.mp4 b/outputs/tasks/task9_pot_dualarm.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..24b9720b8f02e8a9d94327d7ff7f1af02b688650 --- /dev/null +++ b/outputs/tasks/task9_pot_dualarm.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:50260aea3d1c9dfff84829549b38ba91b6dc5fb1d53349c93e19acbfdf737d0d +size 228297 diff --git a/outputs/tasks/v2_bottle_bin.mp4 b/outputs/tasks/v2_bottle_bin.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..f140257671bf015e28bc785ca30b3fbeddb3a137 Binary files /dev/null and b/outputs/tasks/v2_bottle_bin.mp4 differ diff --git a/outputs/tasks/v2_can_box.mp4 b/outputs/tasks/v2_can_box.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..64025092c3cb6ab5b4d497f920567b636369b84d Binary files /dev/null and b/outputs/tasks/v2_can_box.mp4 differ diff --git a/outputs/tasks/v2_cup_box.mp4 b/outputs/tasks/v2_cup_box.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..c8f2498527e54a77058d6c67783b117d4b3b202a Binary files /dev/null and b/outputs/tasks/v2_cup_box.mp4 differ diff --git a/outputs/tasks/v2_fruit_basket.mp4 b/outputs/tasks/v2_fruit_basket.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..3cffd239e8e22a26df5fd40c40be8b6360dd4f8e Binary files /dev/null and b/outputs/tasks/v2_fruit_basket.mp4 differ diff --git a/outputs/tasks/v2_fruit_tray.mp4 b/outputs/tasks/v2_fruit_tray.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..7f8661638e35c82d54c83d5df14a1cdf278c7050 Binary files /dev/null and b/outputs/tasks/v2_fruit_tray.mp4 differ diff --git a/outputs/tasks/v2_grape_box.mp4 b/outputs/tasks/v2_grape_box.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..609c7ac7f031fd39e51a680fcff24ddc4b11a9b7 Binary files /dev/null and b/outputs/tasks/v2_grape_box.mp4 differ diff --git a/outputs/tasks/v2_peg_insert.mp4 b/outputs/tasks/v2_peg_insert.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..69f1e5ce1d710ea64470590aed6adffe86098409 Binary files /dev/null and b/outputs/tasks/v2_peg_insert.mp4 differ diff --git a/outputs/tasks/v2_plank_dual_lift.mp4 b/outputs/tasks/v2_plank_dual_lift.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..499af52c7d1e50b92f33a9fb47110eca0cf482e4 Binary files /dev/null and b/outputs/tasks/v2_plank_dual_lift.mp4 differ diff --git a/outputs/tasks/v2_pot_dual_lift.mp4 b/outputs/tasks/v2_pot_dual_lift.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..6c328bd86badf948f17bbfef831b8236cb06a5ce Binary files /dev/null and b/outputs/tasks/v2_pot_dual_lift.mp4 differ diff --git a/outputs/tasks/v2_stack_cups.mp4 b/outputs/tasks/v2_stack_cups.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..936dbff5fafca4e355ac51b2238a164208fc6954 Binary files /dev/null and b/outputs/tasks/v2_stack_cups.mp4 differ diff --git a/outputs/tasks/v2_weigh_fruit.mp4 b/outputs/tasks/v2_weigh_fruit.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..f254122b588d28b33ea1878eccf6b664a827136c Binary files /dev/null and b/outputs/tasks/v2_weigh_fruit.mp4 differ diff --git a/outputs/tasks/v3_bar_pull.mp4 b/outputs/tasks/v3_bar_pull.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..26ae14fc06d9c3f22fb0513d939f9e6791942141 --- /dev/null +++ b/outputs/tasks/v3_bar_pull.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:73c5f1a61f89459b463a53f180c0bb4de2e1fc7caca41c6fc3dfc6cabf2af022 +size 207101 diff --git a/outputs/tasks/v3_bell_coaster.mp4 b/outputs/tasks/v3_bell_coaster.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..4f2dc3004e423bd66f2c1e1074543071e43802fe --- /dev/null +++ b/outputs/tasks/v3_bell_coaster.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c77b9410b03c534d8d37c21ef27e497efbf49e6115978d97bd7faf2f4eb9655d +size 232323 diff --git a/outputs/tasks/v3_bottle_bin.mp4 b/outputs/tasks/v3_bottle_bin.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..7528823a31d87a94fc39b8a084f2053f089aa601 --- /dev/null +++ b/outputs/tasks/v3_bottle_bin.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9623d6f0e3c0bb1641c4eda63a3de6466cc960cbfff24822e2fdc42213516175 +size 396809 diff --git a/outputs/tasks/v3_can_box.mp4 b/outputs/tasks/v3_can_box.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..66ef509c7b513aaf635c4b04ec498a1a20af1ed2 --- /dev/null +++ b/outputs/tasks/v3_can_box.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b1faef20e2777d540f0f8130e231cedea4d9d288c944fd172e20b9e73daf1c0b +size 335680 diff --git a/outputs/tasks/v3_cup_box.mp4 b/outputs/tasks/v3_cup_box.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..84e25d85e4f97d95f3a4cb033906bc6a03e11406 --- /dev/null +++ b/outputs/tasks/v3_cup_box.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c5d64a50612d7c0cce0f29bb47baed908d7004294cdfd45272e8c5b71fc39151 +size 285377 diff --git a/outputs/tasks/v3_cupboard_store.mp4 b/outputs/tasks/v3_cupboard_store.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..03707f581bdf74cdca0a98ae4ff0df17b1d95e47 --- /dev/null +++ b/outputs/tasks/v3_cupboard_store.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c849a861457876e3892a326c4c0f1bc67ee6beaa06f1b079bae685d22ba45101 +size 164986 diff --git a/outputs/tasks/v3_drawer_open.mp4 b/outputs/tasks/v3_drawer_open.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..ebe09f575ed50e345d848f0675245631ad3bf33e --- /dev/null +++ b/outputs/tasks/v3_drawer_open.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ccb13032353d64e7c583648db02d9597d086550786f4b0e17b4c7d1610a9c37b +size 375219 diff --git a/outputs/tasks/v3_drawer_store.mp4 b/outputs/tasks/v3_drawer_store.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..0342404619b7ab051272bb4f5532ff0f38946329 --- /dev/null +++ b/outputs/tasks/v3_drawer_store.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:edfa3e8905d5798ebab378c5bb025d59ce70ef665f511741c4980152fcd8cf9e +size 315747 diff --git a/outputs/tasks/v3_eraser_wipe.mp4 b/outputs/tasks/v3_eraser_wipe.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..267faa3f63c26b1c191b9d46e805523847c1c6c8 --- /dev/null +++ b/outputs/tasks/v3_eraser_wipe.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:ff9340b4fef4fe6a76ec40ae8cc2123130b2881766a912567e394352f1be71cb +size 514764 diff --git a/outputs/tasks/v3_fruit_basket.mp4 b/outputs/tasks/v3_fruit_basket.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..916de6dafa98a4403fbc610076e56ea17c124b96 --- /dev/null +++ b/outputs/tasks/v3_fruit_basket.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c233acf0e618e9ff69ce5d97373109beccf80449e42b11c964ca397610af2b20 +size 586579 diff --git a/outputs/tasks/v3_fruit_tray.mp4 b/outputs/tasks/v3_fruit_tray.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..8650ba48d581005ddb2bb37f19a66ffbc7a785b4 --- /dev/null +++ b/outputs/tasks/v3_fruit_tray.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0a6187c85da394c472f42a9db4b2b5f3308691421c2275ed5662ec1a32b534a6 +size 528288 diff --git a/outputs/tasks/v3_grape_box.mp4 b/outputs/tasks/v3_grape_box.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..cffb398315b7c8892cf22b879e9e251dbede16e4 --- /dev/null +++ b/outputs/tasks/v3_grape_box.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4baa04ff761b17000e1a8ea67ab1e58082f35b64d558a58c797034bdaaff4eeb +size 288494 diff --git a/outputs/tasks/v3_handover_basket.mp4 b/outputs/tasks/v3_handover_basket.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..3e3863106ed5fc847596797aaa70a1e8fcda5472 --- /dev/null +++ b/outputs/tasks/v3_handover_basket.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2f8b80f993cbf22a989466ae9e08b57016a3e1dfd41d9d637152a68ea41adaa5 +size 505392 diff --git a/outputs/tasks/v3_laptop_close.mp4 b/outputs/tasks/v3_laptop_close.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..69f88454fcb8d3b454164fd7f9dcb3cf46402958 --- /dev/null +++ b/outputs/tasks/v3_laptop_close.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:536586bba4fff1437b168261ecaac91dbc1bc31d0af4e3373f7c01b9ded4d27a +size 406304 diff --git a/outputs/tasks/v3_lid_food.mp4 b/outputs/tasks/v3_lid_food.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..99ed3d0e060be8e77d3c8e35220c54b6e2d969c2 --- /dev/null +++ b/outputs/tasks/v3_lid_food.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:934f08059164500aa9d72c4046a36bd31000fb824a80bbc2f6f73f0711b98f76 +size 647763 diff --git a/outputs/tasks/v3_microwave_door.mp4 b/outputs/tasks/v3_microwave_door.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..cdc0ef7e0896453a8074b504dc50b5acbc77cc01 --- /dev/null +++ b/outputs/tasks/v3_microwave_door.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:459818dd03e90df0319f6b081da06e1d9076445a2150e151560f8146e8fa779e +size 255969 diff --git a/outputs/tasks/v3_peg_insert.mp4 b/outputs/tasks/v3_peg_insert.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..ab46ec7d54f0a586b6e0f8093feeb2097295016d --- /dev/null +++ b/outputs/tasks/v3_peg_insert.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:fe40eabdb2ec99690c8fae5f1adf9424954770f09ac6bd771958a92e07ef7bc2 +size 397999 diff --git a/outputs/tasks/v3_plank_dual_lift.mp4 b/outputs/tasks/v3_plank_dual_lift.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..346b90f55c1e7f62321a4250d80bebf2c94e147b --- /dev/null +++ b/outputs/tasks/v3_plank_dual_lift.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:f5c164f419a6522acd586bf110fc66a496b4eb3d1a8f0d58ef14d97b4abf5034 +size 297159 diff --git a/outputs/tasks/v3_pot_dual_lift.mp4 b/outputs/tasks/v3_pot_dual_lift.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..8e443ddc454b70f9b146230558c53d21f4830bce --- /dev/null +++ b/outputs/tasks/v3_pot_dual_lift.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:82823aaae391355b52cfe34023db36d356c0a4df4d055facd0812c9ca56398d1 +size 429749 diff --git a/outputs/tasks/v3_pour_cup.mp4 b/outputs/tasks/v3_pour_cup.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..30d3bf1f7275dc21806c110cfdb7f84a2a077fb8 --- /dev/null +++ b/outputs/tasks/v3_pour_cup.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6cf59357fff29ed9f4a7a162dd856588121c039ddd767aae19f693e81fed5d02 +size 204727 diff --git a/outputs/tasks/v3_pour_kettle.mp4 b/outputs/tasks/v3_pour_kettle.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..1817647dc5c81281dfe86510e0d1f7a6df657be2 --- /dev/null +++ b/outputs/tasks/v3_pour_kettle.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c40835329d20871d23d00fd4fb78881eae92cae7099a5b807a545684ee863617 +size 425402 diff --git a/outputs/tasks/v3_press_bell.mp4 b/outputs/tasks/v3_press_bell.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..7b786d320552a4ecc5e22c8a8d5e51e949f9c516 --- /dev/null +++ b/outputs/tasks/v3_press_bell.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:0209ddf892270ec52b8fb21a3d1614c55ccaabea2a2949ac8f24c5bba250cc27 +size 274904 diff --git a/outputs/tasks/v3_push_block.mp4 b/outputs/tasks/v3_push_block.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..d7f2b1b60b610853047e2ed52d0b3796cebf0681 --- /dev/null +++ b/outputs/tasks/v3_push_block.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:be9f5ddaf877f3307482d15e1d3a550f62256def688c23260cdba2a79b6dfacd +size 355813 diff --git a/outputs/tasks/v3_push_relay.mp4 b/outputs/tasks/v3_push_relay.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..ca8e148a09f21308d16edeae2d1d5d8dc10cf570 --- /dev/null +++ b/outputs/tasks/v3_push_relay.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:88ed45077b2104e74389ddbc04291e61ed53aacbde6a2fbf18790d6499d071f1 +size 816772 diff --git a/outputs/tasks/v3_ring_post.mp4 b/outputs/tasks/v3_ring_post.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..c287dd94c283f9dd2492c9e98960d7e3bea98f13 --- /dev/null +++ b/outputs/tasks/v3_ring_post.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dba1471b863ce888b536bb01d78d793d28e4823116e5f27b3297e7a4d232057f +size 414745 diff --git a/outputs/tasks/v3_rope_straighten.mp4 b/outputs/tasks/v3_rope_straighten.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..3e58daba4c0c722eb59a0bbc9deb1914f1230ef3 --- /dev/null +++ b/outputs/tasks/v3_rope_straighten.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9703172f420ba0f8d8ce3b5ae26450c21faa34ea61cdf3678078deb28e7a6819 +size 452959 diff --git a/outputs/tasks/v3_sort_cubes.mp4 b/outputs/tasks/v3_sort_cubes.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..a648e110605f01d3793ef9063f6d67276b65da93 --- /dev/null +++ b/outputs/tasks/v3_sort_cubes.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:c685352a53c66d13c8c0154063d43fe08d9af92a7753e49384ba5e24f9859ab2 +size 451926 diff --git a/outputs/tasks/v3_stack_blocks.mp4 b/outputs/tasks/v3_stack_blocks.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..8e7718ee111c0620264e779477dbc603ffe8dc0f --- /dev/null +++ b/outputs/tasks/v3_stack_blocks.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:9834c8bda7d19430c3a792b867a2483600bd381eae3f4d69cd673572c8b3e773 +size 603188 diff --git a/outputs/tasks/v3_stack_cups.mp4 b/outputs/tasks/v3_stack_cups.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..6b15f57fbcdb105a8a1a6517d799e13984edc244 --- /dev/null +++ b/outputs/tasks/v3_stack_cups.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:6c24dc21cb719ec11e50b758eebe6a2e38d0f04e37a2a2534ab7d62a9c308c7c +size 654687 diff --git a/outputs/tasks/v3_sweep_debris.mp4 b/outputs/tasks/v3_sweep_debris.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..cfe272cd505d7ef7e88557ce01e240ecfdd004a1 --- /dev/null +++ b/outputs/tasks/v3_sweep_debris.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8649df80a2e8948660954205d4c3a7c2a274dd769f24d665e9c7bd6615d95a0f +size 313857 diff --git a/outputs/tasks/v3_switch_toggle.mp4 b/outputs/tasks/v3_switch_toggle.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..c9cbc9d9cf98dbfdba12f2ef2dc067d1d311b370 --- /dev/null +++ b/outputs/tasks/v3_switch_toggle.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:3b681290859c2e1e71badbdb796582d56aa7b07169d213b71d05a1eab87ce934 +size 574651 diff --git a/outputs/tasks/v3_weigh_fruit.mp4 b/outputs/tasks/v3_weigh_fruit.mp4 new file mode 100644 index 0000000000000000000000000000000000000000..3cf764f78364fa3dbdadcb440548538ce19b8b8a --- /dev/null +++ b/outputs/tasks/v3_weigh_fruit.mp4 @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:18cfd0a43c9c63617301174a988e776862dafbe2f6390083864efa0dcb41c14f +size 292683 diff --git a/scripts/generate.py b/scripts/generate.py new file mode 100644 index 0000000000000000000000000000000000000000..7018f3a30419679cd739f3ca2f3ea273cb3d6cc7 --- /dev/null +++ b/scripts/generate.py @@ -0,0 +1,127 @@ +"""Scale up: run many randomized episodes per task and keep only the ones that succeeded. + +Each episode is a fresh seed, so the scene randomization differs every time; the scripted solver +plays it and the task's own conditions decide whether it counts. Failed episodes are discarded +(or kept under --keep-failures for debugging), which is what makes this a demonstration +generator rather than a batch runner. + + python scripts/generate.py --episodes 20 # every task + python scripts/generate.py --tasks grape_box,stack_blocks --episodes 50 + python scripts/generate.py --tasks passing --episodes 100 # only tasks known to work + python scripts/generate.py --episodes 20 --resume # skip episodes already done + +Writes: + //ep.mp4 video, successes only unless --keep-failures + //ep.json per-episode result + the exact randomized placements + /manifest.json running totals and success rate per task + +One episode is one simulator launch, so this is slow and long-running by nature; it prints a +line per episode and is safe to interrupt and --resume. +""" +import argparse +import json +import os +import re +import subprocess +import sys +import time + +REPO = os.path.dirname(os.path.dirname(os.path.abspath(__file__))) + +ap = argparse.ArgumentParser() +ap.add_argument("--tasks", default="all", + help="'all', 'passing', or a comma-separated list of task names") +ap.add_argument("--episodes", type=int, default=10, help="episodes per task") +ap.add_argument("--start-seed", type=int, default=100, + help="seeds run from here upward; keep clear of the 0-9 used for development") +ap.add_argument("--out", default="data") +ap.add_argument("--keep-failures", action="store_true") +ap.add_argument("--resume", action="store_true", help="skip episodes whose json already exists") +ap.add_argument("--timeout", type=int, default=1500) +ap.add_argument("--python", default=sys.executable) +a = ap.parse_args() + + +def registered(): + out = subprocess.run([a.python, "scripts/yam_task.py", "--list"], cwd=REPO, + capture_output=True, text=True).stdout + return [l.split()[0] for l in out.splitlines()[1:] if l.strip() and not l.startswith(("name", "-")) + and len(l.split()) > 2] + + +def known_passing(): + """Tasks whose most recent development run succeeded -- the ones worth spending seeds on.""" + good = [] + for t in registered(): + log = os.path.join(REPO, "outputs", "tasks", f"v3_{t}.log") + if os.path.exists(log) and "EPISODE_RESULT: SUCCESS" in open(log, errors="ignore").read(): + good.append(t) + return good + + +tasks = (registered() if a.tasks == "all" else + known_passing() if a.tasks == "passing" else + [t.strip() for t in a.tasks.split(",") if t.strip()]) +if not tasks: + raise SystemExit("no tasks selected") + +out_root = os.path.join(REPO, a.out) +os.makedirs(out_root, exist_ok=True) +manifest_path = os.path.join(out_root, "manifest.json") +manifest = json.load(open(manifest_path)) if os.path.exists(manifest_path) else {} + +env = dict(os.environ) +env.setdefault("OMNI_KIT_ACCEPT_EULA", "YES") +env.setdefault("PYTHONUNBUFFERED", "1") + +print(f"[gen] {len(tasks)} task(s) x {a.episodes} episodes, seeds " + f"{a.start_seed}..{a.start_seed+a.episodes-1} -> {out_root}", flush=True) +t_start = time.time() + +for task in tasks: + tdir = os.path.join(out_root, task) + os.makedirs(tdir, exist_ok=True) + rec = manifest.setdefault(task, {"attempted": 0, "succeeded": 0, "episodes": []}) + + for i in range(a.episodes): + seed = a.start_seed+i + meta_p = os.path.join(tdir, f"ep{seed}.json") + if a.resume and os.path.exists(meta_p): + continue + vid = os.path.join(tdir, f"ep{seed}.mp4") + t0 = time.time() + try: + p = subprocess.run( + [a.python, "scripts/yam_task.py", "--task", task, "--seed", str(seed), + "--video", vid, + "--kit_args=--/rtx/verifyDriverVersion/enabled=false"], + cwd=REPO, env=env, capture_output=True, text=True, timeout=a.timeout) + log = p.stdout+p.stderr + except subprocess.TimeoutExpired: + log = "TIMEOUT" + ok = "EPISODE_RESULT: SUCCESS" in log + # the randomized placements the env printed -- this is the episode's actual scene + m = re.search(r"placements=(\{.*?\})\s*$", log, re.M) + meta = {"task": task, "seed": seed, "success": ok, + "seconds": round(time.time()-t0, 1), + "placements": m.group(1) if m else None, + "conditions": re.findall(r"^\[env\] (PASS|FAIL) (.+)$", log, re.M)} + json.dump(meta, open(meta_p, "w"), indent=1) + if not ok and not a.keep_failures and os.path.exists(vid): + os.remove(vid) + rec["attempted"] += 1 + rec["succeeded"] += int(ok) + rec["episodes"].append({"seed": seed, "success": ok}) + json.dump(manifest, open(manifest_path, "w"), indent=1) + print(f"[gen] {task:<18} seed {seed:<4} {'ok ' if ok else 'FAIL'} " + f"{meta['seconds']:>5.1f}s ({rec['succeeded']}/{rec['attempted']})", flush=True) + +print(f"\n[gen] done in {(time.time()-t_start)/60:.1f} min") +tot_a = sum(r["attempted"] for r in manifest.values()) +tot_s = sum(r["succeeded"] for r in manifest.values()) +for t, r in sorted(manifest.items()): + if r["attempted"]: + print(f" {t:<20} {r['succeeded']:>4}/{r['attempted']:<4} " + f"{100*r['succeeded']/r['attempted']:5.1f}%") +print(f" {'TOTAL':<20} {tot_s:>4}/{tot_a:<4} " + f"{(100*tot_s/tot_a if tot_a else 0):5.1f}% manifest -> {manifest_path}") diff --git a/scripts/status.py b/scripts/status.py index b25cda3050966738470ad643015843b8d5006968..aca03f74bc7eeff4340c71707da4bef29e56f913 100644 --- a/scripts/status.py +++ b/scripts/status.py @@ -15,7 +15,7 @@ import re ap = argparse.ArgumentParser() ap.add_argument("--logs", default="outputs/tasks") ap.add_argument("--tasks", default="source/bimanual/yam/tasks") -ap.add_argument("--readme", default="README.md") +ap.add_argument("--readme", default="doc/tasks.md") ap.add_argument("--write", action="store_true") a = ap.parse_args() @@ -62,7 +62,6 @@ if a.write: if MARK_A in src and MARK_B in src: src = re.sub(re.escape(MARK_A)+r".*?"+re.escape(MARK_B), block, src, flags=re.S) else: - src = src.replace("## Relationship to RoboTwin's own 50 tasks", - block+"\n\n## Relationship to RoboTwin's own 50 tasks") + src = src.rstrip()+"\n\n"+block+"\n" open(a.readme, "w").write(src) print(f"\n[status] wrote the table into {a.readme}")