-
Notifications
You must be signed in to change notification settings - Fork 12
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 deprecation with iDynTree 3 #116
Conversation
I took the liberty of also bumping a release after this PR, as it would be good to have this out before iDynTree 4 gets released. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks @traversaro. Did you intend to merge it to master directly? unlike the past PRs?
Yes, being a bug fix I was thinking of merging in master and then forward merge to devel. |
@prashanthr05 @HosameldinMohamed let me know if you prefer to handle the merge+release or if you prefer me to do it. |
I can do it. |
Thanks @HosameldinMohamed ! Let me know if you need help then forward merging this to devel (the basic idea is similar to https://github.com/robotology/yarp/blob/master/.github/CONTRIBUTING.md#stable-branches-yarp-3x, but in the case of this repo the stable branch is |
While working on #116, I noticed that the current CI is quite slow. In this PR I added a conda-based CI using the template already followed in other repos that should provide feedback on a PR much faster.
New release v0.5.1 |
Thanks! I launched a new robotology-superbuild job to check if the compilation is indeed back to normal: https://github.com/robotology/robotology-superbuild/actions/runs/1022800284 . |
In robotology/idyntree#770 the
getSensorIndex
variant that takesstd::ptrdiff_t
was deprecated, and it has been removed in the upcoming iDynTree 4 (robotology/idyntree#884). This PR fixes the deprecation warning in iDynTree 3 and the compilation with iDynTree 4.I also bumped the version of iDynTree used in CI that it was quite old, and prevented the CI to compile correctly this PR.