robotology-legacy / yarp-wholebodyinterface

Implementation of the wholeBodyInterface for YARP robots.
1 stars 3 forks source link

[new_wbi_ID branch] #5

Closed jeljaik closed 10 years ago

jeljaik commented 10 years ago

I'm getting the following error message when querying IdList from configuration file: [ERR] loadIdListFromConfig error: requested list ICUB_MAIN_JOINTS is malformed The config file is being found, as you can see from the following snippet:

...
||| checking [/home/jorhabib/Software/codyco-superbuild/build/install/share/codyco/robots/iCubGenova03/wbi_conf_file.ini] (robot)
||| found /home/jorhabib/Software/codyco-superbuild/build/install/share/codyco/robots/iCubGenova03/wbi_conf_file.ini
...

And in it I have ICUB_MAIN_JOINTS as:

ICUB_MAIN_JOINTS = (ICUB_TORSO_LEGS, ICUB_TORSO_JOINTS)

This doesn't happen when I request ICUB_DYNAMIC_MODEL_JOINTS Any idea? Thanks

traversaro commented 10 years ago

I guess this happens because the ICUB_TORSO_LEGS list is not defined. I will try to provide a more informative error in https://github.com/robotology-playground/yarp-wholebodyinterface/commit/2129f045785ef750d017e38b79ad23535a586068 .

jeljaik commented 10 years ago

The actual reason was that ICUB_TORSO_LEGS was actually defined, but when defining ICUB_MAIN_JOINTS the torso joints were being added twice.

traversaro commented 10 years ago

Ok, I now provide a sufficiently clear error message for this use case in https://github.com/robotology-playground/yarp-wholebodyinterface/commit/bdfb73b63468a2465ed02a3bcf2196a448cb1803 . Closing.