Repository navigation
Fix Franka Reach relative IK teleoperation - #7619
kellyguo11 merged 2 commits into
Conversation
Greptile SummaryThis PR restores native teleoperation for Franka Reach’s supported relative-IK presets.
Confidence Score: 5/5The PR appears safe to merge; the previously reported missing Newton IK device configuration is fully addressed and no new actionable defects were found. Both relative-IK presets now resolve to six-dimensional native-device configurations with the gripper term disabled. The device outputs and Newton IK objective consistently use translation followed by an axis-angle rotation vector, and the resolved previous thread requires no further action. Important Files Changed
Flowchart%%{init: {'theme': 'neutral'}}%%
flowchart LR
D[Keyboard, Gamepad, or SpaceMouse] --> C[6D translation and rotation-vector command]
C --> P{Selected preset}
P -->|diffik| I[Differential IK action]
P -->|newton_ik| N[Newton IK pose objective]
I --> A[Franka arm motion]
N --> A
Reviews (2): Last reviewed commit: "Support native teleoperation with Newton..." | Re-trigger Greptile |
There was a problem hiding this comment.
Isaac Lab Review Bot
The change restores Franka Reach native keyboard, gamepad, and SpaceMouse configuration only for the relative diffik preset, disabling gripper output so device commands match the six-dimensional action contract. The configuration, preset-resolution tests, and changelog entry are consistent with that fix.
- Design and architecture: Teleoperation configuration is colocated with the Franka action preset selection through
preset(default=DevicesCfg(), diffik=...). This preserves empty native-device configuration for joint-position, absolute differential IK, and Newton IK presets whose action semantics do not match the relative SE(3) device commands. - API: The existing
teleop_devicesconfiguration surface is used without adding or renaming public APIs. The intentional behavior change is limited toIsaac-Reach-Frankawithpresets=diffik; default and incompatible action presets continue to expose no configured native SE(3) devices. - Implementation: All three native device configurations set
gripper_term=Falseand use the selected simulation device. Regression tests verify the expected device set, disabled gripper term, empty default configuration, and preservation of controller-independent preset state. The remaining validation limitation is that the simulator-backed teleoperation path was not exercised locally, but the producer/consumer command-width mismatch is directly addressed by configuration.
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.
|
run-ci |
…#7621) # Description Backports #7619 from `release/3.0.0` to `develop`. The change restores native keyboard, gamepad, and SpaceMouse teleoperation for both supported Franka Reach relative-IK configurations: - `physics=isaacsim_physx presets=diffik` - `physics=newton_mjwarp presets=newton_ik` Both configurations accept six-dimensional relative pose actions, so their native device configurations disable the unsupported gripper command. The default joint-position and absolute-pose presets remain unchanged. This is an exact patch replay of merged release commit `17e5f3d51620168806647feeaeab85c2688d2bc4`; no conflict resolution or develop-specific adaptation was required. No new dependencies are required. ## Type of change - Bug fix (non-breaking change which fixes an issue) - Documentation update ## Release backport - [ ] <!-- backport-active-release --> This change originated on `release/3.0.0`; do not backport it again. ## Screenshots Not applicable. ## Validation - Stable patch ID matches the merged #7619 release commit. - `uvx --from pre-commit==4.6.2 pre-commit run --all-files` — passed. - `tools/changelog/cli.py check develop` — passed against the current develop base. - `git diff --check upstream/develop..HEAD` — passed. - Source PR validation for this exact patch: 23 Reach preset tests passed, the Newton random-agent smoke test passed, the documentation build passed without warnings, and `uv run isaaclab -f` passed. The targeted test and documentation commands could not be rerun on this macOS host because the current lockfile supports Linux x86_64/aarch64 and Windows AMD64 only. Develop CI provides the supported-platform verification. ## Checklist - [x] I have read and understood the contribution guidelines. - [x] I have run the available pre-commit checks. - [x] I have included the corresponding documentation change. - [x] My changes generate no new warnings in the available checks. - [x] The source PR's tests cover this exact patch. - [x] I have included the `isaaclab_tasks` changelog fragment. - [x] The original contributor already appears in `CONTRIBUTORS.md`. Co-authored-by: Maximilian Krause <[email protected]>
Description
Fix native teleoperation for
Isaac-Reach-Frankawith both supported relative-IK configurations:physics=isaacsim_physx presets=diffikphysics=newton_mjwarp presets=newton_ikBoth actions accept a 6D relative pose command (
x, y, z, roll, pitch, yaw). The preset consolidation dropped the Reach-specific native-device configuration, so the generic keyboard fallback emitted a seventh gripper value and the documented differential-IK recording command failed on its first step withInvalid action shape, expected: 6, received: 7.This change configures keyboard, gamepad, and SpaceMouse for both relative-IK presets with
gripper_term=False. The default joint-position and absolute-pose presets retain an empty SE(3) device configuration because their action semantics are incompatible. Tests verify both supported preset/device combinations and the Newton IK command convention. The teleoperation support table and changelog fragment cover both controllers.Tracks NVBug 6664296.
No new dependencies are required.
Type of change
Release backport
developScreenshots
Not applicable.
Validation
uv run --extra test python -m pytest source/isaaclab_tasks/test/core/test_reach_franka_presets.py -q— 23 passeduv run python scripts/environments/random_agent.py --task Isaac-Reach-Franka --num_envs 1 --max_steps 5 physics=newton_mjwarp presets=newton_ik— passed; runtime action shape was 6uv run --isolated --extra test -- make -C docs current-docs— passed without warningsuv run isaaclab -f— passeduv run python tools/changelog/cli.py check release/3.0.0— passedgit diff --check— passedThe native-device simulator smoke test was not run locally because Isaac Sim is not installed in this workspace.
Checklist
uv run isaaclab -fsource/isaaclab_tasks/changelog.d/CONTRIBUTORS.md