-
Notifications
You must be signed in to change notification settings - Fork 18
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
Incorrect inertias generated in the ergoCubSN001 model #224
Comments
I guess the most interesting one are the one in the finger. The header is almost a ball, so its principal axis are indeed quite sensitive to small mass distribution discrepancies. Instead, the one in the fingers seems to be actually wrong. As mentioned by @giotherobot, probably there is something wrong either in creo --> iDynTree::Model conversion contained in https://github.com/icub-tech-iit/creo2urdf, or in the iDynTree:Model --> URDF conversion contained in https://github.com/robotology/idyntree/blob/master/src/model_io/codecs/src/URDFModelExport.cpp . |
Looking into this, I guess the probability of those being wrong seems low, mainly as the orientation of the inertia is hardcoded to the identity in https://github.com/robotology/idyntree/blob/master/src/model_io/codecs/src/URDFModelExport.cpp#L89, as in iDynTree the inertia is always oriented like the link frame. |
Looking at creo2urdf, the relevant code is:
In particular, it seems that the |
To clarify what I was suggesting, I wrote it down the fix I have in mind in icub-tech-iit/creo2urdf#83 . |
Hi @Nicogene @traversaro and @giotherobot, I also checked the legs and the problem seems to be also there |
It fixes #224. Model regenerated after icub-tech-iit/creo2urdf#83
While trying to import the model in mujoco I discovered a problem in the inertia orientation of the ergoCubSN001 model.
Then with @traversaro we checked also in Gazebo the original model without modification and indeed the inertias have an incorrect orientation wrt the links:
This might be a problem of the creo to urdf conversion?
The text was updated successfully, but these errors were encountered: