Repository navigation
Fix/so101 teleop success tolerance - #7661
Merged
kellyguo11 merged 2 commits intoSep 9, 2026
Merged
Conversation
The SO-101 joint-teleop stack task mirrors the leader arm's raw gripper encoder angle onto the follower 1:1, and the follower jaw is capped by its own joint limit of 1.7453 rad. The success termination accepted the gripper as open only within 0.2 rad of SO101_GRIPPER_OPEN, which is the top 0.2 rad of a 1.92 rad range, so a leader whose calibrated full-open reading falls short never trips success and the environment never auto-resets after a completed stack. Widen the tolerance to 0.5 rad. That still demands more opening than freeing a cube requires: the jaw opens by 2*L*sin(q/2), so a 0.0477 m cube is released by q >= 1.245 for any lever arm L >= 0.043 m, and the moving jaw spans ~0.093 m. gripper_threshold is deliberately left alone because object_grasped uses it to annotate the grasp subtask signals for every SO-101 stack environment.
rwiltz
requested review from
StafaH,
hujc7,
kellyguo11 and
ooctipus
as code owners
September 9, 2026 02:52
Contributor
There was a problem hiding this comment.
Isaac Lab Review Bot
The change cleanly widens the SO-101 joint-teleop cube-stack success tolerance from 0.2 rad to 0.5 rad while keeping the grasp-annotation threshold unchanged. The task-specific termination override and changelog consistently describe the intended auto-reset fix.
- Design and architecture: Separating the success tolerance from
gripper_thresholdavoids changingobject_graspedsubtask annotations. The private constant and override remain scoped to the joint-teleop configuration, preserving the behavior of other SO-101 stack configurations. - API: No public API, termination function signature, or configuration field is added, removed, or renamed. The existing
DoneTermparameter shape is preserved, and the user-visible behavior change has a package changelog fragment. - Implementation: The changed
__post_init__path now passes_SUCCESS_GRIPPER_ATOL = 0.5tomdp.cubes_stacked, yielding the intended lower accepted gripper position of approximately 1.245 rad. The main non-blocking tradeoff is that this tolerance is tied to the current cube and jaw geometry and would require a source change if those assumptions change.
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.
Contributor
The change appears safe to merge, with a non-blocking recommendation to add focused regression coverage for the new success boundary. Findings
|
The success termination is evaluated as the joint-teleop env wires it, so a gripper-open tolerance too tight for a mirrored leader arm to reach cannot be reintroduced silently. Fails at the previous 0.2 rad tolerance, passes at 0.5. Sim-free and runs in about a second. Also covers the lower bound, so success cannot fire while the cube is still held, and the required bottom-to-top cube_1, cube_2, cube_3 stack order.
Contributor
Author
|
run-ci |
Contributor
|
Backported to |
isaaclab-bot Bot
pushed a commit
that referenced
this pull request
Sep 9, 2026
# Description The SO-101 joint-teleop cube-stack task did not auto-reset after the operator completed a stack and opened the gripper, so the session had to be reset manually. In joint teleop the leader arm's raw gripper encoder angle is mirrored onto the follower 1:1 (identity `JointStateRetargeter`: `scale=1.0`, `offset=0.0`, `sign=+1.0`), so the follower jaw lands wherever the operator's leader jaw does. The `success` termination accepted the gripper as open only within `atol=0.2` rad of `SO101_GRIPPER_OPEN` (1.745 rad), and the jaw's own joint limit is 1.7453 rad. That means success required the jaw to land in `[1.545, 1.745]`, the top 0.2 rad of a 1.92 rad range. A leader arm whose calibrated full-open reading falls short of 1.545 therefore never trips success, no matter how far the operator opens it, and the environment never resets. This widens the tolerance for that task's success term to 0.5 rad, so the accepted window becomes `q >= 1.245` rad (71.3 deg instead of 88.5 deg of the 100 deg jaw range). 0.5 rad still demands more opening than releasing a cube requires. The jaw opening follows `2 * L * sin(q / 2)` for jaw lever arm `L`, so a 0.0477 m cube is freed by `q >= 1.245` for any `L >= 0.043 m`, and the moving jaw spans about 0.093 m. So the check cannot start firing while the operator is still gripping the cube. `gripper_threshold` is deliberately left at 0.2. `object_grasped` reads it to annotate the `grasp_1` / `grasp_2` subtask signals for every SO-101 stack env, so changing it would alter demo and mimic annotations well beyond this task. Scope: `stack_joint_teleop_env_cfg:SO101CubeStackEnvCfg` is referenced only by the `IsaacContrib-Stack-Cube-SO101-Joint-Teleop-v0` registration, and nothing imports or subclasses it. The joint-position and IK-Abs SO-101 envs are unchanged. Fixes # (issue) ## Type of change <!-- As you go through the list, delete the ones that are not applicable. --> - 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 `./isaaclab.sh --format` - [x] I have made corresponding changes to the documentation - [x] My changes generate no new warnings - [x] I have added tests that prove my fix is effective or that my feature works - [x] I have added a changelog fragment under `source/<pkg>/changelog.d/` for every touched package (do **not** edit `CHANGELOG.rst` or bump `extension.toml` — CI handles that) - [x] I have added my name to the `CONTRIBUTORS.md` or my name already exists there (cherry picked from commit 0af962c)
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Description
The SO-101 joint-teleop cube-stack task did not auto-reset after the operator
completed a stack and opened the gripper, so the session had to be reset manually.
In joint teleop the leader arm's raw gripper encoder angle is mirrored onto the
follower 1:1 (identity
JointStateRetargeter:scale=1.0,offset=0.0,sign=+1.0), so the follower jaw lands wherever the operator's leader jaw does.The
successtermination accepted the gripper as open only withinatol=0.2radof
SO101_GRIPPER_OPEN(1.745 rad), and the jaw's own joint limit is 1.7453 rad.That means success required the jaw to land in
[1.545, 1.745], the top 0.2 radof a 1.92 rad range. A leader arm whose calibrated full-open reading falls short
of 1.545 therefore never trips success, no matter how far the operator opens it,
and the environment never resets.
This widens the tolerance for that task's success term to 0.5 rad, so the accepted
window becomes
q >= 1.245rad (71.3 deg instead of 88.5 deg of the 100 deg jawrange).
0.5 rad still demands more opening than releasing a cube requires. The jaw opening
follows
2 * L * sin(q / 2)for jaw lever armL, so a 0.0477 m cube is freed byq >= 1.245for anyL >= 0.043 m, and the moving jaw spans about 0.093 m. So thecheck cannot start firing while the operator is still gripping the cube.
gripper_thresholdis deliberately left at 0.2.object_graspedreads it toannotate the
grasp_1/grasp_2subtask signals for every SO-101 stack env, sochanging it would alter demo and mimic annotations well beyond this task.
Scope:
stack_joint_teleop_env_cfg:SO101CubeStackEnvCfgis referenced only by theIsaacContrib-Stack-Cube-SO101-Joint-Teleop-v0registration, and nothing importsor subclasses it. The joint-position and IK-Abs SO-101 envs are unchanged.
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 with./isaaclab.sh --formatsource/<pkg>/changelog.d/for every touched package (do not editCHANGELOG.rstor bumpextension.toml— CI handles that)CONTRIBUTORS.mdor my name already exists there