Repository navigation
Conversation
…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
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
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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?
placer_params.reachability_config.include_background_obstacles: true. The other placer parameters keep their defaults.Validation
placement/validate4.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.