robotics-toolbox-python icon indicating copy to clipboard operation
robotics-toolbox-python copied to clipboard

Fixing RNE for URDFs robots with fixed joints

Open niederha opened this issue 2 years ago • 5 comments

This PR should fix the RNE function allowing correct execution for robot having fixed joints. It should also improve RNE computations by actually taking into account the links inertia when specified.

This should fix the bug described in issue #368

Unit tests were added and expended appropriately but I would still appreciate a review from someone familiar with the code.

niederha avatar Nov 17 '23 14:11 niederha

EDIT: Noticed an issue with spatialinertia addition. Fixed it but not in the most elegant way. Now it should be working flawlessly

niederha avatar Nov 20 '23 15:11 niederha

Thanks for your interest in the toolbox. We made a separate fix for this problem and we'd like to compare the results of your code and unit tests with our own.

petercorke avatar Aug 07 '24 06:08 petercorke

@petercorke Have you had the time to compare the results ? I'd love to know if I can use this fix safely!

adriencholet avatar Aug 21 '24 18:08 adriencholet

Hello, Happy to see that this request has been moving forward. Just FYI, I've been using this fix for about 6 months and have been able to control robots with it (KUKA IIWA 7 and 14). I haven't noticed any glaring red flags and results seemed similar to what you'd get with pinnochio. I haven't conducted detailed mathematical testing but qualitatively this seemed good enough... and faster.

Also I belive I made a small unrelated fix in commit 0fed750 where a unittest was needlessly skiped on linux. Let me know if we think we should roll back this commit and do it somewhere else.

niederha avatar Aug 22 '24 09:08 niederha