Skip to content

Check reachability against the background ON in every kitchen_bench environment - #1810

Draft
xyao-nv wants to merge 1 commit into
xyao/feature/curobo_background_cuboidsfrom
xyao/feature/curobo_background_kitchen_on
Draft

xyao-nv wants to merge 1 commit into
xyao/feature/curobo_background_cuboidsfrom
xyao/feature/curobo_background_kitchen_on

Conversation

@xyao-nv

@xyao-nv xyao-nv commented Dec 1, 2026 •

Copy link
Copy Markdown
Collaborator

Turn on the kitchen background in the reachability check for every kitchen_bench environment.

Why this change?

#1561 adds ReachabilityConfig.include_background_obstacles, which puts the fixed background mesh (cabinets, counters, walls) into the collision world of the cuRobo reachability check. It is off by default, because scenes without nearby fixed geometry gain nothing from it. Kitchens are where the arm can pass through a cabinet while the layout still passes the check, so they should use it.

What changes?

  • Every kitchen_bench YAML sets placer_params.reachability_config.include_background_obstacles: true. The other placer parameters keep their defaults.
  • A static test fails when a kitchen_bench YAML leaves the setting out.

Validation

  • All 67 kitchen_bench YAMLs load, and their placer params have the background on with the other defaults unchanged.
  • OSMO kitchen placement benchmark (67 kitchens, 30 envs, L40S, each version run twice on the same GPU): the background makes placement/validate 4.2% slower per kitchen (95% CI +2.9% to +5.4%), 42.1 → 44.0 s on average. Batches per build and fallback envs are the same in every kitchen. The background rejects 128 more of about 95,800 checked layouts.

Stacked on #1561; merge that first.

…ment

Every kitchen_bench YAML sets placer_params.reachability_config.include_background_obstacles, so the cuRobo
reachability check also collides the arm with the kitchen's cabinets and walls. A static test keeps new kitchen_bench
YAMLs from leaving it out.

Signed-off-by: Xinjie Yao <[email protected]>
@xyao-nv xyao-nv changed the title Check reachability against the kitchen in every kitchen_bench environment Check reachability against the background ON in every kitchen_bench environment Dec 2, 2026
xyao-nv added a commit that referenced this pull request Dec 2, 2026
…achability check (#1561)

Add the fixed background mesh (e.g. kitchen cabinets, counters,
appliances) to the collision world of the build-time cuRobo reachability
check.

## Why this change?

ReachabilityValidator accepts a placement layout only if cuRobo IK finds
a collision-free arm pose for a top-down grasp on each target object.
Its collision world held only the layout's objects, not the background.
A layout could pass with an arm pose that goes through the kitchen
fixtures.


## What changes?

- `ReachabilityConfig.include_background_obstacles` adds the background
to the reachability check. It is off by default; #1810 turns it on for
every kitchen_bench environment.
- The whole mesh is loaded once. `CuroboIKSolver.load_background_mesh`
loads it as one cuRobo mesh obstacle and builds its collision structure
once; every collision world of a batched solve shares it.
- Each world only places it. `load_collision_worlds` writes the mesh's
pose relative to each world's robot base, in place, so captured CUDA
graphs stay valid.
- (Highly vibe-coded debugger viz)The Rerun view shows the background.
It draws the background within 1.4 m of the robot base and colors the
triangle closest to each arm sphere: red for overlap, orange for within
5 cm.

## Cost
OSMO, L40S, 67 kitchen_bench envs with 30 envs each, every version run
twice on the same GPU per kitchen:

| Per kitchen | `placement/validate` | 95% CI | Mean validate time |
Whole placement |
|---|---|---|---|---|
| main → background off | +0.6% | +0.1% to +1.2% | 42.1 → 42.1 s | +0.6%
|
| background off → on | +4.2% | +2.9% to +5.4% | 42.1 → 44.0 s | +2.2% |
| main → background on | +4.8% | +3.6% to +6.0% | 42.1 → 44.0 s | +2.8%
|

On my local 6000Ada, 30 envs, placement seed 0
| Kitchen | Triangles | One-time load | IK check per layout, background
off → on |
|---|---|---|---|
| Replicator L-shape | 15k | 7 ms | 9.2 → 10.2 ms |
| Replicator peninsula | 17k | 8 ms | 8.9 → 10.0 ms |
| Replicator U-shape | 26k | 11 ms | 8.6 → 9.8 ms |
| Lightwheel pick_and_place | 188k | 92 ms | 9.0 → 12.4 ms |
| Lightwheel L-shaped scandinavian | 263k | 129 ms | 9.9 → 12.4 ms |
| Lightwheel U farmhouse2 | 565k | 287 ms | 7.8 → 7.8 ms |


## Validation

- Placer without vs with background checks on 6 kitchen specs (8,786
layouts): the background rejected 83 layouts that pass without it. 9
flipped the other way, within IK noise (two background-off runs disagree
on 23).
- On the 67 kitchen_bench envs, the background rejects 128 more of about
95,800 checked layouts. Batches and fallback envs are unchanged, and
with it off the IK results match main in every kitchen.
- Peninsula soup bowl env shows the penetration.

<img width="1920" height="1732" alt="peninsula_layout37_sim_off_vs_on"
src="https://github.com/user-attachments/assets/26b582a8-e10c-4dc2-988e-ddabebd7c119"
/>

---------

Signed-off-by: Xinjie Yao <[email protected]>

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