Skip to content

Default SO-101 cube-stacking tasks to PhysX and document the selector - #7667

Merged
kellyguo11 merged 2 commits into
isaac-sim:developfrom
rwiltz:docs/so101-teleop-physx-note
Sep 9, 2026
Merged

kellyguo11 merged 2 commits into
isaac-sim:developfrom
rwiltz:docs/so101-teleop-physx-note

Conversation

@rwiltz

@rwiltz rwiltz commented Sep 9, 2026 •

Copy link
Copy Markdown
Contributor

Description

SQA reported that the SO-101 gripper visibly penetrates the cubes in the stacking
environments and grasps do not hold.

Root cause. The base stack PhysicsCfg defaults to isaacsim_physx
(contrib/stack/stack_env_cfg.py:323), but the SO-101 subclass overrode that default to
Newton MJWarp in stack_joint_pos_env_cfg.py:71. MJWarp gripper contact response for this
robot is still being tuned. Because -IK-Abs-v0 and -Joint-Teleop-v0 both subclass the
joint-position config, all three SO-101 stacking tasks inherited the Newton default.

This also made the repository self-inconsistent: tools/environ_docs.py already lists all
three tasks in _NEWTON_MJWARP_EXCLUSIONS, so the generated environment browser advertises
them as PhysX-only while the runtime was selecting Newton.

Changes

  1. Flipped the physics preset default back to isaacsim_physx
    (stack_joint_pos_env_cfg.py).
  2. Flipped the two USD payload variant defaults from "physics" (the Newton variant) to
    "physx", in stack_joint_pos_env_cfg.py and stack_ik_abs_env_cfg.py. These must move
    together with the solver default, otherwise PhysX would run against the Newton USD variant.
  3. Made the selector explicit in docs/source/features/isaac_teleop.rst: appended
    physics=isaacsim_physx to the four SO-101 Joint-Teleop launch commands and tagged the two
    environment-reference rows, matching the existing Isaac-Reach-Franka convention. This is
    now belt-and-braces rather than load-bearing, but it keeps the documented commands explicit
    about the backend they rely on.

Newton remains selectable with physics=newton_mjwarp for anyone working on the MJWarp path.
No environment-browser regeneration is needed, since the generated rows are derived from the
declared preset fields minus _NEWTON_MJWARP_EXCLUSIONS and do not encode which one is default.

Verification. Resolved all three registered task configs and confirmed
cfg.sim.physics is now PhysxCfg and the Physics USD variant resolves to physx:

IsaacContrib-Stack-Cube-SO101-v0              -> PhysxCfg   variants default='physx'
IsaacContrib-Stack-Cube-SO101-IK-Abs-v0       -> PhysxCfg   variants default='physx'
IsaacContrib-Stack-Cube-SO101-Joint-Teleop-v0 -> PhysxCfg   variants default='physx'

Fixes # (issue)

Type of change

  • Bug Fix

Release backport

  • Backport this pull request to the active release branch after it merges into develop

Checklist

Docker and GPU tests run on demand. Push the commits you want tested, then
comment run-ci on the pull request.

  • 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 (do not edit CHANGELOG.rst or bump extension.toml — CI handles that)
  • I have added my name to the CONTRIBUTORS.md or my name already exists there

@rwiltz
rwiltz requested a review from a team September 9, 2026 03:16
@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Sep 9, 2026
@greptile-apps

greptile-apps Bot commented Sep 9, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerView in GreptileConfidence Score: 5/5

The PR appears safe to merge because the solver and USD payload defaults are consistently switched to PhysX with no outstanding findings.

Summary

  • Defaults the joint-position task and its derived task configurations to PhysX.
  • Retains Newton MJWarp as an explicit selectable backend.
  • Documents the PhysX selector in SO-101 teleoperation commands and environment references.
  • Adds a changelog fragment explaining the corrected default and motivation.

@isaaclab-review-bot isaaclab-review-bot Bot left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Isaac Lab Review Bot

The documentation now explicitly selects PhysX for affected SO-101 stacking teleoperation workflows, covering all four leader-arm launch variants and both relevant environment-reference entries.

  • Design and architecture: The workaround is scoped to documentation and follows the existing environment-table convention for backend-qualified task entries. It preserves runtime defaults while steering users away from the currently unreliable MJWarp gripper-contact path; the guidance will need removal when that backend is corrected.
  • API: No public API or CLI contract is changed. The documented commands append the existing physics=isaacsim_physx configuration override without altering task IDs or command options.
  • Implementation: The uv and isaaclab.sh examples, with and without XR, consistently include the PhysX override with valid shell continuations. The RST list-table structure remains intact. Readers entering through the XR environment table receive the required selector but not the nearby rationale, which is a minor documentation tradeoff rather than a merge blocker.

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.

The SO-101 stacking environments register without a PresetCfg, so they
resolve to the default physics engine. Under Newton MJWarp the gripper
fingers penetrate the cubes and grasps are unreliable, which SQA reported.
Make the PhysX selector explicit in the documented launch commands and in
the teleoperation environment reference until the MJWarp path is fixed.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
@rwiltz
rwiltz force-pushed the docs/so101-teleop-physx-note branch from 97b031c to 23debb4 Compare September 9, 2026 03:23
@rwiltz rwiltz changed the title Docs/so101 teleop physx note so101 teleop physx preset Sep 9, 2026
@rwiltz
rwiltz requested a review from hujc7 as a code owner September 9, 2026 03:28
@github-actions github-actions Bot added the isaac-lab Related to Isaac Lab team label Sep 9, 2026
@rwiltz rwiltz changed the title so101 teleop physx preset Default SO-101 cube-stacking tasks to PhysX and document the selector Sep 9, 2026
@rwiltz

