Cherrypick: Enable physics reset for ALL background (#1177) - #1180
Conversation
## Summary Enable physics reset for ALL backrgound ## Detailed description - Caught bug [here](https://nvidia.slack.com/archives/C0BR78Z3KAR/p1788389583037159) - Enabled nested physics pose caching and reset by default for all library backgrounds, instead of kitchen only https://github.com/user-attachments/assets/dba87d32-01b2-4dc1-a6f7-50a9e3e1d975 --------- Signed-off-by: Xinjie Yao <xyao@nvidia.com>
Greptile SummaryThe PR enables nested physics-state reset by default for all backgrounds while retaining an explicit opt-out.
Confidence Score: 5/5The PR appears safe to merge, with no concrete blocking or independently actionable non-blocking issues identified. The default-on reset path remains explicitly configurable, current library backgrounds use compatible USD spawners, and the added integration coverage verifies restoration of nested rigid-body state. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[Construct Background] --> B{reset_nested_physics}
B -->|false| C[Use standard spawn path]
B -->|true by default| D[Discover and de-instance nested physics roots]
D --> E[Register reset-enabled paths in Scene]
E --> F[Cache initial rigid and articulation state]
F --> G[Environment reset]
G --> H[Restore cached poses, velocities, and joint state]
Reviews (1): Last reviewed commit: "Enable physics reset for ALL background ..." | Re-trigger Greptile |
🤖 Isaac Lab-Arena Review BotSummaryCherrypick of #1177 onto Design, Boundaries & ScopeThe flip is a real behavior change for everyone, not just the kitchen backgrounds that were opted in. Every background now goes through the de-instancing spawner, downloads and traverses its source USD at config-composition time, gets private PhysX views per nested rigid/articulation root, and runs Resetting background physics is arguably the right default and the old one was the bug, so this is about validation coverage rather than the direction. The new test exercises exactly one library background; the ones with the most nested physics (galileo, packing_table, office_table, the lightwheel and replicator kitchens) are the ones most likely to trip the validation assert. Findings🟡 Warning: isaaclab_arena/assets/background.py:36 — default flip enables a hard-asserting reset path for every background; only 🔵 Improvement: isaaclab_arena/assets/background_library.py:144 — 🔵 Improvement: isaaclab_arena/scene/scene.py:92-98 — Test CoverageThe new The gap is breadth: it is the only library background verified against the newly-default-on path. VerdictMinor fixes needed — the cherrypick is faithful and the test is solid; please confirm the heavier library backgrounds were exercised before this lands on |
Summary
Enable physics reset for ALL background #1177
Detailed description