Skip to content

Bump Newton to commit 81cdcfc - #6586

Merged
AntoineRichard merged 5 commits into
isaac-sim:developfrom
mmichelis:mmichelis/bump-newton-95a1cb9
Jul 21, 2026
Merged

AntoineRichard merged 5 commits into
isaac-sim:developfrom
mmichelis:mmichelis/bump-newton-95a1cb9

Conversation

@mmichelis

@mmichelis mmichelis commented Jul 17, 2026 •

Copy link
Copy Markdown
Contributor

Description

Bumps Newton from c7ae7c7648cd0717df39e5c94b95d5a02c997320 to 81cdcfc2dd89f8b7285e32b5e3853092a97fa6f9 and pins compatible MuJoCo 3.10.0, MuJoCo-Warp 3.10.0.2, and Newton USD schemas >=0.4.0. Upstream comparison: c7ae7c7...81cdcfc.

Migrates the Newton Warp renderer to the current tiled-camera APIs. The contact regression applies a 0.01 m lateral offset only to the affected CUDA MuJoCo-Warp mesh-capsule case tracked by google-deepmind/mujoco_warp#1527.

Type of change

  • Bug fix (non-breaking change which fixes an issue)

Screenshots

Not applicable.

Validation

  • 1,016 unique isaaclab_newton cases before the develop rebase; after the rebase, both focused hard-reset cases and all 80 manager cases passed
  • Post-rebase contact suite: 83 passed and 6 xpassed
  • Post-rebase Newton Warp renderer: 5 of 5 strict AOV cases
  • Post-rebase RL entrypoints: 7 core tests and 2 RSL-RL typed preset tests
  • Five post-rebase unified-CLI Newton training smokes across MJWarp and Kamino
  • 11 upstream ViewerUSD tests
  • Pin, installation, changelog, and repository-wide pre-commit checks

Checklist

  • I have read and understood the contribution guidelines
  • I have run the pre-commit checks with ./isaaclab.sh --format
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • I have added a changelog fragment under source/<pkg>/changelog.d/ for every touched package
  • I have added my name to CONTRIBUTORS.md or my name already exists there

@github-actions github-actions Bot added isaac-lab Related to Isaac Lab team infrastructure labels Jul 17, 2026
@mmichelis
mmichelis force-pushed the mmichelis/bump-newton-95a1cb9 branch from 2bf6d52 to d6ea933 Compare July 17, 2026 10:52
@mmichelis mmichelis changed the title Bump Newton to commit 95a1cb9 Bump Newton to commit 81cdcfc Jul 17, 2026
@mmichelis
mmichelis marked this pull request as ready for review July 17, 2026 13:54
@greptile-apps

greptile-apps Bot commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR bumps the pinned Newton commit to 81cdcfc, adds explicit MuJoCo (~=3.10.0) and MuJoCo-Warp (~=3.10.0,>=3.10.0.2) override pins, migrates the Newton Warp renderer to the new default_render_config / compute_camera_rays_pinhole APIs, and applies a 0.01 m Y-axis workaround in the horizontal-collision test to avoid the symmetric GJK edge case tracked in MuJoCo-Warp #1527.

  • pyproject.toml: Newton commit bumped, MuJoCo + MuJoCo-Warp locked via override-dependencies, and newton-usd-schemas minimum raised from >=0.3.1 to >=0.4.0.
  • newton_warp_renderer.py: SensorTiledCamera constructor argument renamed from config= to default_render_config=; render_config attribute accesses replaced with default_render_config; compute_pinhole_camera_rays replaced with compute_camera_rays_pinhole; the redundant else: RenderOrder.TILED branch removed since TILED is now the constructor default.
  • test_contact_sensor.py: Targeted lateral_offset applied only on CUDA + MuJoCo contacts + MESH_CAPSULE to break the GJK symmetry that causes false negatives upstream.

Confidence Score: 5/5

