Skip to content

Remove bind_cloth_vis, enables arbitrary surface mesh to be loaded and auto-tetrahedralized, share physics material between Newton and PhysX backends - #3

Merged
xiangdonglai merged 42 commits into
xiangdonglai:donglaix/deformable_newton_apifrom
mmichelis:mym/deformable_newton_api
Apr 21, 2026

Conversation

@mmichelis

@mmichelis mmichelis commented Apr 17, 2026 •

Copy link
Copy Markdown
Collaborator

Current solution uses pytetwild, and enforces the visual surface mesh to be the same as the surface of the simulation tetrahedral mesh. We have all physics material parameters in the physics material, shared by physx and newton backend.

uebian and others added 25 commits April 15, 2026 18:45
…sim#5277)

# Description

According to
https://isaac-sim.github.io/IsaacLab/develop/source/migration/migrating_to_isaaclab_3-0.html,
IsaacLab 3.0 has deprecated the `--headless` parameter, and requires
explicit `--viz` parameter to enable visualization.

This update the command in the installation document to add `--viz` so
that it can align with the later description

> The above command should launch the simulator and display a window
with a black viewport.

## Type of change

- Documentation update

## 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`
- [X] I have made corresponding changes to the documentation
- [X] My changes generate no new warnings
- [ ] I have added tests that prove my fix is effective or that my
feature works
- [ ] I have updated the changelog and the corresponding version in the
extension's `config/extension.toml` file
- [X] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there

<!--
As you go through the checklist above, you can mark something as done by
putting an x character in it

For example,
- [x] I have done this task
- [ ] I have not done this task
-->

---------

Signed-off-by: Bocheng Zou <[email protected]>
Co-authored-by: isaaclab-review-bot[bot] <270793704+isaaclab-review-bot[bot]@users.noreply.github.com>
…im#5290)

## Summary

- Reverts isaac-sim#5241 (pinocchio/nvidia.srl Docker hacks + CI cosmetic
changes) and isaac-sim#5266 (nvidia.srl symlink removal).
- Pins `ISAACSIM_BASE_VERSION` in CI to the Apr 8 `latest-develop`
digest
(`sha256:f085fb5b6899511bb19abdf18121bfc469901334aefb029d0def56d4fef79c58`)
— the last nightly where CI was green.
- All CI runs since Apr 13 have been failing. The newer nightlies appear
broken and the Dockerfile hacks targeting them are unnecessary when
pinned to the known-good image.

## What to revert later

Once the `latest-develop` nightly is fixed upstream:
1. Remove the `@sha256:...` digest pin from `build.yaml` (restore
`'latest-develop'`).
2. Re-evaluate whether the pinocchio/nvidia.srl Dockerfile hacks from
isaac-sim#5241 are still needed with the fixed nightly.

## Test plan

- [ ] CI build and tests pass on this PR with the pinned image
- [ ] Verify the `latest-develop@sha256:...` format is resolved
correctly by Docker BuildKit
…now since scene_data_provider update already syncs)
…b_physx (isaac-sim#5049)

# Description

Update the deformable body implementation in the PhysX backend according
to the new [Omni Physics migration
guide](https://docs.omniverse.nvidia.com/kit/docs/omni_physics/110.0/dev_guide/deformables/deformable_migration.html)
(v110.0). Main changes are:

- Migrates all deformable body schemas, materials, and spawner configs
from `isaaclab` to `isaaclab_physx`, since deformables are
PhysX-specific.
- Updates `DeformableObject` to support both **surface** (cloth/triangle
mesh) and **volume** (soft body/tetrahedral mesh) deformables via the
new PhysX `DeformableBodyView` API, replacing the deprecated
`SoftBodyView`.
- Adds `MeshSquareCfg` / `spawn_mesh_square` for spawning 2D triangle
mesh grids used as cloth.
- Adds physics material support when spawning deformables from USD
files.
- Introduces namespace-aware config classes (`OmniPhysicsPropertiesCfg`,
`PhysXDeformableBodyPropertiesCfg`, `PhysXCollisionPropertiesCfg`) that
route properties to the correct USD attribute prefixes (`omniphysics:`,
`physxDeformableBody:`, `physxCollision:`).

Fixes isaac-sim#4469 and addresses isaac-sim#2004.

## Type of change

- Bug fix: Deformable demos
- Breaking change: PhysX removed some deformable object functionality,
such as computing per-element internal stresses and deformation
gradients.
- Documentation update

## Migration guide

- `DeformableBodyPropertiesCfg` → `from isaaclab_physx.sim.schemas
import DeformableBodyPropertiesCfg`
- `define_deformable_body_properties` /
`modify_deformable_body_properties` → `from isaaclab_physx.sim.schemas
import define_deformable_body_properties,
modify_deformable_body_properties`
- `DeformableBodyMaterialCfg` → `from
isaaclab_physx.sim.spawners.materials import DeformableBodyMaterialCfg`
- `DeformableObjectSpawnerCfg` → `from
isaaclab_physx.sim.spawners.spawner_cfg import
DeformableObjectSpawnerCfg`

## Demos

- Run `./isaaclab.sh -p scripts/demos/deformables.py` — verify mixed
surface and volume deformables simulate correctly
- Run `./isaaclab.sh -p
scripts/tutorials/01_assets/run_deformable_object.py --visualizer kit` —
verify tutorial works for kinematically constrained volume deformables
- Run `./isaaclab.sh -p -m pytest
source/isaaclab_physx/test/assets/test_deformable_object.py`

## 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`
- [x] 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 updated the changelog and the corresponding version in the
extension's `config/extension.toml` file
- [x] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there

---------

Signed-off-by: myurasov-nv <[email protected]>
Signed-off-by: Mike Yan Michelis <[email protected]>
Signed-off-by: Kelly Guo <[email protected]>
Signed-off-by: Dhyan Umeshkumar Thakkar <[email protected]>
Signed-off-by: bxwang <[email protected]>
Signed-off-by: bixiong wang <[email protected]>
Signed-off-by: vidurv-nvidia <[email protected]>
Co-authored-by: rwiltz <[email protected]>
Co-authored-by: HuiDong Chen <[email protected]>
Co-authored-by: Piotr Barejko <[email protected]>
Co-authored-by: esekkin <[email protected]>
Co-authored-by: nvsekkin <[email protected]>
Co-authored-by: Kelly Guo <[email protected]>
Co-authored-by: Ruben D'Sa <[email protected]>
Co-authored-by: myurasov-nv <[email protected]>
Co-authored-by: greptile-apps[bot] <165735046+greptile-apps[bot]@users.noreply.github.com>
Co-authored-by: Antoine Richard <[email protected]>
Co-authored-by: ooctipus <[email protected]>
Co-authored-by: Dhyan Umeshkumar Thakkar <[email protected]>
Co-authored-by: Kelly Guo <[email protected]>
Co-authored-by: bixiong wang <[email protected]>
Co-authored-by: bxwang <[email protected]>
Co-authored-by: Copilot <[email protected]>
Co-authored-by: vidurv-nvidia <[email protected]>
Co-authored-by: isaaclab-review-bot[bot] <270793704+isaaclab-review-bot[bot]@users.noreply.github.com>
# Description

- Adds a Newton-backend IMU sensor (`isaaclab_newton.sensors.imu`) that
wraps Newton's native `SensorIMU`, providing angular velocity and linear
acceleration in the sensor's body frame
- Extends `NewtonManager` with `request_state_attribute()` /
`request_contact_attribute()` for sensors to declare required extended
attributes before model finalization
- Adds IMU sensor lifecycle management to `NewtonManager`
(`add_imu_sensor()`, per-step updates in `_simulate_physics_only()`)
- Wires Newton IMU into the base `Imu`/`ImuData` factory classes for
automatic backend dispatch
- Uses site injection via `cl_register_site()`.
…on (isaac-sim#4829)

## Summary

Cherry-pick of warp manager-based env infrastructure from `dev/newton`,
refactored for `develop`.

### `isaaclab_experimental`
* Added warp-compatible manager implementations (`ActionManager`,
`ObservationManager`, `EventManager`,
`CommandManager`, `TerminationManager`, `RewardManager`) with Warp
kernel execution and CUDA graph
  capture support.
* Added `ManagerCallSwitch` utility for per-manager eager/captured
dispatch, configured via
  `MANAGER_CALL_CONFIG` env var.
* Added `ManagerBasedEnvWarp` and `ManagerBasedRLEnvWarp` orchestration
env classes.
* Added warp MDP terms (observations, rewards, terminations, events,
joint actions).
* Added utility modules: buffers (circular buffer), modifiers, noise
models, warp kernels/helpers.
* Added experimental `SceneEntityCfg` with warp joint mask/ids for
kernel-level joint selection.
* Generalized configclass default materialization in `ManagerBase` for
automatic `SceneEntityCfg` resolution.

### `isaaclab_tasks_experimental`
* Added `Isaac-Cartpole-Warp-v0` task as reference environment for warp
manager-based workflow.

### `isaaclab_rl`
* Updated rsl_rl, rl_games, sb3, skrl wrappers to accept
`ManagerBasedRLEnvWarp` and `DirectRLEnvWarp`.

### `isaaclab`
* Fixed `SettingsManager` to catch `RuntimeError` when carb is
unavailable.
* Minor comment cleanup in `ObservationManager`.

## Dependencies

Must be merged **after**:
1. isaac-sim#4905 (merged)

## Validated base

Validated against develop at `7588fa9ed5f`.

## Known limitations
* `Scene_write_data_to_sim` capped to mode=1 (eager) via
`MAX_MODE_OVERRIDES` — articulation
`_apply_actuator_model` uses `wp.to_torch + torch indexing`, not CUDA
graph capture-safe.

## Test plan
- [x] `Isaac-Cartpole-Warp-v0` training (4096 envs, 300 iters, mode=2):
converges (reward 4.95, ep_len 300)

---------

Co-authored-by: Antoine RICHARD <[email protected]>
Introduce _mark_transforms_dirty() and _mark_particles_dirty() as
independent primitives, keeping _mark_state_dirty() as a convenience
wrapper. Replace direct flag assignments in start_simulation() with
method calls for consistency.

Also restore use_cuda_graph=True in pick_cloth config (was disabled
for debugging).
…now since scene_data_provider update already syncs)
@github-actions github-actions Bot added documentation Improvements or additions to documentation isaac-lab infrastructure labels Apr 17, 2026
@mmichelis
mmichelis marked this pull request as ready for review April 21, 2026 17:43
@mmichelis mmichelis changed the title Remove bind_cloth_vis, enables arbitrary surface mesh to be loaded and auto-tetrahedralized Remove bind_cloth_vis, enables arbitrary surface mesh to be loaded and auto-tetrahedralized, share physics material between Newton and PhysX backends Apr 21, 2026
@mmichelis
mmichelis requested a review from xiangdonglai April 21, 2026 17:48
@xiangdonglai
xiangdonglai merged commit 96f3f1c into xiangdonglai:donglaix/deformable_newton_api Apr 21, 2026
5 of 8 checks passed
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

Projects

None yet

Development

Successfully merging this pull request may close these issues.

6 participants