Skip to content

Restore Franka Reach teleop device sensitivity lost in #3327 - #8248

Merged
rwiltz merged 4 commits into
isaac-sim:developfrom
rwiltz:rwiltz/reach-spacemouse-sensitivity
Oct 15, 2026
Merged

rwiltz merged 4 commits into
isaac-sim:developfrom
rwiltz:rwiltz/reach-spacemouse-sensitivity

Conversation

@rwiltz

@rwiltz rwiltz commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

Description

#3327 moved the Isaac-Reach-Franka teleop devices into the env config without carrying over the teleop
script's 0.05 sensitivities, so the Se3*Cfg defaults took effect. With the relative IK presets, full device
input now rotates the hand up to 32x further per step than IsaacContrib-Stack-Cube-Franka-IK-Rel.

This sets the device sensitivities for the diffik and newton_ik presets so full input on every device
commands 0.025 m and 0.025 rad per step, matching Stack. The two presets use different rotation action scales
(0.5 and 0.25), so rotation sensitivity is chosen per preset.

Per-step motion at full input (position [m] / rotation [rad]):

Preset Device Before After Sensitivity (pos / rot)
diffik Keyboard, SpaceMouse 0.02 / 0.4 0.025 / 0.025 0.5 / 0.05
diffik Gamepad 0.05 / 0.8 0.025 / 0.025 0.5 / 0.05
newton_ik Keyboard, SpaceMouse 0.02 / 0.2 0.025 / 0.025 0.5 / 0.1
newton_ik Gamepad 0.05 / 0.4 0.025 / 0.025 0.5 / 0.1

Only teleop_devices changes, and only the teleop run and record scripts read it. Action scales, gains,
rewards, and every other preset are unchanged, so trained policies and recorded datasets are unaffected.

Fixes # (issue)

Type of change

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

Release backport

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

Checklist

Docker and GPU tests run on demand. Push the commits you want tested, then
comment run-ci on the pull request.

  • I have read and understood the contribution guidelines
  • I have run the pre-commit checks with uv run isaaclab --format
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have validated the changed behavior with focused coverage and applied the test-audit criteria to any test changes
  • I have added a changelog fragment under source/<pkg>/changelog.d/ for every touched package (do not edit CHANGELOG.rst or bump package versions — CI handles that)
  • I have added my name to the CONTRIBUTORS.md or my name already exists there

@rwiltz
rwiltz requested a review from a team October 1, 2026 20:10
@github-actions github-actions Bot added the isaac-lab Related to Isaac Lab team label Oct 1, 2026
@rwiltz

rwiltz commented Oct 1, 2026

Copy link
Copy Markdown
Contributor Author

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 Oct 1, 2026

@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 patch explicitly restores keyboard, gamepad, and SpaceMouse translation and rotation sensitivities for the Franka Reach diffik and newton_ik teleoperation presets and records the fix in the isaaclab_tasks changelog. No blocking issues were identified.

  • Design and architecture: Sensitivity remains owned by the existing device configurations in FrankaReachEnvCfg.__post_init__. The shared relative_ik_teleop_devices configuration and preset dispatch structure are unchanged, with no new abstraction, duplicated owner, or responsibility shift.
  • API: The patch only supplies existing pos_sensitivity and rot_sensitivity fields on the three Se3*Cfg instances. Device keys, gripper_term, simulation-device propagation, task registration, exports, and signatures remain unchanged.
  • Compatibility and deprecation: Breaking changes: none identified. The observable command scaling changes only for the Franka Reach diffik and newton_ik teleoperation presets and is explicitly presented as restoration of the intended behavior; no public symbol or configuration schema is removed or renamed.
  • Implementation: The changed values flow through the existing relative_ik_teleop_devices object into both targeted preset branches. All three device entries retain their prior keys and construction path, while the default preset continues to use an empty DevicesCfg. The changelog names the same two branches changed by the implementation.
  • Style consistency: The added keyword arguments follow the adjacent configuration style and formatter-compatible wrapping. The package-scoped .fixed.rst fragment is concise, identifies the affected task and presets, and follows the established changelog-fragment location and naming convention.
  • Test quality: No test files were added or changed, so there were no new cases to audit for necessity, duplication, fixture cost, or ownership. The patch is a focused configuration-value correction rather than a new execution path.

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.

@greptile-apps

greptile-apps Bot commented Oct 1, 2026 •

Copy link
Copy Markdown
Contributor

RetriggerConfidence Score: 3/5

[Medium risk] Adjusts teleoperation device sensitivity settings for a robot task.

The PR is not ready to merge because the configured Newton and gamepad responses do not meet its stated motion target.

Findings

  1. P1 Gamepad motion remains too sensitive ▶
  2. P2 Changelog overstates configuration match ▶
  3. P2 Sensitivity values lack regression coverage ▶

Summary

The PR sets explicit keyboard, gamepad, and SpaceMouse sensitivities for Franka Reach’s relative IK presets and adds a changelog fragment.

  • The shared rotation setting gives newton_ik half the keyboard and SpaceMouse rotation increment of diffik.
  • Gamepad gains do not meet the stated per-step target; the changelog also describes a raw sensitivity match that the reference configuration does not provide.

Reviews (1) · Last reviewed commit: "Match Franka Reach keyboard and gamepad ..."

@greptile-apps

greptile-apps Bot commented Oct 1, 2026

Copy link
Copy Markdown
Contributor

Comments Outside Diff