rwiltz commented Sep 9, 2026

Copy link
Copy Markdown
Contributor Author

run-ci

@rwiltz

rwiltz commented Sep 9, 2026

Copy link
Copy Markdown
Contributor Author

@greptile

@isaaclab-bot isaaclab-bot Bot added ci:run-docker Trigger the on-demand Docker and GPU CI workflow and removed ci:run-docker Trigger the on-demand Docker and GPU CI workflow labels Sep 9, 2026
The SO-101 stack config overrode the base PhysicsCfg default to Newton
MJWarp, whose gripper contact response is still being tuned for this robot:
the jaw penetrates the cubes and grasps do not hold, as SQA reported.

Flip the physics preset default back to isaacsim_physx, along with the two
USD payload variant defaults that select the matching physics scene, so the
asset variant and the solver stay in agreement. Newton remains selectable
with physics=newton_mjwarp. This also restores agreement with the generated
environment browser, which already lists these tasks as PhysX-only via
_NEWTON_MJWARP_EXCLUSIONS in tools/environ_docs.py.

Co-Authored-By: Claude Opus 5 (1M context) <[email protected]>
@rwiltz
rwiltz force-pushed the docs/so101-teleop-physx-note branch from 158ff2d to 180ef36 Compare September 9, 2026 03:32
@rwiltz

rwiltz commented Sep 9, 2026

Copy link
Copy Markdown
Contributor Author

run-ci

@rwiltz

rwiltz commented Sep 9, 2026

Copy link
Copy Markdown
Contributor Author

@greptile

@isaaclab-bot isaaclab-bot Bot added ci:run-docker Trigger the on-demand Docker and GPU CI workflow and removed ci:run-docker Trigger the on-demand Docker and GPU CI workflow labels Sep 9, 2026
@kellyguo11
kellyguo11 merged commit 646d04d into isaac-sim:develop Sep 9, 2026
54 checks passed
@isaaclab-bot

isaaclab-bot Bot commented Sep 9, 2026

Copy link
Copy Markdown
Contributor

Backported to release/3.0.0 as 9b7843e.

isaaclab-bot Bot pushed a commit that referenced this pull request Sep 9, 2026
…#7667)

# Description

SQA reported that the SO-101 gripper visibly penetrates the cubes in the
stacking
  environments and grasps do not hold.
 
**Root cause.** The base stack `PhysicsCfg` defaults to `isaacsim_physx`
(`contrib/stack/stack_env_cfg.py:323`), but the SO-101 subclass overrode
that default to
Newton MJWarp in `stack_joint_pos_env_cfg.py:71`. MJWarp gripper contact
response for this
robot is still being tuned. Because `-IK-Abs-v0` and `-Joint-Teleop-v0`
both subclass the
joint-position config, all three SO-101 stacking tasks inherited the
Newton default.

This also made the repository self-inconsistent: `tools/environ_docs.py`
already lists all
three tasks in `_NEWTON_MJWARP_EXCLUSIONS`, so the generated environment
browser advertises
  them as PhysX-only while the runtime was selecting Newton.

  **Changes**

  1. Flipped the physics preset default back to `isaacsim_physx`
     (`stack_joint_pos_env_cfg.py`).
2. Flipped the two USD payload variant defaults from `"physics"` (the
Newton variant) to
`"physx"`, in `stack_joint_pos_env_cfg.py` and
`stack_ik_abs_env_cfg.py`. These must move
together with the solver default, otherwise PhysX would run against the
Newton USD variant.
3. Made the selector explicit in
`docs/source/features/isaac_teleop.rst`: appended
`physics=isaacsim_physx` to the four SO-101 Joint-Teleop launch commands
and tagged the two
environment-reference rows, matching the existing `Isaac-Reach-Franka`
convention. This is
now belt-and-braces rather than load-bearing, but it keeps the
documented commands explicit
     about the backend they rely on.

Newton remains selectable with `physics=newton_mjwarp` for anyone
working on the MJWarp path.
No environment-browser regeneration is needed, since the generated rows
are derived from the
declared preset fields minus `_NEWTON_MJWARP_EXCLUSIONS` and do not
encode which one is default.
 
**Verification.** Resolved all three registered task configs and
confirmed
`cfg.sim.physics` is now `PhysxCfg` and the `Physics` USD variant
resolves to `physx`:
  
  ```
IsaacContrib-Stack-Cube-SO101-v0 -> PhysxCfg variants default='physx'
IsaacContrib-Stack-Cube-SO101-IK-Abs-v0 -> PhysxCfg variants
default='physx'
IsaacContrib-Stack-Cube-SO101-Joint-Teleop-v0 -> PhysxCfg variants
default='physx'
  ```

Fixes # (issue)

## Type of change

- Bug Fix

## Release backport

- [x] <!-- backport-active-release --> Backport this pull request to the
active release branch after it merges into `develop`

## Checklist

Docker and GPU tests run on demand. Push the commits you want tested,
then
comment `run-ci` on the pull request.

- [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 added a changelog fragment under
`source/<pkg>/changelog.d/` for every touched package (do **not** edit
`CHANGELOG.rst` or bump `extension.toml` — CI handles that)
- [x] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there

---------

Co-authored-by: Claude Opus 5 (1M context) <[email protected]>

(cherry picked from commit 646d04d)
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 isaac-lab Related to Isaac Lab team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants