Skip to content

Fixes IndexError in reset_joints_by_scale and reset_joints_by_offset #2949

New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Open
wants to merge 7 commits into
base: main
Choose a base branch
from

Conversation

Creampelt
Copy link

@Creampelt Creampelt commented Jul 15, 2025

Description

Fixes the IndexError caused by simultaneously indexing env_ids and joint_ids in reset_joints_by_scale and reset_joints_by_offset.

Fixes # 2948

Type of change

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

Checklist

  • I have run the pre-commit checks with ./isaaclab.sh --format
  • I have made corresponding changes to the documentation
  • My changes generate no new warnings
  • I have added tests that prove my fix is effective or that my feature works
  • I have updated the changelog and the corresponding version in the extension's config/extension.toml file
  • I have added my name to the CONTRIBUTORS.md or my name already exists there

Copy link
Contributor

@ooctipus ooctipus left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@Creampelt Sorry I was my miss!

Thank you for the fix, it looks very good XD

@jhs3330395
Copy link

jhs3330395 commented Jul 24, 2025

This content has not yet been merged into the main branch.. (2025.07.24)

@kellyguo11 kellyguo11 changed the title Fix IndexError in reset_joints_by_scale and reset_joints_by_offset Fixes IndexError in reset_joints_by_scale and reset_joints_by_offset Jul 24, 2025
Creampelt and others added 3 commits July 26, 2025 13:56
Signed-off-by: Emily Sturman <[email protected]>
Add dimension to env_ids (rather than indexing twice)

Co-authored-by: Mayank Mittal <[email protected]>
Signed-off-by: Emily Sturman <[email protected]>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants