lpp
lpp copied to clipboard
lpp rosdep workflow fails
I have lpp installed in my regular catkin workspace
catkin_ws -- src -- -- lpp -- -- another package depending on lpp in package.xml
My problem is that I get the following error when trying to install the dependencies using rosdep
For example
rosdep install omav_hovery_core
ERROR: the following packages/stacks could not have their rosdep keys resolved
to system dependencies:
omav_hovery_core: Cannot locate rosdep definition for [lpp]
My guess is there is some export or install missing in LPP's CMakeLists or I need to tell rosdep somehow to also look in the sources workspace to find dependencies. Thus rodep does not know that lpp is within catkin workspace. Do you know what to do @4c3y ?
AFAIK rosdep is only designed to install system dependencies. It is not designed to install other ROS packages needed by omav_hovery_core
rosdep can install both ROS packages as well as system dependencies. Which is which is defined in this repository which is queried when one runs rosdep update. The yaml files in this repository map entries in package.xml files to packages for the respective package managers on different OS's and distros. If a dependency is not listed there it will try to install it as a ros package (ros-$ROSDISTRO-package-name). Since lpp is already present in the workspace and should not be considered one can add the -i or --ignore-src flag which will prevent rosdep to install packages already present in the workspace.