The change is a targeted upstream dependency bump with mechanical API renames and a narrowly scoped test workaround; no correctness issues were found.

All four changed files look correct. The renderer renames are straightforward API migrations. The removed else-RenderOrder.TILED branch is safe because the constructor already sets that default. The test lateral_offset is correctly scoped and survives the per-group pose update loop because only the X coordinate is overwritten. Dependency constraints in pyproject.toml are valid PEP 508 and pin the intended version range.

No files require special attention.

Important Files Changed

Filename Overview
pyproject.toml Newton commit bumped; MuJoCo 3.10.0 and MuJoCo-Warp >=3.10.0.2 added as override-dependencies; newton-usd-schemas minimum raised to >=0.4.0; constraints are valid PEP 508 syntax.
source/isaaclab_newton/isaaclab_newton/renderers/newton_warp_renderer.py Three API rename migrations: constructor kwarg config to default_render_config, attribute render_config to default_render_config, and compute_pinhole_camera_rays to compute_camera_rays_pinhole with keyword arg. Redundant else-TILED branch removed cleanly since TILED is already set in the constructor.
source/isaaclab_newton/test/sensors/test_contact_sensor.py Adds a 0.01 m lateral Y-offset to object_b's initial position, scoped to CUDA+MuJoCo+MESH_CAPSULE, to break GJK symmetry. Offset is preserved through the per-group pose update loop since that loop only modifies the X coordinate.
source/isaaclab_newton/changelog.d/mmichelis-bump-newton-279f225.rst New changelog fragment documenting the Newton commit bump and renderer migration. Correctly placed in the changelog.d directory.

Flowchart

%%{init: {'theme': 'neutral'}}%%
flowchart TD
    A[NewtonWarpRenderer.initialize] --> B["SensorTiledCamera(default_render_config=RenderConfig(TILED))"]
    B --> C{render_order cfg}
    C -->|pixel_priority| D[set default_render_config.render_order = PIXEL_PRIORITY]
    C -->|view_priority| E[set default_render_config.render_order = VIEW_PRIORITY]
    C -->|other / tiled| F[keep constructor default: TILED]
    D --> G[render loop]
    E --> G
    F --> G
    G --> H["render(render_data)"]
    H --> I["set default_render_config.max_distance = far_clip"]
    I --> J["refit_bvh_shape(model, state)"]
    J --> K["newton_sensor.update(state, transforms, camera_rays, ...)"]
    K --> L{plane depth requested?}
    L -->|yes| M[convert_plane_depth + apply_depth_clipping]
    L -->|no| N[done]
    M --> N
Loading
%%{init: {'theme': 'base', 'themeVariables': {"darkMode": true, "background": "#0d1117", "primaryColor": "#21262d", "primaryTextColor": "#e6edf3", "primaryBorderColor": "#8b949e", "lineColor": "#8b949e", "textColor": "#e6edf3", "edgeLabelBackground": "#161b22", "actorBkg": "#21262d", "actorBorder": "#8b949e", "actorTextColor": "#e6edf3", "actorLineColor": "#8b949e", "signalColor": "#8b949e", "signalTextColor": "#e6edf3", "noteBkgColor": "#373320", "noteBorderColor": "#d4a72c", "noteTextColor": "#f0e6c0", "labelBoxBkgColor": "#21262d", "labelBoxBorderColor": "#8b949e", "labelTextColor": "#e6edf3", "loopTextColor": "#e6edf3", "activationBkgColor": "#30363d", "activationBorderColor": "#8b949e"}}}%%
flowchart TD
    A[NewtonWarpRenderer.initialize] --> B["SensorTiledCamera(default_render_config=RenderConfig(TILED))"]
    B --> C{render_order cfg}
    C -->|pixel_priority| D[set default_render_config.render_order = PIXEL_PRIORITY]
    C -->|view_priority| E[set default_render_config.render_order = VIEW_PRIORITY]
    C -->|other / tiled| F[keep constructor default: TILED]
    D --> G[render loop]
    E --> G
    F --> G
    G --> H["render(render_data)"]
    H --> I["set default_render_config.max_distance = far_clip"]
    I --> J["refit_bvh_shape(model, state)"]
    J --> K["newton_sensor.update(state, transforms, camera_rays, ...)"]
    K --> L{plane depth requested?}
    L -->|yes| M[convert_plane_depth + apply_depth_clipping]
    L -->|no| N[done]
    M --> N
