Skip to content

Update OVPhysX to 0.5.9 - #6660

Merged
kellyguo11 merged 12 commits into
isaac-sim:developfrom
AntoineRichard:antoiner/bump-ovphysx-warp
Jul 27, 2026
Merged

kellyguo11 merged 12 commits into
isaac-sim:developfrom
AntoineRichard:antoiner/bump-ovphysx-warp

Conversation

@AntoineRichard

@AntoineRichard AntoineRichard commented Jul 22, 2026 •

Copy link
Copy Markdown
Collaborator

Summary

  • pin OVPhysX exactly to ovphysx==0.5.9 and inherit the bounded OVStage dependency from current develop
  • rename the unreleased root uv extras from ov / rtx to ovphysx / ovrtx, including installer dispatch and direct-uv documentation
  • inherit the Warp 1.16 and Newton pins from current develop
  • pin omniverseclient==2.72.3 and route public OV packages through public PyPI
  • migrate OVPhysX initial USD ingestion to OVStage, including in-memory stage attachment
  • keep OVPhysX and OVRTX coverage in separate ARM processes and exercise both resolved packages in x86 CI

Testing

  • ./isaaclab.sh -f
  • uv lock --check (446 packages)
  • ./isaaclab.sh -p -m pytest source/isaaclab/test/cli/test_uv_run_pyproject.py source/isaaclab/test/cli/test_install_command_parsing.py source/isaaclab_ovphysx/test/physics/test_ovphysx_scene_data_backend.py -q (80 passed)
  • ./isaaclab.sh -p -m pytest "source/isaaclab_tasks/test/core/test_rendering_cartpole_kitless.py::test_rendering_cartpole_kitless[ovstage-ovphysx-ovrtx-rgb]" -q (1 passed)

@github-actions github-actions Bot added documentation Improvements or additions to documentation isaac-lab Related to Isaac Lab team infrastructure labels Jul 22, 2026
@AntoineRichard
AntoineRichard marked this pull request as ready for review July 22, 2026 14:25
@AntoineRichard
AntoineRichard requested a review from a team July 22, 2026 14:25
@greptile-apps

greptile-apps Bot commented Jul 22, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR upgrades OVPhysX from the 0.4.x line to >=0.5,<0.6 (resolving to 0.5.9 in the lock), pins Warp to the stable 1.15.0 release (dropping the dev prerelease), and bumps omniverseclient to 2.72.3 to match the OVStage runtime bundled with OVPhysX 0.5.9. The core code migration replaces the physx.add_usd() file-based path with a caller-owned OVStage attachment (open_usd_from_string + attach_ovstage), eliminating the temporary disk file and its associated tempfile.TemporaryDirectory.

  • In-memory stage flow: _serialize_env0_only_stage now returns a USDA string from Flatten() + ExportToString() instead of writing to disk; _attach_ovstage / _destroy_ovstage own the ovstage.Stage lifecycle, with proper cleanup in the exception path.
  • Test coverage: Three new unit tests cover serialization correctness, the full attach-then-release lifecycle (event ordering), and OVStage leak prevention on population failure.
  • aarch64 CI: The test-k-expr: not ovphysx guard and the hard-pinned ovphysx==0.4.13 override are removed now that 0.5.9 ships an aarch64 wheel.

Confidence Score: 4/5

Safe to merge; the OVStage lifecycle (create → populate → attach → reset → destroy) is correctly ordered in all paths, and the new unit tests cover the nominal flow, error cleanup, and event ordering.

The in-memory serialization path and OVStage ownership are implemented correctly. The only finding is that _serialize_env0_only_stage drops the info-level log it previously emitted when stripping env subtrees, reducing diagnostic visibility for the key large-env-count scenario this code path exists to handle.

ovphysx_manager.py — specifically the _serialize_env0_only_stage method, which lost its stripped-env count log.

Important Files Changed

