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

Errors occurs in generate_segment_pics function in bimanual/helpers.py: parser.multibody.parsing.Parser object has no method AddModelFromFile #12

Open
hanlanqian opened this issue Sep 29, 2024 · 0 comments

Comments

@hanlanqian
Copy link

Hello, Thanks for you guys' great work. I'm encounting some problems when tring to replication the bimanual simulation. Seems that there is no AddModelFromFile method in Parser Object in the latest version of drake. Is there any alternative method for implement the same functionality?

def generate_segment_pics(traj, segment, meshcat):
      ...
      iiwa1_goal = parser.AddModelFromFile(iiwa_file, "iiwa1_goal")
      wsg1_goal = parser.AddModelFromFile(wsg_file, "wsg1_goal")
      iiwa2_goal = parser.AddModelFromFile(iiwa_file, "iiwa2_goal")
      wsg2_goal = parser.AddModelFromFile(wsg_file, "wsg2_goal")
      ...
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

No branches or pull requests

1 participant