Loading

Reviews (1): Last reviewed commit: "Scope MuJoCo-Warp contact workaround" | Re-trigger Greptile

@mmichelis
mmichelis force-pushed the mmichelis/bump-newton-95a1cb9 branch from 6593708 to 218612d Compare July 17, 2026 14:41
@mmichelis
mmichelis force-pushed the mmichelis/bump-newton-95a1cb9 branch from 218612d to 7595be0 Compare July 18, 2026 15:01
@mmichelis
mmichelis requested a review from a team July 18, 2026 15:01
Comment on lines +228 to +230
lateral_offset = (
0.01 if use_mujoco_contacts and device.startswith("cuda") and shape_type == ShapeType.MESH_CAPSULE else 0.0
)

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 seems test only change. Do we need to adapt impl code?

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.

@mmichelis mmichelis Jul 21, 2026 •

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Thanks for bringing this up, indeed it would make sense if this is not just a test change. But I had an agent do a deep dive into all environments, and it seems dexsuite is the closest to this zero-margin edge case, but they use the newton collision pipeline and not mujoco contacts, so this bug is not triggered. It does indeed remain a test-case only change as far as I'm aware.

@AntoineRichard
AntoineRichard merged commit cf5b810 into isaac-sim:develop Jul 21, 2026
41 checks passed
matthewtrepte pushed a commit to matthewtrepte/IsaacLab that referenced this pull request Aug 4, 2026
# Description

Bumps Newton from `c7ae7c7648cd0717df39e5c94b95d5a02c997320` to
`81cdcfc2dd89f8b7285e32b5e3853092a97fa6f9` and pins compatible MuJoCo
`3.10.0`, MuJoCo-Warp `3.10.0.2`, and Newton USD schemas `>=0.4.0`.
Upstream comparison:
[c7ae7c7...81cdcfc](newton-physics/newton@c7ae7c7...81cdcfc).

Migrates the Newton Warp renderer to the current tiled-camera APIs. The
contact regression applies a 0.01 m lateral offset only to the affected
CUDA MuJoCo-Warp mesh-capsule case tracked by
[google-deepmind/mujoco_warp#1527](google-deepmind/mujoco_warp#1527).

## Type of change

- Bug fix (non-breaking change which fixes an issue)

## Screenshots

Not applicable.

## Validation

- 1,016 unique `isaaclab_newton` cases before the develop rebase; after
the rebase, both focused hard-reset cases and all 80 manager cases
passed
- Post-rebase contact suite: 83 passed and 6 xpassed
- Post-rebase Newton Warp renderer: 5 of 5 strict AOV cases
- Post-rebase RL entrypoints: 7 core tests and 2 RSL-RL typed preset
tests
- Five post-rebase unified-CLI Newton training smokes across MJWarp and
Kamino
- 11 upstream ViewerUSD tests
- Pin, installation, changelog, and repository-wide pre-commit checks

## Checklist

- [x] I have read and understood the [contribution
guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html)
- [x] I have run the [pre-commit checks](https://pre-commit.com/) with
`./isaaclab.sh --format`
- [ ] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have added tests that prove my fix is effective or that my
feature works
- [x] I have added a changelog fragment under
`source/<pkg>/changelog.d/` for every touched package
- [x] I have added my name to `CONTRIBUTORS.md` or my name already
exists there

---------

Co-authored-by: AntoineRichard <[email protected]>
Co-authored-by: HuiDong Chen <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

infrastructure isaac-lab Related to Isaac Lab team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants