ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

can ament package depend on catkin package

asked 2018-01-09 10:47:27 -0500

jlack gravatar image

Is there any clean way of having an ament package depend on a catkin package if, say, their workspaces are different but maybe the ament workspace is an overlay on the catkin workspace? The main problem I think we're seeing is if the catkin package has system dependencies(on for example Boost), the ament package can't properly link all the libraries exported from the catkin package that would normally be available in ${catkin_LIBRARIES}

edit retag flag offensive close merge delete

1 Answer

Sort by ยป oldest newest most voted

answered 2018-01-09 10:52:31 -0500

William gravatar image

I haven't tried it, but in theory, yes. ament is just a kind of cmake project, and there are examples of how to use ROS 1 (and therefore catkin) from plain cmake and/or with make:

If you apply these principles, you should be able to build an ament package on top of a catkin workspace, though it's not a "supported" use case and the tools/documentation don't cover this case at all, at least that I am aware of.

edit flag offensive delete link more


Yeah I was just wondering about how to keep from manually having to link my dependencies dependencies libraries without depending on ${catkin_LIBRARIES}. I'm thinking maybe from the ament package I could use, ${catkin_pkg_name_LIBRARIES} and those should contain the correct libraries

jlack gravatar image jlack  ( 2018-01-09 10:59:08 -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



Asked: 2018-01-09 10:47:27 -0500

Seen: 281 times

Last updated: Jan 09 '18