Skip to content

Add eleven geometric KitchenBench pick-and-place tasks - #1779

Draft
alexmillane wants to merge 14 commits into
mainfrom
alex/feature/kitchenbench_geometric_tasks
Draft

alexmillane wants to merge 14 commits into
mainfrom
alex/feature/kitchenbench_geometric_tasks

Conversation

@alexmillane

@alexmillane alexmillane commented Nov 29, 2026 •

Copy link
Copy Markdown
Collaborator

Add eleven geometric KitchenBench pick-and-place tasks with DROID and Pi05/Cosmos evaluation configs. Fix placement-validation crashes in Embree and add the fixture, geometry, configuration, and recording support used by these environments.

Stacked on #1772 (Cosmos3 Nano policy support).

Why this change?

Evaluate transfers that require lifting objects onto higher kitchen surfaces or reaching inside cabinets and appliances. The suite contains six upward transfers and five confined destinations, with appliance doors initially open so evaluation focuses on pick-and-place.

What changes?

  • Add upward transfers for an orange from counter to shelf, serving bowl from sink to counter, pan from stove to shelf, ladle and masher from drawers to counters, and mug from sink to counter.
  • Add confined-destination transfers into a cupboard, the second cabinet shelf, a fridge, a microwave, and a countertop oven. Provide 10- and 100-episode configs with 20 environments, seed 42, and native embodiment camera resolution, plus five object-control recipes.
  • Use triangle ray queries on a private mesh during collision-sphere construction. This avoids the reproduced Embree rtcNewGeometry segfault while retaining the tangent-sphere algorithm and preserving the source mesh.
  • Support fixture translations and light scaling, articulated descendant reference frames, scaled joint geometry, analytic collider bounds, and success detection across multiple supporting bodies. Add pan assets, placement support for selected kitchen objects, typed config overrides, and optional actuator-target reset.
  • Add native-camera recording to the object-control runner and pass the simulation device through OSMO submission to the runner.

The dishwasher-to-counter task is excluded because repeated reset tests did not settle reliably and policy runs encountered PhysX crashes or stalls. Superseded task variants and local review artifacts are not included.

Usage example

Object-control demos previously recorded the viewport only. Add --record_camera_video to the same Object Control Runner invocation to record RGB embodiment cameras at their configured resolution as well.

For OSMO, the existing default simulation device remains cuda:0. Set experiment_runner.device=cpu when submitting either new experiment to use CPU simulation; the remote policy server continues to use its configured GPU.

Validation

  • Found cuRobo pickup and placement configurations for all eleven retained tasks, with mesh collision and fingertip-contact checks. These establish sampled endpoint feasibility, not continuous collision-free paths or reliable physical grasps across all resets. Some source-inside tasks are rejected by the standard validator's coarse IK check.
  • Reproduced the Embree crash locally, then exercised the fix with repeated 20-environment placement runs and local Pi05 camera rollouts. Compared collision-sphere coverage on 19 representative meshes with 20,000 queries each; classifications agreed with the original backend.
  • Completed ten episodes per retained task and policy on OSMO, including retries for the pan/Pi05 and fridge/Cosmos simulator failures. Native camera videos were recorded. No recurrence of the Embree crash was observed; intermittent PhysX and CUDA failures remain.
  • The 100-episode config is supplied, but these results describe the 10-episode runs. Several tasks remain at 0/10, so the suite is a draft benchmark rather than a claim of policy reliability.
Task Pi05 Cosmos
Orange: counter → shelf 0/10 0/10
Cup: shelf → cupboard 0/10 0/10
Serving bowl: sink → counter 2/10 7/10
Pan: stove → shelf 0/10 0/10
Soup can: counter → second cabinet shelf 0/10 0/10
Ladle: drawer → counter 9/10 10/10
Can: counter → fridge 0/10 0/10
Masher: lower drawer → counter 7/10 4/10
Mug: sink → counter 7/10 7/10
Mug: counter → microwave 1/10 0/10
Bowl: counter → countertop oven 0/10 0/10

Evaluation provenance: full OSMO run and retry outputs. The retry workflow was later cancelled to stop its remaining dishwasher run; the pan and fridge evaluations had already completed and uploaded independent outputs.

Add knob friction to appliances whose knobs spin, swap the food processor
with loose parts for a stand mixer, widen the appliance and robot placement
bands, add bounded random yaw around the marker yaw, and place four
distractors per task. Move the stand mixer task to a counter without wall
cabinets above it.

Signed-off-by: Alex Millane <[email protected]>
The placer ranks valid layouts by loss, so a bounded random yaw ends up near the
axis-aligned heading. Drop the max_random_yaw_rad option and keep the authored yaw.
Give the kettle distractors their own region on the island.

Signed-off-by: Alex Millane <[email protected]>
Use the 10-episode pi0.5 run of the eight button tasks with fixed appliance yaw.

Signed-off-by: Alex Millane <[email protected]>
…ghtwheel kettle

Pressable reads its joint name and threshold from class attributes, so the
button appliances drop the KitchenButtonAppliance base class. The ForgeCAD
kettle left its free power base behind on placement; the Lightwheel
ElectricKettle004 is one articulation. The espresso button gets a linear
drive at spawn, the button test checks every button has a non-zero linear
stiffness, and the 100-episode experiment drops its rebuild every two
episodes.

Signed-off-by: Alex Millane <[email protected]>
coffee_machine now presses Button001 with a fixed base, the setup the
KitchenBench task needs, so the separate lightwheel_coffee_machine108 entry
for the same USD goes away. The press-button environment presses Button001
instead of Button002.

Signed-off-by: Alex Millane <[email protected]>
CosmosRemotePolicyCfg gains a policy_variant field (CosmosPolicyVariant:
cosmos3_edge, the default, or cosmos3_nano) that selects which released
Cosmos3 DROID checkpoint serves the client. The variant sets the default
open_loop_horizon (16 for Edge, 32 for Nano) and, on OSMO, the server
task's checkpoint and prompt format: Edge is served with JSON-formatted
prompts and Nano with plain-text prompts, following each model card.

build_server_image.sh bakes the Nano checkpoint into the cosmos_server
image next to Edge, pinned to a Hugging Face revision, so the server
downloads nothing at startup.

run_cosmos_server.sh takes -v edge|nano to serve either checkpoint locally.

Signed-off-by: alex <[email protected]>
@alexmillane
alexmillane force-pushed the alex/feature/kitchenbench_geometric_tasks branch from d8d3ba4 to 7c66e63 Compare November 29, 2026 08:03
@alexmillane
alexmillane changed the base branch from main to alexmillane/feature/cosmos3-nano-policy November 29, 2026 08:03
@alexmillane
alexmillane force-pushed the alexmillane/feature/cosmos3-nano-policy branch from 054a7bf to 220013c Compare November 30, 2026 20:07
Base automatically changed from alexmillane/feature/cosmos3-nano-policy to main December 3, 2026 10:29

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant