Repository navigation
Fixing the teleop device env mapping for franka reach envs - #6087
Conversation
Revert the record_demos.py and teleop_se3_agent.py action-dimension guards and the absolute-IK reach row added to the XR docs table, leaving only the teleop_devices relocation (base reach env -> relative-IK config) and the native-device docs/changelog update. This matches the minimal release/3.0.0-beta2 backport.
Greptile SummaryThis PR fixes a runtime
Confidence Score: 5/5Safe to merge — the change is a targeted, well-scoped config move with no new logic introduced. The fix moves an existing, identical configuration block from the shared base to the one derived class where its action-space contract is satisfied. No logic changes, no new imports that aren't already used elsewhere in the repo, and the documentation and changelog are in sync with the code. No files require special attention. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart TD
A[ReachEnvCfg base\nno teleop_devices] --> B[FrankaReachEnvCfg\njoint_pos]
B --> C[FrankaReachEnvCfg\nIK-Abs\nno teleop_devices\n7D pose action]
B --> D[FrankaReachEnvCfg\nIK-Rel\nteleop_devices: keyboard/gamepad/spacemouse\n6D delta action ✓]
style D fill:#c8e6c9,stroke:#388e3c
style C fill:#fff9c4,stroke:#f9a825
style A fill:#e3f2fd,stroke:#1976d2
Reviews (1): Last reviewed commit: "Trim reach teleop fix to minimal change ..." | Re-trigger Greptile |
There was a problem hiding this comment.
🤖 Isaac Lab Review Bot — PR #6087 (Follow-up Review)
Title: Fixing the teleop device env mapping for franka reach envs
Author: @rwiltz | Base: develop | SHA: a65f877
Update Since Last Review
The new commit (a65f877) is a merge of develop into the PR branch to keep it up to date. The actual PR-specific changes (teleop device relocation from ReachEnvCfg to ik_rel_env_cfg.py) are unchanged from the previously reviewed SHA 0763664.
Original Suggestions (Still Applicable)
My previous suggestions remain valid:
🔵 Consider adding a comment in ReachEnvCfg noting that teleop devices should be configured per-action-space variant (not in the shared base) to prevent future regressions when IK-rel variants are added for other robots.
🔵 Changelog fragment: link to issue number — The PR description still has Fixes # (issue) unfilled. If there's a tracked issue, linking it improves traceability.
🔵 Document the XR teleop path for absolute IK — The docs table now only shows Isaac-Reach-Franka-IK-Rel-v0. A brief note pointing users to the XR pipeline for Isaac-Reach-Franka-IK-Abs-v0 would help.
Architecture Assessment ✅
- Fix is correctly scoped and minimal
- Inheritance chain is correct (
ik_abs_env_cfg.pyno longer inherits incompatible device configs) - Pattern is sound: action-space-specific device configs belong in action-space-specific config classes
CI Status
- Pre-commit, changelog checks, and build wheel: ✅ passing
Verdict: No blocking issues. The merge commit is routine branch maintenance. Previous review findings unchanged — this remains a clean, well-motivated bug fix. Minor suggestions are optional enhancements.
— Isaac Lab Review Bot 🤖
Description
the relative-IK action space. They were configured on the shared
ReachEnvCfgbase, so theabsolute-IK (
Isaac-Reach-Franka-IK-Abs-v0, 7D pose) and joint-position reach variantsinherited them and crashed with
ValueError: Invalid action shape, expected: 7, received: 6when teleoperated.
teleop_devicesto the Franka relative-IK reach config, where the 6D deltamatches the 6D action.
docs/source/features/isaac_teleop.rst.Fixes # (issue)
Type of change
Checklist
pre-commitchecks with./isaaclab.sh --formatconfig/extension.tomlfileCONTRIBUTORS.mdor my name already exists there