creating metapackage
Is there any good reference for creating metapackage? Or Is there any command like catkin_create_pkg for creating normal package?
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
Is there any good reference for creating metapackage? Or Is there any command like catkin_create_pkg for creating normal package?
Actually, @gvdhoorn's recommendation is already implemented. So now posting as answer:
catkin_create_pkg <MY_META_PACKAGE> --meta
will do what you want. You still have to add the dependencies to the package.xml, though. But this is actually trivial...
I'm stumped how I missed that as well. This feature is actually four years old and I've been copying around files to achieve this :-D
Asked: 2019-05-02 03:11:24 -0600
Seen: 2,493 times
Last updated: May 03 '19
Stack concept removed from distros since Groovy, how will be the migration? [closed]
How to connect the kinetic sensor to my ROS computer
Bloom: Releasing from multiple upstream repos which depend on each other
catkin metapackage now requires CMakeLists.txt?
catkin_prepare_release pushes twice w/o incrementing tag?
How is the info in the package.xml of a metapackage used?
Only need one package within metapackage
Putting top-level launch files in a catkin metapackage [closed]
Is http://wiki.ros.org/catkin/package.xm... enough?
As it states:
it is sufficient to use
catkin_create_pkg <WHATEVER>
, add the mentioned tag in thepackage.xml
, add the respective dependencies and replace theCMakeLists.txt
with the boilerplate one. Note that this needs to be exact that (whitespace!) except for the package name.Might be a nice PR to extend
catkin_create_pkg
so it can generate metapackages.