Filename Overview
source/isaaclab_ovphysx/isaaclab_ovphysx/physics/ovphysx_manager.py Core migration from file-based add_usd to in-memory OVStage; lifecycle is sound, but _serialize_env0_only_stage silently drops its info-level log for the stripped-env count.
source/isaaclab_ovphysx/isaaclab_ovphysx/assets/articulation/articulation.py Tendon-name discovery now reads from the in-memory _stage_usda string via CreateAnonymous+ImportFromString instead of opening a file; change is correct and exc_info=True improves debug logging.
source/isaaclab_ovphysx/test/physics/test_ovphysx_scene_data_backend.py Adds three well-structured unit tests for serialization, OVStage attach/release event ordering, and leak-free failure cleanup; no issues.
source/isaaclab_ovphysx/test/assets/test_articulation_helpers.py Removes tmp_path fixture dependency; helper now returns an in-memory USDA string, matching the new _stage_usda contract.
.github/workflows/build.yaml Removes hardcoded ovphysx==0.4.13 override and the not-ovphysx test filter from the aarch64 job, correctly enabling full ovphysx coverage now that 0.5.9 has an aarch64 wheel.
pyproject.toml Version bumps are consistent across the ov extra, pin-versions table, and the warp-lang / omniverseclient direct dependencies; all three are updated together.
uv.lock Lock reflects ovphysx 0.5.9 + new ovstage 0.1.0 dependency, omniverseclient 2.72.3, and warp-lang 1.15.0 stable; wheel hashes are present for all three platforms.
source/isaaclab/test/cli/test_uv_run_pyproject.py Adds three version-consistency assertions and a guard that the old ovphysx==0.4.13 literal is gone from the build workflow; straightforward and correct.

Sequence Diagram

sequenceDiagram
    participant SC as SimulationContext
    participant OM as OvPhysxManager
    participant US as USD Stage (live)
    participant SL as Sdf.Layer (anonymous)
    participant OS as ovstage.Stage
    participant PX as ovphysx.PhysX

    SC->>OM: initialize()
    OM->>OM: "_stage_usda = None, _pending_clones = []"

    SC->>OM: reset() [first, non-soft]
    OM->>OM: _warmup_and_load()

    OM->>US: Flatten()
    US-->>SL: anonymous Sdf.Layer (composed copy)
    OM->>SL: delete env_1..N from nameChildren
    OM->>SL: ExportToString()
    SL-->>OM: stage_usda (USDA string)
    OM->>OM: "_stage_usda = stage_usda"

    alt First run (physx is None)
        OM->>PX: construct PhysX instance
    else Reuse path
        OM->>PX: reset_stage() + wait_op()
        OM->>OS: destroy() [prior stage]
    end

    OM->>OS: ovstage.Stage(isaaclab)
    OM->>OS: "open_usd_from_string(stage_usda, ordinal=1, domains=PHYSICS)"
    OM->>PX: "attach_ovstage(stage, read_ordinal=1)"
    OM->>OM: "_ovstage = stage"

    loop pending clones (env_1..N)
        OM->>PX: clone(source, targets, transforms)
        PX-->>OM: op_idx
        OM->>PX: wait_op(op_idx)
    end

    opt GPU device
        OM->>PX: warmup_gpu()
    end

    SC->>OM: close()
    OM->>PX: reset_stage() + wait_op()
    OM->>OS: destroy()
    OM->>OM: "_ovstage = None, _stage_usda = None"
Loading

Reviews (1): Last reviewed commit: "Remove development design note" | Re-trigger Greptile

Comment on lines 497 to +502
env_name_re = re.compile(r"^env_(\d+)$")
names_to_remove = [
child_name
for child_name in list(envs_spec.nameChildren.keys())
if (match := env_name_re.match(child_name)) and match.group(1) != "0"
]
for child_name in names_to_remove:
del envs_spec.nameChildren[child_name]

if names_to_remove:
layer.Export(target_file)
logger.info(
"OvPhysxManager: stripped %d env_<i!=0> subtrees from exported USD (kept env_0 + globals)",
len(names_to_remove),
)
for child_name in list(envs_spec.nameChildren.keys()):
match = env_name_re.match(child_name)
if match and match.group(1) != "0":
del envs_spec.nameChildren[child_name]
return layer.ExportToString()

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

