Skip to content

[Bug Report] inhand_manipulation _reset_idx might be sampling from a wrong range #4404

Closed

Description

@hujc7

If you are submitting a bug report, please fill in the following details and use the tag [bug].

Describe the bug

The following lines seem to be sampling within joint lower and upper limit but it might be slightly off.

        dof_pos_noise = sample_uniform(-1.0, 1.0, (len(env_ids), self.num_hand_dofs), device=self.device)
        rand_delta = delta_min + (delta_max - delta_min) * 0.5 * dof_pos_noise
        dof_pos = self.hand.data.default_joint_pos[env_ids] + self.cfg.reset_dof_pos_noise * rand_delta

rand_delta = delta_min + (delta_max - delta_min) * 0.5 * dof_pos_noise

I think it should be either

        dof_pos_noise = sample_uniform(-1.0, 1.0, (len(env_ids), self.num_hand_dofs), device=self.device)
        rand_delta = delta_min + (delta_max - delta_min) * 0.5 * (dof_pos_noise+1)

or

        dof_pos_noise = sample_uniform(0, 1.0, (len(env_ids), self.num_hand_dofs), device=self.device)
        rand_delta = delta_min + (delta_max - delta_min) * dof_pos_noise

Steps to reproduce

N/A

System Info

N/A

Additional context

Add any other context about the problem here.

Checklist

  • I have checked that there is no similar issue in the repo (required)
  • I have checked that the issue is not in running Isaac Sim itself and is related to the repo

Acceptance Criteria

Add the criteria for which this task is considered done. If not known at issue creation time, you can add this once the issue is assigned.

  • Criteria 1
  • Criteria 2

Activity

  1. RandomOakForest commented on Jan 23, 2026

    @RandomOakForest
    Collaborator

    Thank you for posting this. The team will review it.

  2. added
    bug
    enhancement
    on Jan 23, 2026
  3. added a commit that references this issue on Feb 21, 2026
    c3c33f8
  4. added a commit that references this issue on Sep 23, 2026
    3d44066
  5. added a commit that references this issue on Sep 23, 2026
    244496d
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

bugenhancement

Type

No type

Projects

No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions