Repository navigation
Make contributed teleop dependencies optional - #8600
kellyguo11 merged 6 commits into
Conversation
[Medium impact] The PR appears safe to merge. SummaryMakes stack configurations load without the optional
No actionable issues were found. Tests were not run during this review. 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), Compatibility and deprecation (1). Other reviewed categories look good.
- PR description: The body matches the seven-file diff and validation scope, but fix “NVBug 6916688].”, state XR is disabled rather than deferred, and disclose that
xr=Nonesuppresses installed teleop. - Design and architecture: Using
self.xras a teleop-availability proxy gives one condition multiple owners and suppresses valid teleop configuration; centralize optionalIsaacTeleopCfgconstruction instead. - Scope and over-engineering: No over-engineering issues.
- API: API changes look good.
- Compatibility and deprecation: Breaking changes: base installs now receive
xr=Noneinstead of coreXrCfg, while explicitxr=Nonesuppresses installed teleop; preserve prior field semantics and gate only optional construction. - Implementation: Implementation looks good.
- Style consistency: Style consistency looks good.
- Test quality: Test quality looks good.
Significant concerns. Posted 2 inline findings.
Automated review; human maintainers own approval decisions.
|
run-ci |
|
run-ci |
|
run-ci |
|
CI note: |
|
run-ci |
#8601) # 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 `IsaacTeleopCfg` construction to `env_cfg.xr`. Pick-place and locomanipulation configs also continued to import `isaaclab_teleop` eagerly. This backport: - centralizes the optional-package availability check for contributed teleop configs; - preserves stack viewport and SO-101 leader-arm teleoperation when `xr=None`; - forwards `xr_cfg` only when explicitly configured; - 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 covers all 31 registrations from the stack, pick-place, and locomanipulation task packages. No new dependencies are required. ## Type of change - Bug fix (non-breaking change which fixes an issue) ## 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
Fixes NVBug 6916688
Contributed task configurations imported the optional
isaaclab_teleoppackage while loading environment configs, sozero_agentfailed 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:
IsaacTeleopCfgpipelines based on package availability rather thanenv_cfg.xr, preserving viewport and SO-101 leader-arm teleoperation;xr_cfgonly when the environment sets one, otherwise retaining theIsaacTeleopCfgdefault;No new dependencies are required.
Type of change
Release backport
developThe explicit
release/3.0.0PR is #8601.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