Repository navigation
Enable OVPhysX hand camera presets - #6743
AntoineRichard merged 3 commits into
Conversation
Greptile SummaryEnables OVPhysX camera rendering coverage for Shadow Hand and homogeneous Kuka Allegro tasks.
Confidence Score: 5/5The PR appears safe to merge with no actionable defects identified. The OVPhysX preset, OVStage lifecycle, dependency, CI, and rendering changes are internally coordinated and covered by targeted configuration and rendering tests. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart LR
Presets[Task preset resolution] --> Physics[OVPhysX physics configuration]
Presets --> Renderer[OVRTX or Newton renderer]
Physics --> Serialize[Flatten and serialize env_0 USD]
Serialize --> OVStage[Populate and attach OVStage]
OVStage --> Clone[Clone homogeneous environments]
Clone --> Camera[Render tiled camera outputs]
Renderer --> Camera
Camera --> Golden[Compare against rendering goldens]
Reviews (1): Last reviewed commit: "Enable OVPhysX hand camera presets" | Re-trigger Greptile |
There was a problem hiding this comment.
Isaac Lab Review Bot
Summary
This PR enables OVPhysX camera rendering coverage for Shadow Hand and Kuka Allegro by adding an OVPhysX physics preset, a homogeneous-cube object preset, gravity-term omissions, new goldens, preset-resolution tests, and docs. The mechanical parts (goldens, docs tables, environment-browser data, changelog fragments) look consistent, and removing the blanket ovphysx skips in rendering_test_utils.py makes the existing rendering matrices genuinely sensitive to the new backend support. The main concerns are (a) an unconditional change to the shared dexsuite material-randomization terms that affects PhysX/Newton as well, (b) the way OVPhysX-safe object/event/curriculum variants are keyed by a preset name that may not follow the documented physics=ovphysx selector, and (c) an imperative pytest.xfail() that silently removes a rendering combination from execution. Note that several diff hunks (pyproject extras rename, OVStage migration in isaaclab_ovphysx) come from the stacked dependency change; comments on them are included since they appear in this diff.
Architecture impact
Follows the established preset structure: a task-local PhysicsCfg/ObjectCfg subclass adds an ovphysx variant, and per-backend event/curriculum variants are wired through preset(...). That pattern is fine, but it introduces a cross-group naming dependency — the object/event/curriculum variants are only correct if the ovphysx name is selected in every group simultaneously, which is not enforced anywhere in config validation. The extras rename in the root pyproject.toml changes public installation entry points (--extra ov/--extra rtx) with no compatibility aliases, which conflicts with the repository's deprecation-before-removal rule for public API.
Test coverage
New coverage is reasonable in shape: test_ovphysx_camera_presets.py pins kitless physics/renderer resolution and the Kuka-specific object/event/curriculum selections, the OVStage manager tests cover serialization and attach/release lifecycle, and 42 new golden images back the enabled rendering matrices. Sensitivity is weaker than it looks in two places: the Kuka preset test only resolves the ovphysx branch, so it cannot distinguish per-preset gating from an unconditional change, and the new Cartpole motion_vectors case is disabled imperatively rather than marked xfail, so it never runs. The ovstage variant of the newly enabled Shadow Hand and Kuka homogeneous matrices appears unverified given the PR notes the goldens were produced with the legacy matrices.
Implementation verdict
Minor fixes needed. Posted 7 actionable findings inline.
The PR exceeded the automated context budget, so some file content was truncated.
Automated comment-only review; human maintainers own approval decisions.
Add a Kuka Allegro OVPhysX configuration while excluding gravity and heterogeneous-object paths unsupported by the backend. Enable Shadow Hand and Kuka Allegro render coverage with golden images for OVRTX and Newton renderers.
83f261c to
a758743
Compare
Treat explicit selectors covering every body as whole-asset selection while continuing to reject true subsets. Restore the Dexsuite regex selectors so existing PhysX and Newton configurations remain unchanged.
| """Camera output must match golden images (Dexsuite KukaAllegro Lift, single camera).""" | ||
| if physics_backend == "ovphysx": | ||
| pytest.skip( | ||
| "The OVPhysX preset selects the homogeneous cube because heterogeneous multi-asset scenes are unsupported." |
There was a problem hiding this comment.
Is the plan to add heterogeneous support after GA?
There was a problem hiding this comment.
I need to check with Octi and look more into the cloner, but we may need to post-pone it yes
Co-authored-by: Kelly Guo <[email protected]> Signed-off-by: Antoine RICHARD <[email protected]>
# Description Adds OVPhysX camera rendering coverage for Shadow Hand and Kuka Allegro, following the existing PhysX preset structure. - Adds a Kuka Allegro OVPhysX physics preset and selects the homogeneous cube configuration supported by OVPhysX cloning. - Omits Kuka gravity randomization/curriculum terms that require an unavailable runtime gravity setter, and uses whole-asset material randomization supported by OVPhysX. - Enables the Shadow Hand and homogeneous Kuka Allegro rendering matrices for OVPhysX. - Adds OVRTX and Newton renderer goldens, preset-resolution tests, a changelog fragment, and environment-browser documentation. Built on the OVPhysX 0.5.9 and OVStage integration from isaac-sim#6660, which is now merged into develop. ## Type of change - New feature (non-breaking change which adds functionality) - Documentation update ## Screenshots The generated RGB goldens were inspected locally. Shadow Hand renders the tiled hands with the cyan cube; Kuka Allegro renders the tiled robot/table/cube scene consistently with the existing backend goldens. ## Testing - ./isaaclab.sh -f - Preset and Kit-decision tests: 23 passed - Shadow Hand OVStage + OVPhysX + OVRTX RGB comparison: 1 passed - Kuka Allegro OVStage + OVPhysX + OVRTX RGB comparison: 1 passed - Legacy render matrices used to generate and verify all 21 goldens per task: 19 passed, 57 deselected for each task - ./isaaclab.sh -d ## Checklist - [x] I have read and understood the contribution guidelines - [x] I have run the pre-commit checks with ./isaaclab.sh --format - [x] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [x] I have added tests that prove my feature works - [x] I have added a changelog fragment under source/isaaclab_tasks/changelog.d/ - [x] My name already exists in CONTRIBUTORS.md --------- Signed-off-by: Antoine RICHARD <[email protected]> Co-authored-by: Kelly Guo <[email protected]>
Description
Adds OVPhysX camera rendering coverage for Shadow Hand and Kuka Allegro, following the existing PhysX preset structure.
Built on the OVPhysX 0.5.9 and OVStage integration from #6660, which is now merged into develop.
Type of change
Screenshots
The generated RGB goldens were inspected locally. Shadow Hand renders the tiled hands with the cyan cube; Kuka Allegro renders the tiled robot/table/cube scene consistently with the existing backend goldens.
Testing
Checklist