ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

There is a pkg verb inside the ros2 command line tools. To create a new package, you can run the following command:

ros2 pkg create --dependencies [deps]

It is not as feature complete as catkin_create_pkg and currently only supports cmake and ament_cmake packages. Pure Python packages are not yet supported.

There is a pkg verb inside the ros2 command line tools. To create a new package, you can run the following command:

ros2 pkg create --dependencies [deps]

It is not as feature complete as catkin_create_pkg and currently only supports cmake and ament_cmake packages. Pure Python packages are not yet supported.

EDIT:

The create verb is not available in Ardent and has to be built from source (at the time of writing). IMO, the best way of doing so is to create an overlay workspace and then checkout the latest master release of ros2cli here.