Repository navigation
Conversation
Seven Newton and MuJoCo schema cfg classes redeclared _usd_field_exceptions as an empty dict. Attribute lookup stops at the first class that defines it, so the redeclaration cancelled the base classes' routing of inherited PhysX-consumed fields. Setting disable_gravity, contact_offset, or rest_offset on those cfgs authored a bare physics attribute that no backend reads, and setting max_joint_velocity on the joint-drive cfgs made the writer raise because the declaring base class carries no namespace of its own. Remove the empty redeclarations so the base routing applies, matching the articulation-root cfg which already inherited it correctly, and leave a comment at each site explaining why the attribute must stay inherited. The regression tests set each affected field through the public writers and assert the PhysX-namespaced attribute is authored.
|
| # ``_usd_field_exceptions`` is inherited from the base cfg on purpose: it routes the | ||
| # PhysX-consumed fields declared there (which this class inherits) to their PhysX | ||
| # namespaces. Redeclaring it empty here would shadow the base dict and break that | ||
| # routing. |
There was a problem hiding this comment.
NewtonMeshCollisionPropertiesCfg has a distinct multiple-inheritance path: the non-empty routing map from CollisionBaseCfg must take precedence over the empty map from MeshCollisionBaseCfg. The new offset tests cover only the regular collision and SDF classes, so this mesh-specific contract could regress while those tests remain green. Add a mesh configuration case using contact_offset or rest_offset.
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!
There was a problem hiding this comment.
Isaac Lab Review Bot
The patch removes seven empty _usd_field_exceptions redeclarations so normal MRO lookup reaches inherited routing tables, restoring PhysX-namespaced authoring for inherited rigid-body, collision, and joint-drive fields. The change is covered by focused regression tests and a package changelog fragment.
- Design and architecture: Keeping routing metadata on the solver-common base cfgs and inheriting it avoids subclass shadowing while preserving the existing per-declaring-class namespace model. The writer still relies on single-MRO
getattrlookup rather than metadata merging, so future subclass redeclarations or multiple-inheritance changes require care, but this patch does not introduce that limitation. - API: No public symbols, configuration fields, defaults, or annotations are removed or renamed. The user-visible behavior change is the intended correction: inherited fields now author
physxRigidBody:*,physxCollision:*, orphysxJoint:*attributes instead of ineffective barephysics:*attributes or raising formax_joint_velocity. The changelog records this behavior correction. - Implementation: The rigid-body, joint-drive, collision, mesh/SDF collision, and MuJoCo inheritance paths were traced. Each removed declaration was an empty dictionary that shadowed inherited routing, while Newton- and MuJoCo-native fields retain their declaring-class namespaces. The six regression tests exercise observable USD authoring, reject stale bare attributes where relevant, and verify the existing angular-velocity conversion with an independently derived
math.degreesexpectation.
No blocking issues. No inline issue met the actionable-evidence threshold; the assessment above records the review feedback.
Automated review; human maintainers own approval decisions.
NewtonMeshCollisionPropertiesCfg is the only Newton collision cfg with two bases, and just one of them carries the offset routing table, so the resolution order decides whether contact_offset and rest_offset reach the PhysX namespace. The existing offset tests exercise only singly-inherited classes, leaving that path able to regress while they stay green.
|
Good catch — added in You're right that it's a distinct path:
Verified it actually pins the contract rather than just passing: reintroducing the empty File now runs 19 passed against the same 8 pre-existing failures noted in the PR description (unregistered-token assertions, unrelated to this change). |
|
|
||
|
|
||
| @pytest.mark.isaacsim_ci | ||
| def test_newton_rigid_body_disable_gravity_routes_to_physx_namespace(setup_sim): |
There was a problem hiding this comment.
Can we merge the tests? if not, can we parameterize instead of repeating?
| _usd_namespace: ClassVar[str | None] = "newton" | ||
| _usd_applied_schema: ClassVar[str | None] = "NewtonSDFCollisionAPI" | ||
| _usd_field_exceptions: ClassVar[dict] = {} | ||
| # ``_usd_field_exceptions`` is inherited from the base cfg on purpose: it routes the |
There was a problem hiding this comment.
We should drop the comment. If it's necessary, a one-liner brief comment would be preferred
The five routing tests differed only in writer, cfg and expected attributes, so fold them into one parametrized case list. Reduce the repeated inheritance note on each cfg to a single line.
|
Both addressed in Comments — you're right, seven copies of a four-line note was too much. Each is now a single line: # ``_usd_field_exceptions`` stays inherited: redeclaring it empty shadows the base routing.Tests — merged. The five differed only in writer, cfg and expected attributes, so they're one parametrized test over a case list now, with the per-case nuance (MuJoCo keeping its own Left the joint-drive test separate — it needs a joint prim rather than a cube, so folding it in would have meant a conditional fixture that costs more than the duplication saves. Same totals as before: 19 passed against the 8 pre-existing failures noted in the description; the 5 routing cases pass individually. |
|
run-ci |
) Franka Lift can stall while filling its reset-state bank: the updated `franka_panda.usda` defaults to `Colliders=primitives`, whose first-link capsule extends 6 cm below the ground. The existing ground-clearance criterion rejects every candidate, leaving the RSL-RL export batch at `0/2048` until its 600-second timeout. This PR selects `Colliders=convex_hulls` on the robot configuration shared by rigid Franka Lift and Reorient, restoring the previous collision geometry and successful reset sampling. The affected asset and reset setup originated in [#6457](#6457) ([564a008](564a008)), then moved into the current Lift tasks in [#6732](#6732) ([73106da](73106da)). The triggering change is external: the production Franka asset's top layer now selects primitive colliders and reports `Last-Modified: 2026-09-15 22:49:27 GMT`. Controlled comparisons found 0 valid states in 128 draws with the new default; explicit convex hulls and the preserved old asset both produced 63 valid states from the same draws. The same reset hang appeared in CI for #7838, #7608, #7832, #7834, and #7866. [The #7866 RL log](https://github.com/isaac-sim/IsaacLab/actions/runs/35202342707/job/105139978507) shows the batch blocked on Franka Lift after environment setup. #7866 fixes the independently configured Franka Pour task; it does not change Lift's robot configuration. This change covers Lift/Reorient only. Validation: - Fresh regression check on this branch: both Lift/Reorient cases failed without the production fix; all 9 tests in `test_lift_env_cfg.py` passed with it. - `uv run isaaclab -f` passed. - Earlier GPU validation of the identical Lift change completed the original 2,048-state harvest and reset in 22.169 seconds; the existing four-task RSL-RL export batch passed in 107.92 seconds. - Local GPU validation used PyTorch 2.11+cu128, Newton 1.6rc1, and RSL-RL 5.4.1. The identical Lift fix also passed [the full locked-environment RL CI job in #7865](https://github.com/isaac-sim/IsaacLab/actions/runs/35207648168/job/105158711330). Reset-bank sizes, clearance criteria, export behavior, the global Franka defaults, and Pour remain unchanged.
…aac-sim#7870) Franka Lift can stall while filling its reset-state bank: the updated `franka_panda.usda` defaults to `Colliders=primitives`, whose first-link capsule extends 6 cm below the ground. The existing ground-clearance criterion rejects every candidate, leaving the RSL-RL export batch at `0/2048` until its 600-second timeout. This PR selects `Colliders=convex_hulls` on the robot configuration shared by rigid Franka Lift and Reorient, restoring the previous collision geometry and successful reset sampling. The affected asset and reset setup originated in [isaac-sim#6457](isaac-sim#6457) ([564a008](isaac-sim@564a008)), then moved into the current Lift tasks in [isaac-sim#6732](isaac-sim#6732) ([73106da](isaac-sim@73106da)). The triggering change is external: the production Franka asset's top layer now selects primitive colliders and reports `Last-Modified: 2026-09-15 22:49:27 GMT`. Controlled comparisons found 0 valid states in 128 draws with the new default; explicit convex hulls and the preserved old asset both produced 63 valid states from the same draws. The same reset hang appeared in CI for isaac-sim#7838, isaac-sim#7608, isaac-sim#7832, isaac-sim#7834, and isaac-sim#7866. [The isaac-sim#7866 RL log](https://github.com/isaac-sim/IsaacLab/actions/runs/35202342707/job/105139978507) shows the batch blocked on Franka Lift after environment setup. isaac-sim#7866 fixes the independently configured Franka Pour task; it does not change Lift's robot configuration. This change covers Lift/Reorient only. Validation: - Fresh regression check on this branch: both Lift/Reorient cases failed without the production fix; all 9 tests in `test_lift_env_cfg.py` passed with it. - `uv run isaaclab -f` passed. - Earlier GPU validation of the identical Lift change completed the original 2,048-state harvest and reset in 22.169 seconds; the existing four-task RSL-RL export batch passed in 107.92 seconds. - Local GPU validation used PyTorch 2.11+cu128, Newton 1.6rc1, and RSL-RL 5.4.1. The identical Lift fix also passed [the full locked-environment RL CI job in isaac-sim#7865](https://github.com/isaac-sim/IsaacLab/actions/runs/35207648168/job/105158711330). Reset-bank sizes, clearance criteria, export behavior, the global Franka defaults, and Pour remain unchanged. (cherry picked from commit c5d33ef)
…aac-sim#7870) Franka Lift can stall while filling its reset-state bank: the updated `franka_panda.usda` defaults to `Colliders=primitives`, whose first-link capsule extends 6 cm below the ground. The existing ground-clearance criterion rejects every candidate, leaving the RSL-RL export batch at `0/2048` until its 600-second timeout. This PR selects `Colliders=convex_hulls` on the robot configuration shared by rigid Franka Lift and Reorient, restoring the previous collision geometry and successful reset sampling. The affected asset and reset setup originated in [isaac-sim#6457](isaac-sim#6457) ([564a008](isaac-sim@564a008)), then moved into the current Lift tasks in [isaac-sim#6732](isaac-sim#6732) ([73106da](isaac-sim@73106da)). The triggering change is external: the production Franka asset's top layer now selects primitive colliders and reports `Last-Modified: 2026-09-15 22:49:27 GMT`. Controlled comparisons found 0 valid states in 128 draws with the new default; explicit convex hulls and the preserved old asset both produced 63 valid states from the same draws. The same reset hang appeared in CI for isaac-sim#7838, isaac-sim#7608, isaac-sim#7832, isaac-sim#7834, and isaac-sim#7866. [The isaac-sim#7866 RL log](https://github.com/isaac-sim/IsaacLab/actions/runs/35202342707/job/105139978507) shows the batch blocked on Franka Lift after environment setup. isaac-sim#7866 fixes the independently configured Franka Pour task; it does not change Lift's robot configuration. This change covers Lift/Reorient only. Validation: - Fresh regression check on this branch: both Lift/Reorient cases failed without the production fix; all 9 tests in `test_lift_env_cfg.py` passed with it. - `uv run isaaclab -f` passed. - Earlier GPU validation of the identical Lift change completed the original 2,048-state harvest and reset in 22.169 seconds; the existing four-task RSL-RL export batch passed in 107.92 seconds. - Local GPU validation used PyTorch 2.11+cu128, Newton 1.6rc1, and RSL-RL 5.4.1. The identical Lift fix also passed [the full locked-environment RL CI job in isaac-sim#7865](https://github.com/isaac-sim/IsaacLab/actions/runs/35207648168/job/105158711330). Reset-bank sizes, clearance criteria, export behavior, the global Franka defaults, and Pour remain unchanged. (cherry picked from commit c5d33ef)
…aac-sim#7870) Franka Lift can stall while filling its reset-state bank: the updated `franka_panda.usda` defaults to `Colliders=primitives`, whose first-link capsule extends 6 cm below the ground. The existing ground-clearance criterion rejects every candidate, leaving the RSL-RL export batch at `0/2048` until its 600-second timeout. This PR selects `Colliders=convex_hulls` on the robot configuration shared by rigid Franka Lift and Reorient, restoring the previous collision geometry and successful reset sampling. The affected asset and reset setup originated in [isaac-sim#6457](isaac-sim#6457) ([564a008](isaac-sim@564a008)), then moved into the current Lift tasks in [isaac-sim#6732](isaac-sim#6732) ([73106da](isaac-sim@73106da)). The triggering change is external: the production Franka asset's top layer now selects primitive colliders and reports `Last-Modified: 2026-09-15 22:49:27 GMT`. Controlled comparisons found 0 valid states in 128 draws with the new default; explicit convex hulls and the preserved old asset both produced 63 valid states from the same draws. The same reset hang appeared in CI for isaac-sim#7838, isaac-sim#7608, isaac-sim#7832, isaac-sim#7834, and isaac-sim#7866. [The isaac-sim#7866 RL log](https://github.com/isaac-sim/IsaacLab/actions/runs/35202342707/job/105139978507) shows the batch blocked on Franka Lift after environment setup. isaac-sim#7866 fixes the independently configured Franka Pour task; it does not change Lift's robot configuration. This change covers Lift/Reorient only. Validation: - Fresh regression check on this branch: both Lift/Reorient cases failed without the production fix; all 9 tests in `test_lift_env_cfg.py` passed with it. - `uv run isaaclab -f` passed. - Earlier GPU validation of the identical Lift change completed the original 2,048-state harvest and reset in 22.169 seconds; the existing four-task RSL-RL export batch passed in 107.92 seconds. - Local GPU validation used PyTorch 2.11+cu128, Newton 1.6rc1, and RSL-RL 5.4.1. The identical Lift fix also passed [the full locked-environment RL CI job in isaac-sim#7865](https://github.com/isaac-sim/IsaacLab/actions/runs/35207648168/job/105158711330). Reset-bank sizes, clearance criteria, export behavior, the global Franka defaults, and Pour remain unchanged. (cherry picked from commit c5d33ef)
|
run-ci |
) (#7917) ## Description Backports #7832 to `release/3.0.0` from commit `23cf3329efbdf657527b5086ec0e2f36f2d9759f`. Removes seven empty subclass routing tables so Newton and MuJoCo configs inherit the correct USD namespaces for gravity, collision offsets, and joint velocity limits. Includes the consolidated regression tests and original changelog fragment. The patch applies without conflicts or release-specific changes. ## Validation - `test_newton_schemas.py`: **16 passed** on the release branch. - Restoring the original empty routing tables in memory makes all **7 routing regression cases fail**. - Exact-patch backport validation and `uv run isaaclab -f`: passed. Local tests used Isaac Sim 6.0.1.0, Newton 1.6.0rc1, and PyTorch 2.12.0. Docker CI will validate the pinned environment. Co-authored-by: vidurv-nvidia <[email protected]>
…7530, #7899) (#7926) ## Description Backports the two changes merged into `develop` since September 19 that are still missing from `release/3.0.0`: | Source PR | Change | Source commit | | --- | --- | --- | | #7530 | Validate camera outputs against renderer capabilities before simulator startup | `31d1c53510490c76841e9c35a329574b357d9900` | | #7899 | Share native resources by construction cfg and centralize ownership and teardown | `c90c3a1097a0a669a823b880b1c8d0654d7fd267` | Includes the original regression tests, API documentation, and changelog fragments. #7530 applied without changes. #7899 required two conflict resolutions to retain the release branch's OVRTX mapping API, documentation, and tests. Of its 62 files, 59 match the merged source exactly; the other three retain those existing release additions. Release versions, lockfile entries, compiled changelogs, and documentation routing are preserved. ## Audit Checked all **33 PRs** merged from September 19, 2026 00:00 America/Los_Angeles through `develop` commit `c90c3a1097` (September 20, 21:29 Pacific), against release base `75e9c8ce12`. **31 are already backported; the remaining two are included here.** Git first-parent history and GitHub's merged PR list agree. Automatic changelog/version compilation remains branch-specific. <details> <summary>31 PRs already recorded in release</summary> | Source PRs | Existing release commit | | --- | --- | | #7777, #7608, #7895, #7872, #7831, #7834, #7838, #7840, #7903, #7674 | [`ff22c52891`](ff22c52) | | #7886 | [`41bfaee5f0`](41bfaee) | | #7042 | [`970d21ef48`](970d21e) | | #7905 | [`f0563d1f9e`](f0563d1) | | #7604 | [`dca7cfe984`](dca7cfe) | | #7610, #7603 | [`5dd2220243`](5dd2220) | | #7839 | [`b8b93bb96e`](b8b93bb) | | #6851 | [`baa025ad90`](baa025a) | | #7250 | [`f86b33e6b1`](f86b33e) | | #7910 | [`24f7b4842b`](24f7b48) | | #7810 | [`9738e096c8`](9738e09) | | #7832 | [`be270ed88b`](be270ed) | | #4679 | [`80157aa22d`](80157aa) | | #7914 | [`01b59b5a22`](01b59b5) | | #7502 | [`db7db61f60`](db7db61) | | #7918 | [`bca9dba8bb`](bca9dba) | | #7919 | [`ef1514c97c`](ef1514c) | | #7922 | [`7d6979a19e`](7d6979a) | | #7923 | [`a1dd560b98`](a1dd560) | | #7924 | [`892e51dc1d`](892e51d) | | #7925 | [`75e9c8ce12`](75e9c8c) | </details> ## Validation **745 tests passed** on the combined backport: - Core registry, configclass, replication, camera contracts, and task presets: 158 passed. - Newton manager/model/reset and coupling suites: 299 passed. - OVPhysX/OVRTX lifecycle, scene data, bindings, and material contracts: 141 passed on CPU. - Clone-plan algebra: 83 passed. - All 8 OV CUDA cases skipped in the CPU run: 8 passed on GPU. - OVPhysX ray-caster regression: 1 passed. - Kit simulation-context and PhysX scene-data tests: 54 passed. - Newton solver reset integration: 1 passed. The registry-identity and borrowed-config-field regressions both fail with the pre-backport implementations and pass with this change. Backport file-scope validation, source-file comparison, `git diff --check`, and `uv run isaaclab -f` passed. Local validation used PyTorch 2.12.0/CUDA 13.0, Isaac Sim 6.0.1.0, Newton 1.6.0rc1, and an RTX 5090. Existing deprecation/runtime warnings occurred. Full Docker CI is requested separately against the pinned environment; local checks do not claim a startup or runtime speedup. ## Checklist - [x] Read the contribution guidelines and ran formatting/changelog checks. - [x] Included source tests, documentation, and changelog fragments. - [x] Verified regression behavior and preserved release-specific changes. - [x] Recorded source commit hashes and audited the requested merge window. --------- Co-authored-by: Antoine RICHARD <[email protected]> Co-authored-by: ooctipus <[email protected]>
Description
Nine Newton schema config classes redeclare
_usd_field_exceptions: ClassVar[dict] = {}. The writer reads that table with a plaingetattr, so normal MRO lookup stops at the subclass's empty dict and the inherited routing table is never consulted. The affected fields then fall through to per-declaring-class routing and land in the base namespace.The user-visible result is a silently inert attribute. For example, a Newton rigid-body cfg with
disable_gravity=Trueauthors:Gravity stays on. Same shape for
contact_offset/rest_offseton the collision cfgs. Formax_joint_velocityit is louder — the writer raises:Seven of the nine shadow a non-empty base table and are fixed here:
NewtonRigidBodyPropertiesCfg,MujocoRigidBodyPropertiesCfg,NewtonCollisionPropertiesCfg,NewtonMeshCollisionPropertiesCfg,NewtonSDFCollisionPropertiesCfg,NewtonJointDrivePropertiesCfg,MujocoJointDrivePropertiesCfg.The remaining two —
NewtonDeformableBodyPropertiesCfgandNewtonMaterialPropertiesCfg— are left alone deliberately: their bases carry no routing table, so the empty redeclaration is currently inert. It is the same latent footgun and worth a follow-up, but changing it here would be a behavior change with no bug to point at.Supersedes #6504, whose branch predates substantial changes to this file.
Type of change
Testing
Routing coverage includes all seven affected config classes, including the multiply inherited mesh config and angular joint-velocity conversion. Four checks extend existing schema tests; one Newton rigid-body test and a parametrized joint-drive test cover the remaining classes.
test_newton_schemas.py: 16 passed.uv run isaaclab -f: passed.Local validation used Isaac Sim 6.0.1.0, Newton 1.6.0rc1, and PyTorch 2.12.0; this does not replace CI against the pinned dependencies.
Checklist
pre-commitchecks with./isaaclab.sh --formatsource/<pkg>/changelog.d/for every touched packageCONTRIBUTORS.mdor my name already exists there