-
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
Allow opening and using the contacts:o port without skinDynLib #110
Comments
I have never used the skin with WBD so far. But maybe looking into skinDynLib and related configuration files could possibly help? |
Would you have any input on how to get the numbers to put in there, like https://github.com/robotology/robots-configuration/blob/f3fef4277717ae87d825a9a46d994ccd21fef3ec/iCubGenova04/estimators/wholebodydynamics.xml#L24-L40? |
After a F2F discussion with @traversaro, a possibility would be to open yet another port publishing the content of |
On some reading, I think this file might have some relevant information, https://github.com/robotology/icub-main/blob/master/src/libraries/skinDynLib/include/iCub/skinDynLib/common.h#L43 related to the body part enums. |
Ah nice finding! |
While the first number is more or less clear, I am not sure what the second number is 🤔 |
In robotology/icub-main#462 you can find a PR that we should revive to finally end this confusion. |
At the moment, the
contacts:o
port is opened only ifuseSkinForContacts
is set to true. Seewhole-body-estimators/devices/wholeBodyDynamics/WholeBodyDynamicsDevice.cpp
Lines 1469 to 1482 in 353985f
whole-body-estimators/devices/wholeBodyDynamics/WholeBodyDynamicsDevice.cpp
Lines 569 to 575 in 353985f
I tried to set
useSkinForContacts
totrue
without setting theIDYNTREE_SKINDYNLIB_LINKS
, but then I had a lot of these errors related towhole-body-estimators/devices/wholeBodyDynamics/WholeBodyDynamicsDevice.cpp
Line 2534 in 353985f
Even if the error seems harmless, this is not sustainable since the
wholeBodyDynamics
device runs as a part of the robot mainyarprobotinterface
, thus filling up the logger in a very short time.I have tried understanding how to set the
IDYNTREE_SKINDYNLIB_LINKS
group, but I could not figure out a correct configuration. In addition, it requires to specify a set of numbers that I have no clue how to get right, especially for a robot like iCub3 that is covered only in a small portion by the skin.Any hint @traversaro @prashanthr05?
The text was updated successfully, but these errors were encountered: