-
Notifications
You must be signed in to change notification settings - Fork 104
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 handling of limbs versions in iKin
#839
Conversation
13c8d30
to
e733b15
Compare
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.
At first glance seems ok 👍🏻
e733b15
to
86c3f06
Compare
Before doing specific tests on the robot, I'll be verifying this solution in https://github.com/pattacini/icub-gazebo-grasping-sandbox. |
e6179ba
to
27348b6
Compare
2df2225
to
10f8feb
Compare
After various fixes, I managed to make it work. See the result below: 2022-11-13.16-29-12.mp4For the record, here's enclosed the patch file to adapt the sandbox: Verifying that the sandbox works as intended is not sufficient:
|
See: |
In realsense-holder-calibration, that is linked in https://icub-tech-iit.github.io/documentation/upgrade_kits/realsense_holder/support/#calibration-of-the-realsense-holder, we also have a snippet of code of the form
Does that need the same kind of patch as in |
At first sight, I think it's ok as that module employs the conf param
At any rate, better off making a deeper inspection. |
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.
SInce it is a breaking change I would increment the patch number, in this way we could set the new icub-main version as minimum required for the downstream code that uses iKin.
Actually, I was thinking to increment the major number, right because it's a breaking change. |
a0b43f3
to
75c32bb
Compare
75c32bb
to
e8d49e9
Compare
e45b966
to
fe326a4
Compare
fe326a4
to
b9a1ed0
Compare
@mfussi66 and @AntonioConsilvio checked the correct behavior of the Red Ball demo! demoredballrendered.mp4 |
I've merged the PR's above too. cc @Nicogene |
This PR follows up on comments reported in #838 for which limbs version 2.10 is handled equally to 2.1 in iKin, for example.
To remedy this, a dedicated class
iKinLimbVersion
is introduced and thus all the related components have been updated.This is an old flaw that emerges now as we have crafted the new iCub version 2.10.
The gaze and cartesian controller client/server versions have been upgraded to 2.0 to notify a breaking change in the way
getInfo()
operates for the hardware-version1.Careful tests need to be done.
Footnotes
Other code that needs to be upgraded: