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

Dependencies on user_packages

asked 2015-03-21 16:07:02 -0500

Georacer gravatar image

Hello everyone,

I have in my catkin_ws/src folder two packages, A and B.

Package A depends on package B and joy on build time. I have declared at package.xml of A

<build_depend>B</build_depend>
<build_depend>joy</build_depend>

I would like to use rosdep to have users install joy automatically. However, that means that rosdep will try to download package B as well, and naturally fail.

Is there a way for rosdep to discern user packages and not search for them?

Thanks

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted
1

answered 2015-03-21 16:13:11 -0500

gvdhoorn gravatar image

You can tell rosdep to ignore packages that are already in the src directory, like so:

rosdep (check|install) --from-paths /path/to/catkin_ws/src --ignore-src

If package B is already in your source workspace, rosdep will not try to download it.

edit flag offensive delete link more

Comments

It sure works. Thanks!

Georacer gravatar image Georacer  ( 2015-03-21 16:26:30 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2015-03-21 16:07:02 -0500

Seen: 157 times

Last updated: Mar 21 '15