Skip to content

Conversation

@matafela
Copy link
Collaborator

Description

  • Articulation now support getting target qpos
  • Fixed a bug in the CUDA environment where setting some joint angles would affect other joint angles.

Type of change

  • Bug fix (non-breaking change which fixes an issue)
  • New feature (non-breaking change which adds functionality)

Checklist

  • I have run the black . command to format the code base.
  • I have made corresponding changes to the documentation
  • I have added tests that prove my fix is effective or that my feature works
  • Dependencies have been updated, if applicable.

@matafela matafela requested a review from yuecideng January 23, 2026 07:37
@matafela matafela changed the title update Articulation support getting target qpos Jan 23, 2026
return self._target_qpos[:, : self.dof].clone()

@property
def qvel(self) -> torch.Tensor:
Copy link
Contributor

Choose a reason for hiding this comment

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

Maybe also add target_qvel

# TODO: trigger qpos getter to sync data, otherwise crash
if joint_ids is not None:
self.body_data.qpos
self.body_data.target_qpos
Copy link
Contributor

Choose a reason for hiding this comment

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

Also need to check whether target=True is applied. If target is False, we can apply qpos to articulation

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.

3 participants