Closed traversaro closed 2 years ago
fyi @Nicogene
The relevant code to debug seems https://github.com/ament/ament_index/blob/496403d0865866041d7ce9a95172a6b0e186c812/ament_index_python/ament_index_python/packages.py#L29 .
By reading https://github.com/ament/ament_cmake/blob/4d56683ae48c985e715207bfd8a0880900beb2f2/ament_cmake_core/doc/resource_index.md#file-system-index-layout, apparently we also need to install an empty file named iCub
in <prefix>/share/ament_index/resource_index/packages
.
This repo installs an
iCub
package that is meant to be found byROS2
().However, if I install:
then this command does not return anything:
Instead on ROS1
rospack list | grep iCub
returnsiCub
as expected.So, https://github.com/robotology/icub-models/issues/81 is not working as expected (see also https://github.com/robotology/robotology-superbuild/issues/832).
Env: