Skip to content

Fix Franka Reach relative IK teleoperation - #7619

Merged
kellyguo11 merged 2 commits into
isaac-sim:release/3.0.0from
maxkra15:maximiliank/teleop-diffik-preset-fix
Sep 7, 2026
Merged

kellyguo11 merged 2 commits into
isaac-sim:release/3.0.0from
maxkra15:maximiliank/teleop-diffik-preset-fix

Conversation

@maxkra15

@maxkra15 maxkra15 commented Sep 7, 2026 •

Copy link
Copy Markdown
Contributor

Description

Fix native teleoperation for Isaac-Reach-Franka with both supported relative-IK configurations:

  • physics=isaacsim_physx presets=diffik
  • physics=newton_mjwarp presets=newton_ik

Both 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 with Invalid 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

  • Bug fix (non-breaking change which fixes an issue)
  • Documentation update

Release backport

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

Screenshots

Not applicable.

Validation

  • uv run --extra test python -m pytest source/isaaclab_tasks/test/core/test_reach_franka_presets.py -q — 23 passed
  • uv 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 6
  • uv run --isolated --extra test -- make -C docs current-docs — passed without warnings
  • uv run isaaclab -f — passed
  • uv run python tools/changelog/cli.py check release/3.0.0 — passed
  • git diff --check — passed

The native-device simulator smoke test was not run locally because Isaac Sim is not installed in this workspace.

Checklist

  • I have read and understood the contribution guidelines
  • I have run the pre-commit checks with uv run isaaclab -f
  • I have made corresponding documentation changes
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective
  • I have added a changelog fragment under source/isaaclab_tasks/changelog.d/
  • My name already exists in CONTRIBUTORS.md

@maxkra15
maxkra15 requested a review from a team September 7, 2026 14:46
@github-actions github-actions Bot added bug Something isn't working isaac-lab Related to Isaac Lab team labels Sep 7, 2026
@greptile-apps

greptile-apps Bot commented Sep 7, 2026 •

Copy link
Copy Markdown
Contributor

Greptile Summary

This PR restores native teleoperation for Franka Reach’s supported relative-IK presets.

  • Configures keyboard, gamepad, and SpaceMouse commands without the unsupported gripper dimension.
  • Extends the configuration to both differential IK and Newton IK.
  • Adds tests for device configuration and Newton’s six-dimensional relative-pose convention.
  • Updates teleoperation documentation and the release changelog.

Confidence Score: 5/5

The 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

Filename Overview
source/isaaclab_tasks/isaaclab_tasks/core/reach/config/franka/franka_reach_env_cfg.py Assigns six-dimensional native SE(3) devices to both compatible relative-IK presets while leaving incompatible presets unconfigured.
source/isaaclab_tasks/test/core/test_reach_franka_presets.py Covers device configuration for both relative-IK combinations and verifies the Newton pose objective’s relative six-axis command contract.
docs/source/features/isaac_teleop.rst Documents native-device support for the Newton IK and Newton physics combination.
source/isaaclab_tasks/changelog.d/fix-franka-reach-diffik-teleop.rst Records restored native teleoperation support for differential and Newton IK presets.

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
Loading

Reviews (2): Last reviewed commit: "Support native teleoperation with Newton..." | Re-trigger Greptile

@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 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_devices configuration surface is used without adding or renaming public APIs. The intentional behavior change is limited to Isaac-Reach-Franka with presets=diffik; default and incompatible action presets continue to expose no configured native SE(3) devices.
  • Implementation: All three native device configurations set gripper_term=False and 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.

@github-actions github-actions Bot added the documentation Improvements or additions to documentation label Sep 7, 2026
@maxkra15 maxkra15 changed the title Fix Franka Reach differential IK teleoperation Fix Franka Reach relative IK teleoperation Sep 7, 2026
@kellyguo11

Copy link
Copy Markdown
Contributor

run-ci

@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 7, 2026
@kellyguo11
kellyguo11 merged commit 17e5f3d into isaac-sim:release/3.0.0 Sep 7, 2026
53 checks passed
kellyguo11 added a commit that referenced this pull request Sep 7, 2026
…#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]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working 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