Ask Your Question

how to add a repository as a dependency in the package.xml and add it as a component to in the cmakelists.

asked 2014-12-03 20:48:59 -0500

A.M Dynamics gravatar image

updated 2014-12-03 21:16:32 -0500

Dear All,

There is a repository API for Kuka youbot named youbot_driver which includes other packages/folder and libraries and a Yaml file. I want to link against this repository from a catkin package(IT DOSE NOT consist of Include folder as a catkin package). There is a folder named youbot which includes .ccp and .h files. Regardless of declaring these headers in the main node, I have to add this repository to .xml and cmakelists. Would you please tell how I can do this?


edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2014-12-04 00:52:22 -0500

BennyRe gravatar image

In your package.xml add


and in your CMakeLists.txt add youbot_driver to find_package and catkin_package.

edit flag offensive delete link more


Thanks. It means that there is no difference between a repository including some packages/folders and a single package in the way that we declare them in .xml and cmakelists?

A.M Dynamics gravatar image A.M Dynamics  ( 2014-12-04 09:59:17 -0500 )edit

Well, youbot_driver is a single package. How complexd the package is plays no role.

BennyRe gravatar image BennyRe  ( 2014-12-05 00:49:11 -0500 )edit

@BennyRe. My problem is solved. The package could drive the youbot well. Thanks for your help.

A.M Dynamics gravatar image A.M Dynamics  ( 2014-12-26 17:52:19 -0500 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2014-12-03 20:48:59 -0500

Seen: 74 times

Last updated: Dec 04 '14