-
Notifications
You must be signed in to change notification settings - Fork 27
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
Fix call to setComTarget
in InverseKinematicsNLP
#339
Conversation
Just to understand, this is something happened at the iDynTree level? Do you have a reference on the PR that made this change? |
Yep, the culprit is robotology/idyntree#822. SWIG generatesd |
Thanks, I had no idea. For the future I think that if you think that |
I think in this case there's nothing final we can do from downstream. This is not the only place where kwargs are used, and personally I always use them when I can because they greatly improve readability and make downstream code fail if upstream changes the arguments or their order (and this is a good thing otherwise upstream changes could get unnoticed). In the case of SWIG bindings, maybe we should stop using kwargs because upstream changes like these ones break downstream Python code even though C++ APIs are not broken. I will slowly migrate the code I maintain to avoid their usage. Note that this is a SWIG-only problem. I think that |
Yes, exactly for this reasonI mentioned adding tests in iDynTree itself, rather then downstream, to catch this problems before it gets released (even if in this specific case the ship has sailed). |
Yes I agree with you. In this specific case I think it is more important keep |
I'm not sure why the fuel test of the
The |
No luck, marking the test as flaky and merging as soon as CI turns green. |
Just found the culprit of the fuel test failure that was disabled in this PR: gazebosim/gz-fuel-tools#183. |
The
kwargs
have been removed from the upstream bindings.