Skip to content
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

[BUG FIX] update RigidEntity.get_link() as id no longer exists in RigidLink #477

Closed
wants to merge 2 commits into from

Conversation

ziyanx02
Copy link
Collaborator

@ziyanx02 ziyanx02 commented Jan 5, 2025

Previous:
RigidEntity.get_link(name: str, id: str) but link.id no longer exists.

Updated:
RigidEntity.get_link(name: str, idx: int) search link by global idx.

@zhouxian
Copy link
Collaborator

zhouxian commented Jan 5, 2025

No it’s uid, not idx

idx can simply use entity.links[idx]

@ziyanx02
Copy link
Collaborator Author

ziyanx02 commented Jan 5, 2025

Update both get_joint and get_link

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.

2 participants