P2 The new in-memory path loses the info-level log that recorded how many env_<i!=0> subtrees were stripped. When diagnosing stage-ingestion issues at large env counts (the very scenario this stripping was designed to fix), that count is the first thing to check in logs. The early-return for the no-/World/envs case also silently swallows its former debug log.

Suggested change
env_name_re = re.compile(r"^env_(\d+)$")
names_to_remove = [
child_name
for child_name in list(envs_spec.nameChildren.keys())
if (match := env_name_re.match(child_name)) and match.group(1) != "0"
]
for child_name in names_to_remove:
del envs_spec.nameChildren[child_name]
if names_to_remove:
layer.Export(target_file)
logger.info(
"OvPhysxManager: stripped %d env_<i!=0> subtrees from exported USD (kept env_0 + globals)",
len(names_to_remove),
)
for child_name in list(envs_spec.nameChildren.keys()):
match = env_name_re.match(child_name)
if match and match.group(1) != "0":
del envs_spec.nameChildren[child_name]
return layer.ExportToString()
env_name_re = re.compile(r"^env_(\d+)$")
names_to_remove = [
child_name
for child_name in list(envs_spec.nameChildren.keys())
if (m := env_name_re.match(child_name)) and m.group(1) != "0"
]
for child_name in names_to_remove:
del envs_spec.nameChildren[child_name]
if names_to_remove:
logger.info(
"OvPhysxManager: stripped %d env_<i!=0> subtrees from in-memory USD (kept env_0 + globals)",
len(names_to_remove),
)
return layer.ExportToString()

Note: If this suggestion doesn't match your team's coding style, reply to this and let me know. I'll remember it for next time!

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Restored both diagnostics in 7e3a722edb: a debug message when /World/envs is absent and an info message with the exact stripped subtree count. Added caplog coverage for both paths.

@marcodiiga marcodiiga left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The ingestion implementation itself looks right, but I would not merge this yet. In a clean environment using the exact wheels published on PyPI.org (ovphysx==0.5.9, ovstage==0.1.0.346039, omniverseclient==2.72.3, warp-lang==1.15.0), IsaacLab's existing Tests/spatial_tendons.usd asset populates successfully and then segfaults in PhysX.attach_ovstage(). The same test passes on the pre-0.5 base checkout. ovstage.population.open_usd() succeeds for both the original asset and a minimized scene; the subsequent attach call crashes, so this reproduces without this PR's Flatten() / open_usd_from_string() serialization. The minimized trigger is a spatial tendon whose root and intermediate attachment are on the same rigid link, followed by a leaf attachment; removing the tendon schemas makes attach succeed. This localizes the regression to OVPhysX 0.5.9's OVStage ingestion/attach path, not this PR. In the same public-wheel environment, Cartpole, rigid-body loading, cloning, stepping, and TensorBindings smoke tests pass. The existing spatial-tendon regression nevertheless blocks the current public 0.5.9 wheel.

The inline suggestions below are the IsaacLab-side improvements I would carry over while the upstream wheel is fixed.

