Ask Your Question

Revision history [back]

Not sure if I understand your question correctly but if you're asking if it's possible for your_package to depend on metapackages, yes, and your_package can include all direct dependency defined in a metapackage as well as transitive ones.

E.g. ros-kinetic-desktop-full, which is a metapackage that includes standard packages, depends on another metapackage ros-kinetic-desktop, which depends on another metapackages.

Not sure if I understand your question correctly but if you're asking if it's possible for your_package to depend on metapackages, yes, and your_package can include all direct dependency defined in a metapackage as well as transitive ones.ones no normal catkin package can depend on metapackages (ref. REP-0127).

Only metapackages can depend on other metapackages. E.g. ros-kinetic-desktop-full, which is a metapackage that includes standard packages, depends on another metapackage ros-kinetic-desktop, which depends on another metapackages.

UPDATE

I want to know how I can add the necessary dependencies if I can't use the metapackages as dependencies as listed in the tutorial.

Looking at the tutorial you referred to, IMO your question is valid. I've suggested a possible fix. You must pass explicit dependencies.


Not sure if I understand your question correctly but if you're asking if it's possible for your_package to depend on metapackages, yes, and your_package can include all direct dependency defined in a metapackage as well as transitive ones no normal catkin package can depend on metapackages (ref. REP-0127).

Only metapackages can depend on other metapackages. E.g. ros-kinetic-desktop-full, which is a metapackage that includes standard packages, depends on another metapackage ros-kinetic-desktop, which depends on another metapackages.

UPDATE

I want to know how I can add the necessary dependencies if I can't use the metapackages as dependencies as listed in the tutorial.

Looking at the tutorial you referred to, IMO your question is valid. I've suggested a possible fix. You must pass explicit dependencies.


Not sure if I understand your question correctly but if you're asking if it's possible for your_package to depend on metapackages, yes, and your_package can include all direct dependency defined in a metapackage as well as transitive ones no normal catkin package can cannot depend on metapackages (ref. REP-0127).

Only metapackages can depend on other metapackages. E.g. ros-kinetic-desktop-full, which is a metapackage that includes standard packages, depends on another metapackage ros-kinetic-desktop, which depends on another metapackages.