Repository navigation
Bump Newton to commit 81cdcfc - #6586
Conversation
2bf6d52 to
d6ea933
Compare
Greptile SummaryThis PR bumps the pinned Newton commit to
Confidence Score: 5/5The 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
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
%%{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
Reviews (1): Last reviewed commit: "Scope MuJoCo-Warp contact workaround" | Re-trigger Greptile |
6593708 to
218612d
Compare
218612d to
7595be0
Compare
# Conflicts: # pyproject.toml
| lateral_offset = ( | ||
| 0.01 if use_mujoco_contacts and device.startswith("cuda") and shape_type == ShapeType.MESH_CAPSULE else 0.0 | ||
| ) |
There was a problem hiding this comment.
This seems test only change. Do we need to adapt impl code?
There was a problem hiding this comment.
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.
# 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]>
Description
Bumps Newton from
c7ae7c7648cd0717df39e5c94b95d5a02c997320to81cdcfc2dd89f8b7285e32b5e3853092a97fa6f9and pins compatible MuJoCo3.10.0, MuJoCo-Warp3.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
Screenshots
Not applicable.
Validation
isaaclab_newtoncases before the develop rebase; after the rebase, both focused hard-reset cases and all 80 manager cases passedChecklist
./isaaclab.sh --formatsource/<pkg>/changelog.d/for every touched packageCONTRIBUTORS.mdor my name already exists there