Comment thread pyproject.toml Outdated
@@ -137,7 +137,7 @@ rerun = [
# Isaac Sim (PhysX backend); co-resolves with the base install via the [tool.uv] conflicts table.
isaacsim = ["isaacsim[all,extscache]==6.0.0.1"]
# Omniverse renderer / physics backends (``ov[ovphysx|ovrtx|all]`` selectors).
ov = ["ovphysx>=0.4.13"]
ov = ["ovphysx>=0.5,<0.6"]

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This PR specifically targets the public OVPhysX 0.5.9 ingestion contract. The range can resolve other 0.5.x builds, and IsaacLab imports ovstage directly, so both should be explicit.

Suggested change
ov = ["ovphysx>=0.5,<0.6"]
ov = ["ovphysx==0.5.9", "ovstage"]

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Applied in 7e3a722edb: the ov extra now declares ovphysx==0.5.9 and ovstage explicitly. The metadata regression test enforces both requirements.

Comment thread pyproject.toml Outdated
@@ -178,11 +178,11 @@ isaacsim = "6.0.0.1"
torch = "2.11.0"
torchvision = "0.26.0"
torchaudio = "2.11.0"
ovphysx = ">=0.4.13"
ovphysx = ">=0.5,<0.6"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Please keep the CI source of truth exact too; resolve-ov-pins will then emit ovphysx==0.5.9 rather than a floating range.

Suggested change
ovphysx = ">=0.5,<0.6"
ovphysx = "0.5.9"

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Applied in 7e3a722edb: tool.isaaclab.versions now uses the exact value 0.5.9, so resolve-ov-pins emits ovphysx==0.5.9. The source-of-truth test enforces the exact value.

Comment thread uv.lock
@@ -5381,15 +5381,16 @@ wheels = [

[[package]]
name = "ovphysx"
version = "0.4.13"
version = "0.5.9"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This lock still resolves ovphysx, ovstage, and omniverseclient from pypi.nvidia.com, so it does not validate the public PyPI.org path this PR is meant to exercise. Please route those three packages through a named uv index for https://pypi.org/simple with explicit = true in pyproject.toml, then regenerate the lock rather than editing it manually.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Applied in 7e3a722edb: added an explicit pypi-public index for https://pypi.org/simple, routed omniverseclient, ovphysx, and ovstage through it, and regenerated uv.lock. All three lock entries now resolve from pypi.org/files.pythonhosted.org.

Comment thread .github/workflows/build.yaml Outdated
# pip-index fallback of rendering-correctness-kitless. Running them anyway
# exhausts ovrtx SyncScopeIds (>15 renderer creations in one process).
test-k-expr: not ovphysx
extra-pip-packages: "${{ steps.ov_pins.outputs.ovrtx }} ${{ steps.ov_pins.outputs.ovphysx }}"

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This puts every ARM renderer/physics parameter in one pytest process, which can exhaust OVRTX SyncScopeIds. Keep the existing invocation non-OVPhysX and add a second invocation with a distinct report/container for the OVPhysX parameters.

Suggested change
extra-pip-packages: "${{ steps.ov_pins.outputs.ovrtx }} ${{ steps.ov_pins.outputs.ovphysx }}"
extra-pip-packages: "${{ steps.ov_pins.outputs.ovrtx }} ${{ steps.ov_pins.outputs.ovphysx }}"
test-k-expr: not ovphysx

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Applied in 7e3a722edb: the existing ARM invocation keeps both packages installed but filters not ovphysx; a second invocation runs only ovphysx parameters with its own report and container. Added a workflow regression assertion for the split.

@@ -103,6 +107,7 @@ def spec(package: str) -> str:
# either by carrying the literal range, or by referencing the ``resolve-ov-pins``
# action output, which reads the pin from this same table. Never a bare ``ovrtx``.
build_workflow = (_repo_root() / ".github/workflows/build.yaml").read_text(encoding="utf-8")
assert "ovphysx==0.4.13" not in build_workflow

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This only catches the stale 0.4.13 literal. The fork/public paths in test-isaaclab-ov and rendering-correctness-kitless still exclude isaaclab_ovphysx or filter not ovphysx, so x86 fork CI runs no OVPhysX backend tests. Please remove only those public-path exclusions and preserve the container-wheelhouse path.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Applied in 7e3a722edb: removed only the public-path OVPhysX exclusions from test-isaaclab-ov and rendering-correctness-kitless, and changed public installs to the exact resolve-ov-pins output. The wheelhouse resource/package branches remain unchanged. Added workflow regression coverage.

Comment on lines +4 to +5
* Changed the OVPhysX dependency to ``ovphysx>=0.5,<0.6`` and migrated USD
loading to the in-memory OVStage API introduced in OVPhysX 0.5.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The API belongs to OVStage, and only initial USD ingestion changes; TensorBindings remains the runtime path afterward.

Suggested change
* Changed the OVPhysX dependency to ``ovphysx>=0.5,<0.6`` and migrated USD
loading to the in-memory OVStage API introduced in OVPhysX 0.5.
* Changed the OVPhysX dependency to ``ovphysx==0.5.9`` and migrated initial
USD ingestion to OVStage.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Applied the suggested wording exactly in 7e3a722edb.

@AntoineRichard

Copy link
Copy Markdown
Collaborator Author

Review feedback is addressed in 7e3a722edb:

  • exact ovphysx==0.5.9 plus explicit ovstage
  • public-PyPI source routing and regenerated lock for ovphysx, ovstage, and omniverseclient
  • isolated ARM OVPhysX pytest process and restored public x86 OVPhysX coverage
  • restored in-memory ingestion diagnostics and precise changelog wording

Verification on the committed tree:

  • 26 focused metadata/manager tests passed
  • all pre-commit hooks passed
  • uv lock --check resolved 442 packages

Known upstream blocker — do not merge yet:

./isaaclab.sh -p -m pytest "source/isaaclab_ovphysx/test/assets/test_articulation.py::test_spatial_tendons[cpu-1]" -q -s

With omniverseclient 2.72.3, ovphysx 0.5.9, ovstage 0.1.0.346039, and warp-lang 1.15.0, this exits via SIGSEGV (-11) in ovphysx.api.PhysX.attach_ovstage. The traceback confirms the failure occurs at the public wheel attach boundary reported in review.

Comment thread pyproject.toml Outdated
@@ -137,7 +137,7 @@ rerun = [
# Isaac Sim (PhysX backend); co-resolves with the base install via the [tool.uv] conflicts table.
isaacsim = ["isaacsim[all,extscache]==6.0.0.1"]
# Omniverse renderer / physics backends (``ov[ovphysx|ovrtx|all]`` selectors).
ov = ["ovphysx>=0.4.13"]
ov = ["ovphysx==0.5.9", "ovstage"]

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Let's do ovphysx here, and below just change it to ovrtx

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kept the existing ov / rtx extra names in this PR because they are documented user-facing uv --extra selectors; replacing them would be a breaking rename without a deprecation path. A follow-up can add ovphysx / ovrtx aliases while preserving compatibility.

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Implemented in 530f4419b0. The root uv extras are now ovphysx and ovrtx; ov[ovphysx] / ov[ovrtx] dispatch to the matching names, the direct-uv docs use the new extras, and the unreleased ov / rtx root names were removed.

Comment thread pyproject.toml Resolved
@@ -120,6 +126,49 @@ def spec(package: str) -> str:
assert f"warp-lang=={versions['warp']}" in dependencies


def test_public_ov_packages_use_public_pypi_index():

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is a weird test to have

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Kept this focused metadata regression because public-PyPI routing for OVPhysX, OVStage, and OmniClient is an explicit contract of this PR and previously regressed to pypi.nvidia.com. It parses TOML rather than workflow text and lives in the CLI metadata test location.

assert sources[package] == {"index": "pypi-public"}


def test_ci_runs_public_ovphysx_coverage_in_isolated_processes():

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This is also a weird test

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Removed during the develop rebase. The YAML string-splitting assertions were brittle; the actual ARM process split and public x86 coverage changes remain in the workflows and pass YAML/pre-commit validation.

@AntoineRichard
AntoineRichard force-pushed the antoiner/bump-ovphysx-warp branch from e92dd52 to fcb53db Compare July 27, 2026 09:55
@AntoineRichard
AntoineRichard requested a review from pbarejko as a code owner July 27, 2026 09:55
@AntoineRichard AntoineRichard changed the title Update OVPhysX to 0.5 and pin Warp 1.15 Update OVPhysX to 0.5.9 Jul 27, 2026
AntoineRichard and others added 7 commits July 27, 2026 11:56
Adopt the public OVPhysX 0.5 release line and stable Warp 1.15.\nMigrate USD loading to the OVStage in-memory attachment API so the\nremoved add_usd path and temporary stage file are no longer needed.\n\nThe matching omniverseclient 2.72.3 wheel is still awaiting public\nrelease, so end-to-end OVPhysX startup remains a documented draft PR\nblocker.
Match the exact OmniClient runtime bundled with OVStage for OVPhysX\n0.5.9. Refresh the lock and guard the literal dependency so the\nolder ABI-incompatible client cannot be restored accidentally.
Keep the implementation PR focused on source, dependency metadata, tests,\nand user-facing changelog fragments.
Pin the public OVPhysX wheel exactly and route the OV runtime stack through PyPI.org. Exercise public OVPhysX in x86 CI and isolate its ARM parameters from OVRTX process state. Restore in-memory stage diagnostics and cover the reviewed contracts with regression tests.
Physics-only population currently omits native-instance collider data
needed by OVPhysX. Request all domains until OVStage can populate those
dependencies directly.
Inherit the bounded OVStage requirement added on develop and rely on the existing single-source assertion for its exact spec.
@AntoineRichard
AntoineRichard force-pushed the antoiner/bump-ovphysx-warp branch from fcb53db to 0af727c Compare July 27, 2026 10:00
Use ovphysx and ovrtx as the root uv extra names so they match the public OV selectors before the uv workflow is released.
Align implicit velocity-limit coverage with the current actuator contract and exercise nested contact sensors through the real clone path. Validate COM offsets relative to OVStage runtime link poses, and skip spatial-tendon attachment until the OVPhysX native crash is resolved.
The isolated ARM OVPhysX test process selects rendering cases that use the OVRTX renderer. Install the resolved OVRTX pin alongside OVPhysX so those cases exercise the intended backend combination without sharing renderer process state.
OVPhysX motion vectors match the existing golden through the legacy OVRTX path, but the opt-in OVStage path returns different values on both x86 and ARM. Keep the legacy comparison enforced while documenting the narrow unsupported combination as an expected failure.
Record the test-only OVPhysX rendering coverage changes without requesting a package version bump.
@AntoineRichard AntoineRichard mentioned this pull request Jul 27, 2026
7 tasks done
@kellyguo11
kellyguo11 merged commit 5c3140a into isaac-sim:develop Jul 27, 2026
42 of 43 checks passed
AntoineRichard added a commit that referenced this pull request Jul 28, 2026
# 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 #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]>
AntoineRichard added a commit that referenced this pull request Jul 28, 2026
# Description

Adds PhysX-style volume and surface deformable-object support to the
OVPhysX backend while preserving OVPhysX native device placement and
full-buffer indexed write semantics.

- derives Warp allocation and validation dtypes from each OVPhysX
binding DLPack metadata
- keeps `OvPhysxDeformableBodyView` thin, adding only nodal and element
count properties over the regular `OvPhysxView`
- accesses deformable body and material tensors directly through the
generic view with `TensorType` keys
- mirrors PhysX volume/surface discovery, optional-material behavior,
data access, and contract tests while retaining additive OVPhysX
topology, cache, and full-stage coverage
- supports nodal state, volume kinematic targets, mesh connectivity,
optional materials, and derived root state
- preserves heterogeneous rigid/deformable clones across full-stage
loads, re-warmups, ancestor shells, and nested clone targets
- adds authored CUDA coverage for volume, surface, multi-environment
replication, mixed rigid/deformable scenes, and the Franka soft-lift
task
- documents the public API and adds the `isaaclab_ovphysx` changelog
fragment

Dependency status: #6660 has landed on develop. It owns the OVPhysX
dependency floor and in-memory OVStage serializer. This PR intentionally
does not modify dependency pins or lock files.

## Type of change

- [x] New feature (non-breaking change which adds functionality)
- [x] Documentation update

## Validation

- 141 focused OVPhysX deformable, view, manager, replication, and task
tests passed
- Python byte-compilation passed
- documentation build succeeded without warnings
- all repository pre-commit hooks passed twice at the final branch tip
- independent whole-branch review findings were resolved

## Screenshots

Not applicable.

## Checklist

- [x] I have read and understood the contribution guidelines
- [x] I have run the pre-commit checks with `./isaaclab.sh -f`
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove the feature works
- [x] I have added a changelog fragment under
`source/isaaclab_ovphysx/changelog.d/`
- [x] My name already exists in `CONTRIBUTORS.md`
matthewtrepte pushed a commit to matthewtrepte/IsaacLab that referenced this pull request Aug 4, 2026
## Summary

- pin OVPhysX exactly to `ovphysx==0.5.9` and inherit the bounded
OVStage dependency from current `develop`
- rename the unreleased root uv extras from `ov` / `rtx` to `ovphysx` /
`ovrtx`, including installer dispatch and direct-uv documentation
- inherit the Warp 1.16 and Newton pins from current `develop`
- pin `omniverseclient==2.72.3` and route public OV packages through
public PyPI
- migrate OVPhysX initial USD ingestion to OVStage, including in-memory
stage attachment
- keep OVPhysX and OVRTX coverage in separate ARM processes and exercise
both resolved packages in x86 CI

## Testing

- [x] `./isaaclab.sh -f`
- [x] `uv lock --check` (446 packages)
- [x] `./isaaclab.sh -p -m pytest
source/isaaclab/test/cli/test_uv_run_pyproject.py
source/isaaclab/test/cli/test_install_command_parsing.py
source/isaaclab_ovphysx/test/physics/test_ovphysx_scene_data_backend.py
-q` (80 passed)
- [x] `./isaaclab.sh -p -m pytest
"source/isaaclab_tasks/test/core/test_rendering_cartpole_kitless.py::test_rendering_cartpole_kitless[ovstage-ovphysx-ovrtx-rgb]"
-q` (1 passed)

---------

Co-authored-by: marcodiiga <[email protected]>
matthewtrepte pushed a commit to matthewtrepte/IsaacLab that referenced this pull request Aug 4, 2026
# 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]>
matthewtrepte pushed a commit to matthewtrepte/IsaacLab that referenced this pull request Aug 4, 2026
# Description

Adds PhysX-style volume and surface deformable-object support to the
OVPhysX backend while preserving OVPhysX native device placement and
full-buffer indexed write semantics.

- derives Warp allocation and validation dtypes from each OVPhysX
binding DLPack metadata
- keeps `OvPhysxDeformableBodyView` thin, adding only nodal and element
count properties over the regular `OvPhysxView`
- accesses deformable body and material tensors directly through the
generic view with `TensorType` keys
- mirrors PhysX volume/surface discovery, optional-material behavior,
data access, and contract tests while retaining additive OVPhysX
topology, cache, and full-stage coverage
- supports nodal state, volume kinematic targets, mesh connectivity,
optional materials, and derived root state
- preserves heterogeneous rigid/deformable clones across full-stage
loads, re-warmups, ancestor shells, and nested clone targets
- adds authored CUDA coverage for volume, surface, multi-environment
replication, mixed rigid/deformable scenes, and the Franka soft-lift
task
- documents the public API and adds the `isaaclab_ovphysx` changelog
fragment

Dependency status: isaac-sim#6660 has landed on develop. It owns the OVPhysX
dependency floor and in-memory OVStage serializer. This PR intentionally
does not modify dependency pins or lock files.

## Type of change

- [x] New feature (non-breaking change which adds functionality)
- [x] Documentation update

## Validation

- 141 focused OVPhysX deformable, view, manager, replication, and task
tests passed
- Python byte-compilation passed
- documentation build succeeded without warnings
- all repository pre-commit hooks passed twice at the final branch tip
- independent whole-branch review findings were resolved

## Screenshots

Not applicable.

## Checklist

- [x] I have read and understood the contribution guidelines
- [x] I have run the pre-commit checks with `./isaaclab.sh -f`
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove the feature works
- [x] I have added a changelog fragment under
`source/isaaclab_ovphysx/changelog.d/`
- [x] My name already exists in `CONTRIBUTORS.md`
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

documentation Improvements or additions to documentation infrastructure isaac-lab Related to Isaac Lab team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants