Skip to content

Adds multi backend, multi render, refactored dexsuite environments - #4888

Merged
ooctipus merged 18 commits into
isaac-sim:developfrom
ooctipus:feature/add_dexsuite
Mar 10, 2026
Merged

ooctipus merged 18 commits into
isaac-sim:developfrom
ooctipus:feature/add_dexsuite

Conversation

@ooctipus

@ooctipus ooctipus commented Mar 9, 2026

Copy link
Copy Markdown
Collaborator

Description

  • Added Dexsuite multi-hand dexterous manipulation environments with Kuka Allegro configurations for lift and
    reorientation tasks.

  • The newton backend is runable and trainable but has undesired NAN when policy is about to succeed.

Fixes # (issue)

Type of change

  • New feature (non-breaking change which adds functionality)

Screenshots

Please attach before and after screenshots of the change if applicable.

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

@ooctipus
ooctipus requested a review from Mayankm96 as a code owner March 9, 2026 08:05
@github-actions github-actions Bot added enhancement New feature or request isaac-lab Related to Isaac Lab team labels Mar 9, 2026
@greptile-apps

greptile-apps Bot commented Mar 9, 2026

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR introduces multi-backend (PhysX and Newton) support for the Dexsuite dexterous manipulation environments and refactors the Kuka Allegro configurations for lift and reorientation tasks.

Critical issues requiring fixes before merge:

  1. CNN layer configuration bug: rsl_rl_ppo_cfg.py defines max_pool=[True, True, True] (3 elements) but only 2 output channels and 2 kernel sizes — this length mismatch will cause a runtime error when any vision-based policy is trained.

  2. Articulation detection regression: articulation.py adds a new check for physxArticulation:articulationEnabled attribute using .Get(), which returns None for unset attributes. This breaks backward compatibility by silently excluding valid articulations that rely on the schema default True value, causing existing assets to fail with "Failed to find an articulation" error.

Code quality issues:

  1. Cached parameters unnecessarily overwritten: randomize_newton_physics_scene_gravity in events.py caches distribution tensors at init but unconditionally overwrites them on every call, contradicting the caching intent and docstring. This should either use fixed parameters or remove the caching overhead entirely.

  2. Docstring-code mismatch: object_ee_distance docstring claims "Half reward (0.5x) when no contact" but the code applies a 0.1x multiplier via clamp(0.1, 1.0).

The changes include a new randomize_newton_physics_scene_gravity event term, backend-specific PresetCfg classes for physics, events, and scene objects, an updated RSL-RL API migration, and refactored contact-based reward functions with explicit sensor name parameters.

Confidence Score: 1/5

  • Not safe to merge — contains two definite runtime bugs requiring fixes before any merge.
  • The CNN layer mismatch (max_pool) will cause an immediate runtime error for any vision-based training run. The articulation predicate regression will break existing PhysX assets that don't explicitly author the articulationEnabled attribute. Both must be fixed before merge. The remaining issues are code quality / documentation concerns that should also be addressed.
  • source/isaaclab_tasks/.../agents/rsl_rl_ppo_cfg.py (CNN layer length mismatch) and source/isaaclab_physx/.../articulation/articulation.py (articulation predicate regression)

Last reviewed commit: 72a1d07

@kellyguo11

Copy link
Copy Markdown
Contributor

looks like an error in the training test

Traceback (most recent call last):
  File "/workspace/isaaclab/scripts/reinforcement_learning/rl_games/train.py", line 237, in <module>
    main()
  File "/workspace/isaaclab/scripts/reinforcement_learning/rl_games/train.py", line 80, in main
    env_cfg, agent_cfg = resolve_task_config(args_cli.task, args_cli.agent)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/workspace/isaaclab/source/isaaclab_tasks/isaaclab_tasks/utils/hydra.py", line 168, in resolve_task_config
    env_cfg, agent_cfg, presets = register_task(task, agent_cfg_entry_point)
                                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/workspace/isaaclab/source/isaaclab_tasks/isaaclab_tasks/utils/hydra.py", line 293, in register_task
    agent_cfg = load_cfg_from_registry(task_name, agent_entry)
                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
  File "/workspace/isaaclab/source/isaaclab_tasks/isaaclab_tasks/utils/parse_cfg.py", line 144, in load_cfg_from_registry
    with open(config_file, encoding="utf-8") as f:
         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
FileNotFoundError: [Errno 2] No such file or directory: '/workspace/isaaclab/source/isaaclab_tasks/isaaclab_tasks/manager_based/manipulation/dexsuite/config/kuka_allegro/agents/rl_games_ppo_cfg.yaml'

@kellyguo11

Copy link
Copy Markdown
Contributor

and a doc failure ../source/isaaclab_tasks/docs/CHANGELOG.rst:8: WARNING: Bullet list ends without a blank line; unexpected unindent..

I think a couple of the greptile comments are also valid.

@ooctipus
ooctipus force-pushed the feature/add_dexsuite branch 2 times, most recently from 04e771c to 9739c45 Compare March 9, 2026 22:10
@fatimaanes
fatimaanes self-requested a review March 9, 2026 22:24
@github-actions github-actions Bot added the asset New asset feature or request label Mar 9, 2026
@ooctipus
ooctipus force-pushed the feature/add_dexsuite branch from d4349cc to 50fd12c Compare March 9, 2026 23:38
@ooctipus
ooctipus force-pushed the feature/add_dexsuite branch from bbfcafa to 78b5607 Compare March 10, 2026 04:30
@ooctipus
ooctipus merged commit 5edf040 into isaac-sim:develop Mar 10, 2026
11 of 13 checks passed
@ooctipus
ooctipus deleted the feature/add_dexsuite branch October 14, 2026 14:28
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

asset New asset feature or request enhancement New feature or request isaac-lab Related to Isaac Lab team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants