Repository navigation
Restore Franka Reach teleop device sensitivity lost in #3327 - #8248
Conversation
|
run-ci |
There was a problem hiding this comment.
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 sharedrelative_ik_teleop_devicesconfiguration and preset dispatch structure are unchanged, with no new abstraction, duplicated owner, or responsibility shift. - API: The patch only supplies existing
pos_sensitivityandrot_sensitivityfields on the threeSe3*Cfginstances. 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
diffikandnewton_ikteleoperation 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_devicesobject into both targeted preset branches. All three device entries retain their prior keys and construction path, while the default preset continues to use an emptyDevicesCfg. 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.rstfragment 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.
|
Comments Outside DiffThese findings could not be posted inline.
|
2e5d33a to
efcdc0d
Compare
|
run-ci |
efcdc0d to
a81a02d
Compare
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.
a81a02d to
b3d0a38
Compare
|
run-ci |
|
Backported to |
# 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)
Description
#3327 moved the
Isaac-Reach-Frankateleop devices into the env config without carrying over the teleopscript's
0.05sensitivities, so theSe3*Cfgdefaults took effect. With the relative IK presets, full deviceinput now rotates the hand up to 32x further per step than
IsaacContrib-Stack-Cube-Franka-IK-Rel.This sets the device sensitivities for the
diffikandnewton_ikpresets so full input on every devicecommands 0.025 m and 0.025 rad per step, matching Stack. The two presets use different rotation action scales
(
0.5and0.25), so rotation sensitivity is chosen per preset.Per-step motion at full input (position [m] / rotation [rad]):
diffikdiffiknewton_iknewton_ikOnly
teleop_deviceschanges, and only the teleoprunandrecordscripts 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
Release backport
developChecklist
Docker and GPU tests run on demand. Push the commits you want tested, then
comment
run-cion the pull request.pre-commitchecks withuv run isaaclab --formatsource/<pkg>/changelog.d/for every touched package (do not editCHANGELOG.rstor bump package versions — CI handles that)CONTRIBUTORS.mdor my name already exists there