robotology / icub-models

Official URDF and SDF models of the iCub humanoid robot.
Creative Commons Attribution Share Alike 4.0 International
33 stars 34 forks source link

icub_models.get_models_path() python command points to a non existing folder #148

Closed GiulioRomualdi closed 2 years ago

GiulioRomualdi commented 2 years ago

If I install icub-models from the superbuild and I tried to get the model path with icub_models.get_models_path() I got a non existing path

In [1]: import icub_models

In [2]: icub_models.get_models_path()
Out[2]: PosixPath('/home/gromualdi/robot-code/robotology-superbuild/build/install/lib/home/gromualdi/robot-code/robotology-superbuild/build/install/share/iCub/robots')

I'm using https://github.com/robotology/icub-models/commit/2c9f8ab2b178bf5894efc8cf187bb6211e1f85e5

cc @traversaro

GiulioRomualdi commented 2 years ago

https://github.com/robotology/icub-models/pull/149 fixes the bug