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

Inertia matrix seems wrong #9

Open
triccyx opened this issue Jun 8, 2018 · 6 comments
Open

Inertia matrix seems wrong #9

triccyx opened this issue Jun 8, 2018 · 6 comments

Comments

@triccyx
Copy link
Member

triccyx commented Jun 8, 2018

Not easy to understand but at least it seems to have too much null cells.
Is it a precision problem?

@triccyx
Copy link
Member Author

triccyx commented Jun 8, 2018

Also if the CM of .urdf file is the same as the one in .mo file, inertia martix should be the same in both case

@traversaro
Copy link
Member

@triccyx Can you check with the example provided in the readme: https://github.com/robotology-playground/sdf-modelica#example-usage ? In that case, the inertia values of 0.01 seem to be correctly converted from urdf to Modelica.

@triccyx
Copy link
Member Author

triccyx commented Jun 8, 2018 via email

@traversaro
Copy link
Member

traversaro commented Jun 8, 2018

Good catch. I think the problem is in numbers expressed with the scientific notation, however the error is minimal, so if you had strange results I do not think this is the problem.
I will be working on it.

@traversaro traversaro self-assigned this Jun 8, 2018
@triccyx
Copy link
Member Author

triccyx commented Jun 11, 2018

Same problem in CM vector position from frame_a in Modelica.Mechanics.MultiBody.Parts.Body

@traversaro traversaro removed their assignment Apr 20, 2021
@traversaro
Copy link
Member

Removing my assignment, if anyone wants to work feel free to do so.

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