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

Fixed robot.data["names"] not giving any names #148

Closed
wants to merge 3 commits into from

Conversation

thisjustin123
Copy link
Collaborator

@thisjustin123 thisjustin123 commented Oct 28, 2024

Description:

Fixes #147. Previously, data["names"] would return only empty strings.

Fix:

I added a quick utility to grab the names of each body joint and assign it to each ArticulationUnit:

image

Test Coverage:

Added a new test to verify that the stretch joint names are pulled correctly.

@thisjustin123 thisjustin123 changed the base branch from main to phy-robo-care October 28, 2024 20:40
assert "link_mast" in robot.data["names"]
assert "link_lift" in robot.data["names"]

bathing_env.step()
Copy link
Member

Choose a reason for hiding this comment

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

Is there a reason to step and test it again?

@YoruCathy
Copy link
Member

Duplicated w/ #146

@YoruCathy YoruCathy closed this Oct 29, 2024
@YoruCathy YoruCathy mentioned this pull request Oct 29, 2024
@thisjustin123 thisjustin123 deleted the justin/joint-names branch November 18, 2024 17:49
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.

robot.data['names'] has only empty strings
2 participants