-
Notifications
You must be signed in to change notification settings - Fork 481
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
RNE Function on URDF Robot Models #368
Comments
I can reproduce the bug. There is a long standing issue, #236, for links with fixed transforms, of which this model has many. This code needs to be revisited, sorry for the inconvenience. |
I've experienced this issue and found a workaround by changing the way the inertia matrix is calculated. In the function Changed
To
Such that the inertia matrix gets calculated row by row using |
@petercorke I've run into the same bug... I am not super familiar with the math behind this, and this part of the code is a little opaque... could you confirm that the fix by @thvhauwe is correct? And if so could we maybe merge it on main and if possible update the pip package? It would be a big plus on my side for portability if I were able to get this working fix from pip. Let me know if I can assist in any way. |
Ok, well I needed something that worked so I made a fix. PR #408 should fix the problem. Looking forward for feedback on that and fixing that bug! |
I am trying to do dynamic simulations on robots using the URDF models. When I run a function that uses the rne() function, I run into errors.
When I run the following commands:
I get the following error:
If I run the same code on a Panda or another robot with a different number of joints, I get a different error:
It seems like there is some problem with between the rne() function and the URDF models. It works with the DH models, but for my application I have a custom end effector that can't be modeled as a point mass, and so we need to use the URDF description with the moments of inertia.
The text was updated successfully, but these errors were encountered: