Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

ros2 pkg list show cmake packages


I have a ros2 workspace with both ament and cmake packages.

The command "ros2 pkg list" does not show cmake packages that I have built and installed. It only shows ament packages. How do I get it to list cmake packages?

For the cmake packages, in package.xml, I use package version 3 and set buildtool_depend, buildtool_export_depend, and export/build_type to cmake.

I am assuming that is problem connected with failure of "ros2 launch package launch-file" failing on cmake packages. Have not tested the xacro "$(find package)" on cmake packages, but am assuming that would fail too.