Repository navigation
[Backport release/3.0.0] Make contributed teleop dependencies optional - #8601
Conversation
[Medium impact] The PR appears safe to merge; no actionable issues were found. SummaryMakes robot-specific stack configs load without the optional
Reviews (1) · Last reviewed commit: "Make every stack teleop configuration op..." · Reviewed by Greptile |
There was a problem hiding this comment.
Isaac Lab Review Bot
Needs attention: Design and architecture (1). Other reviewed categories look good.
- PR description: The title and body match the six-file diff, validation covers dependency absence and teleop presence, and no measurable performance claim requires evidence.
- Design and architecture: The four config guards implicitly rely on the shared stack config making
xrunavailable with teleop; document that coupling beside the guards. - Scope and over-engineering: No over-engineering issues.
- API: API changes look good.
- Compatibility and deprecation: No breaking changes identified.
- Implementation: Implementation looks good.
- Style consistency: Style consistency looks good.
- Test quality: Test quality looks good.
Minor fixes needed. Posted 1 inline finding.
Automated review; human maintainers own approval decisions.
|
run-ci |
|
run-ci |
|
CI note: |
|
run-ci |
# Description Fixes NVBug 6916688 Contributed task configurations imported the optional `isaaclab_teleop` package while loading environment configs, so `zero_agent` failed under installations without that package. The original report listed seven stack tasks; the audit now covers all 31 registered configs from the stack, pick-place, and locomanipulation task families. This change: - centralizes the optional-package availability check for contributed teleop configs; - builds stack `IsaacTeleopCfg` pipelines based on package availability rather than `env_cfg.xr`, preserving viewport and SO-101 leader-arm teleoperation; - forwards `xr_cfg` only when the environment sets one, otherwise retaining the `IsaacTeleopCfg` default; - defers teleop, XR camera-feed, and haptic configuration imports in all pick-place and locomanipulation configs; - keeps G1 contact reporting enabled for always-present hand contact sensors even without teleop; and - dynamically regression-tests every registration backed by the three affected task packages in a fresh process with teleop imports blocked. No new dependencies are required. ## Type of change - Bug fix (non-breaking change which fixes an issue) ## Release backport - [x] <!-- backport-active-release --> Backport this pull request to the active release branch after it merges into `develop` The explicit `release/3.0.0` PR is #8601. ## Screenshots Not applicable. ## Validation - All 31 registered stack, pick-place, and locomanipulation configs resolve and validate with `isaaclab_teleop` blocked - Both locomanip G1 configs retain their hand contact sensors and robot contact reporters without teleop\n- All 31 teleop-installed config trees match the corresponding target-branch configs - Five representative stack configs with `xr=None` retain `IsaacTeleopCfg` and its default XR/session config - All seven pick-place and locomanipulation configs retain Isaac Capture configuration with the teleop extra installed - `uv run python -m pytest source/isaaclab_tasks/test/core/test_env_cfg_no_forbidden_imports.py -q` (`49 passed`) - `uv run --extra teleop python -m pytest source/isaaclab_tasks/test/core/test_xr_camera_feed_presets.py -q` (`6 passed`) - `uv run isaaclab --format` - `git diff --check` ## Checklist - [x] I have read and understood the contribution guidelines - [x] I have run the pre-commit checks with `uv run isaaclab --format` - [x] Documentation changes are not required for this dependency-loading fix - [x] My changes generate no new warnings - [x] I have validated the changed behavior with focused coverage and applied the test-audit criteria - [x] I have added a changelog fragment under `source/isaaclab_tasks/changelog.d/` - [x] My name already exists in `CONTRIBUTORS.md`
Description
Backports the remaining fix from #8600 for NVBug 6916688 to
release/3.0.0.PR #8498 made the shared stack XR configuration optional, but robot-specific stack configs still coupled
IsaacTeleopCfgconstruction toenv_cfg.xr. Pick-place and locomanipulation configs also continued to importisaaclab_teleopeagerly.This backport:
xr=None;xr_cfgonly when explicitly configured;No new dependencies are required.
Type of change
Screenshots
Not applicable.
Validation
isaaclab_teleopblockedxr=NoneretainIsaacTeleopCfgand its default XR/session configuv run python -m pytest source/isaaclab_tasks/test/core/test_env_cfg_no_forbidden_imports.py -q(49 passed)uv run --extra teleop python -m pytest source/isaaclab_tasks/test/core/test_xr_camera_feed_presets.py -q(6 passed)uv run isaaclab --formatgit diff --checkChecklist
uv run isaaclab --formatsource/isaaclab_tasks/changelog.d/CONTRIBUTORS.md