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

Problem referencing Pinocchio #63

Closed
mklvcm opened this issue Jan 17, 2020 · 4 comments
Closed

Problem referencing Pinocchio #63

mklvcm opened this issue Jan 17, 2020 · 4 comments

Comments

@mklvcm
Copy link

mklvcm commented Jan 17, 2020

Hi guys,

I'm trying to follow your installation instructions and I'm getting the following error:

image

Any ideas what can be wrong?

Thanks,
Misha.

@andreadelprete
Copy link
Collaborator

Probably that method was deprecated and now it has been removed from pinocchio. Maybe you can try replacing it with:

q = se3.getNeutralConfiguration(robot.model(), srdf, False)

or

se3.loadReferenceConfigurations(robot.model(), srdf, False)
q = robot.model().referenceConfigurations["name_of_the_configuration"]

where you should replace name_of_the_configuration with the actual name of the configuration you want to use (which should be written in the srdf file).

@mklvcm
Copy link
Author

mklvcm commented Jan 18, 2020

Thank you Andrea.

Yes, the method seems deprecated. The method you suggested does not seem to be there neither.

I also tried to build pinocchio v2.10 from March last year. That version has the function. But when I run it it crashes with core dump :(

I'd like to give this library a try but I'm kind of stuck. Do you know of any versions that are proved working? Do you by any chance have a VM with all stuff installed? Or something?..

Thanks,
Misha.

@andreadelprete
Copy link
Collaborator

Hi Misha,

I' ve just pushed in the devel branch a fix to your problem. I've also converted all python files to python 3 (pinocchio has already switched, so it was about time TSID did it too). For playing with the library I suggest you to use the scripts in the folder exercises (rather than the ones in tests).

@mklvcm
Copy link
Author

mklvcm commented Jan 20, 2020

That is massively appreciated! I'll tell all my friends that Andrea is the man! Let me give it a try now .. :)

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

2 participants