These findings could not be posted inline.

  • P1 Newton rotation is halved source/isaaclab_tasks/isaaclab_tasks/core/reach/config/franka/franka_reach_env_cfg.py:143 ▶

    Both presets now use the same device rotation sensitivity, but newton_ik scales rotation by 0.25 while diffik scales it by 0.5. A keyboard rotation key therefore commands 0.0125 rad per step with newton_ik, rather than 0.025 rad with diffik; SpaceMouse rotation is likewise halved. This misses the intended consistent per-step response.

@rwiltz
rwiltz force-pushed the rwiltz/reach-spacemouse-sensitivity branch from 2e5d33a to efcdc0d Compare October 15, 2026 17:52
@rwiltz

rwiltz commented Oct 15, 2026

Copy link
Copy Markdown
Contributor Author

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 Oct 15, 2026
@rwiltz
rwiltz force-pushed the rwiltz/reach-spacemouse-sensitivity branch from efcdc0d to a81a02d Compare October 15, 2026 17:56
rwiltz and others added 4 commits October 15, 2026 15:31
The Reach diffik and newton_ik presets used the Se3SpaceMouseCfg defaults
(pos 0.4, rot 0.8), which with the action scales gave 0.02 m and 0.4 rad
per step at full deflection, making rotation about 16x more aggressive than
IsaacContrib-Stack-Cube-Franka-IK-Rel (0.025 m, 0.025 rad). The per-preset
sensitivities now yield the same per-step deltas as the Stack task; the
rotation sensitivity differs per preset because newton_ik scales rotation by
0.25 instead of 0.5. The --sensitivity CLI flag does not apply here since
the device comes from the env cfg.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Set the SpaceMouse sensitivities directly on the shared relative IK device
config and drop the per-preset helper and the added test assertion.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Set the keyboard, gamepad, and SpaceMouse sensitivities directly on the
shared relative IK device config, and drop the per-preset helper and the
added test assertion.

Co-Authored-By: Claude Opus 5.5 <[email protected]>
Gamepad position used twice the keyboard and SpaceMouse sensitivity, and
newton_ik shared the diffik rotation sensitivity despite halving rotation
scale. Choose each preset's rotation sensitivity from its action scale so
every device commands 0.025 m and 0.025 rad per step at full input.
@rwiltz
rwiltz force-pushed the rwiltz/reach-spacemouse-sensitivity branch from a81a02d to b3d0a38 Compare October 15, 2026 19:31
@rwiltz

rwiltz commented Oct 15, 2026

Copy link
Copy Markdown
Contributor Author

run-ci

@rwiltz
rwiltz enabled auto-merge (squash) October 15, 2026 19:32
@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 Oct 15, 2026
@rwiltz
rwiltz merged commit 00ad594 into isaac-sim:develop Oct 15, 2026
91 of 92 checks passed
@isaaclab-bot

isaaclab-bot Bot commented Oct 15, 2026

Copy link
Copy Markdown
Contributor

Backported to release/3.0.0 as 05836b1.

isaaclab-bot Bot pushed a commit that referenced this pull request Oct 15, 2026
# Description

#3327 moved the `Isaac-Reach-Franka` teleop devices into the env config
without carrying over the teleop
script's `0.05` sensitivities, so the `Se3*Cfg` defaults took effect.
With the relative IK presets, full device
input now rotates the hand up to 32x further per step than
`IsaacContrib-Stack-Cube-Franka-IK-Rel`.
 
This sets the device sensitivities for the `diffik` and `newton_ik`
presets so full input on every device
commands 0.025 m and 0.025 rad per step, matching Stack. The two presets
use different rotation action scales
  (`0.5` and `0.25`), so rotation sensitivity is chosen per preset.
  
  Per-step motion at full input (position [m] / rotation [rad]):

  | Preset | Device | Before | After | Sensitivity (pos / rot) |
  |---|---|---|---|---|
| `diffik` | Keyboard, SpaceMouse | 0.02 / 0.4 | 0.025 / 0.025 | 0.5 /
0.05 |
  | `diffik` | Gamepad | 0.05 / 0.8 | 0.025 / 0.025 | 0.5 / 0.05 |
| `newton_ik` | Keyboard, SpaceMouse | 0.02 / 0.2 | 0.025 / 0.025 | 0.5
/ 0.1 |
  | `newton_ik` | Gamepad | 0.05 / 0.4 | 0.025 / 0.025 | 0.5 / 0.1 |

Only `teleop_devices` changes, and only the teleop `run` and `record`
scripts read it. Action scales, gains,
rewards, and every other preset are unchanged, so trained policies and
recorded datasets are unaffected.


Fixes # (issue)

## 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`

## Checklist

Docker and GPU tests run on demand. Push the commits you want tested,
then
comment `run-ci` on the pull request.

- [x] I have read and understood the [contribution
guidelines](https://isaac-sim.github.io/IsaacLab/main/source/refs/contributing.html)
- [x] I have run the [`pre-commit` checks](https://pre-commit.com/) with
`uv run isaaclab --format`
- [x] I have made corresponding changes to the documentation
- [x] My changes generate no new warnings
- [x] I have validated the changed behavior with focused coverage and
applied the [test-audit
criteria](https://github.com/isaac-sim/IsaacLab/blob/develop/skills/developer/test-audit/SKILL.md)
to any test changes
- [x] I have added a changelog fragment under
`source/<pkg>/changelog.d/` for every touched package (do **not** edit
`CHANGELOG.rst` or bump package versions — CI handles that)
- [x] I have added my name to the `CONTRIBUTORS.md` or my name already
exists there

---------

Co-authored-by: Claude Opus 5.5 <[email protected]>

(cherry picked from commit 00ad594)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

isaac-lab Related to Isaac Lab team

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants