ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
2

rosdep install with metapackage

asked 2013-11-06 01:54:07 -0600

stfn gravatar image

Hi,

I created a metapackage wrapping some of our own ros packages by declaring a run_depend on them. When I then run rosdep check my_metapackage everything is fine despite some system requirements of those run_depend packages are not met.

I know I could change the run_depend to build_depend, but then I get a warning for doing so. So ... I want to install the system-dependencies of a whole 'stack' aka metapackage with one command like rosdep install my_metapackage and not running the rosdep install for every single package ... is that possible?

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
3

answered 2013-11-06 06:55:00 -0600

William gravatar image

You can't use a metapackage to do that, if you have all of the packages cloned locally you can do this:

$ rosdep install --from-paths ./path/to/packages --ignore-src --rosdistro hydro -y --simulate

That line will find all of the catkin packages in that path, and attempt to install their dependencies from your package manager, ignoring dependencies which can be found checked out locally from source. (also it just simulates its actions, remove the --simulate to actually do it).

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2013-11-06 01:54:07 -0600

Seen: 658 times

Last updated: Nov 06 '13