ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
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.
2 | No.2 Revision |
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.