Open LorenzMeier opened 10 years ago
The reason for this is that mavlink
and octomap_msgs
are not released into Indigo. To understand why this is happening you have to understand the process by which rosdep comes to this action. This like might give you some insight:
But I will briefly go over what is happening here:
src
) which depends on mavlink
.mavlink
in the ROS_PACKAGE_PATH
+ packages in src
--ignore-src
option.mavlink
is found, then this dependency is skipped.mavlink
does not have an OS X entry in the rosdep rules it will assume mavlink is a ROS package which is not in the RPP or in the src
folder.brew install ros/{rosdistro}/{package_name}
(https://github.com/ros-infrastructure/rosdep/blob/master/src/rosdep2/gbpdistro_support.py#L112)sudo apt-get install ros-{rosdistro}-{package_name}
So because it can't find mavlink
from none of the RPP, the src
, or the rosdep rules it is trying to blindly install the package from the package manager, in this case Homebrew. Now if we were doing continuous deployment of all ROS packages for Homebrew then the mavlink
formula would be in the ros/indigo
tap.
If you wish to provide a formula for mavlink
which rosdep can find, then create and host the formula and then put an entry in the rosdep rules: https://github.com/ros/rosdistro/blob/master/rosdep/osx-homebrew.yaml
For octomap_msgs
, you'll need to poke the maintainer to release it into Indigo.
@tumbili The octomap_msgs seem to be a common challenge.
@ahornung Could you release the octomap_msgs into Indigo? That would be highly appreciated, thanks!
@LorenzMeier @wjwwood it should already be released: https://github.com/ros/rosdistro/blob/master/indigo/distribution.yaml#L3408 http://www.ros.org/debbuild/indigo?q=octomap
Sorry I suppose I mispoke before, the reason for this is that mavlink
and octomap_msgs
are neither on the ROS_PACKAGE_PATH
, nor in the workspace, nor installable (naively) from Homebrew.
@ahornung you're right, it is released in Indigo, I guess he is just missing it from his workspace then.
@LorenzMeier octomap_msgs
either needs to be installed elsewhere (e.g. /opt/ros/indigo
), and therefore on your ROS_PACKAGE_PATH
, or it needs to be in the source space of your current workspace. rosdep
is naively trying to install it and failing. On Ubuntu it would naively try to do sudo apt-get install ros-indigo-octomap-msgs
and that would work as long as you are on Trusty.
The default repository URL for indigo is homebrew-indigo, which doesn't exist - is the repository missing or the URL formation not correct?
Would the mavlink package setup not allow wstool to fetch it correctly? I'm happy to contribute a home-brew formula, but I first need to understand the workflow correctly.
http://wiki.ros.org/mavlink