rospack not finding installed packages
On Ubuntu trusty, I installed ros-indigo-rospack as well as a package I m developing : ros-indigo-catkin-pip from apt-get. Even after sourcing the indigo ROS environment, rospack cannot find the package, or any directory to look into, it seems...
Here is the relevant part of the travis log when building another ROS package with catkin_pip.
CI_ROS_DISTRO here is 'indigo'
$ source /opt/ros/$CI_ROS_DISTRO/setup.bash && rospack profile && rospack find catkin_pip
Full tree crawl took 0.000000 seconds.
Directories marked with (*) contain no manifest. You may
want to delete these directories.
To get just of list of directories without manifests,
re-run the profile with --zombie-only
-------------------------------------------------------------
[rospack] Error: package 'catkin_pip' not found
The command "source /opt/ros/$CI_ROS_DISTRO/setup.bash && rospack profile && rospack find catkin_pip" exited with 1.
But the package.xml is there :
$ cat /opt/ros/$CI_ROS_DISTRO/share/catkin_pip/package.xml
<?xml version="1.0"?>
<package format="2">
<name>catkin_pip</name>
<version>0.1.10</version>
<description>
Catkin macros to allow using pure python packages in usual catkin workspaces with normal python workflow.
</description>
<maintainer email="asmodehn@gmail.com">AlexV</maintainer>
<license>BSD</license>
<url type="website">http://github.com/asmodehn/catkin_pip</url>
<url type="repository">https://github.com/asmodehn/catkin_pip</url>
<url type="bugtracker">https://github.com/asmodehn/catkin_pip/issues</url>
<buildtool_depend>catkin</buildtool_depend>
<!-- we depend on rospack to dynamically find catkin_pip when generating envhooks for packages using catkin_pip -->
<depend>rospack</depend>
<depend version_gte="2.7.5">python</depend>
<depend version_gte="1.5.4">python-pip</depend>
<test_depend version_gte="1.9.1">git</test_depend>
</package>
Am I missing something here ?
Note there is only rospack, catkin and catkin_pip installed in my indigo environment. Does rospack needs another package to be able to work ?
Thanks for the help !
I recently found out that, even if I can source /opt/ros/indigo/setup.bash successfully, the ROS_PACKAGE_PATH environment variable is empty.
So what is the minimum required packages for rospack to works ? ros-base ? It seems rospack doesnt list them as dependencies...