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

Hello Anjulo,

Commands like catkin clean

rm -r build install

https://answers.ros.org/question/330109/ros2-workspace-clean/ https://github.com/colcon/colcon-core/issues/37

catkin list

colcon-package-information

In addition, is it possible to build only certain packages in colcon?

colcon build --packages-select <name-of-pkg>

If you only want to build selected package from workspace:

colcon build --packages-select <name-of-pkg> <name-of-another-pkg>

Hello Anjulo,

Commands like catkin clean

rm -r build install

https://answers.ros.org/question/330109/ros2-workspace-clean/ https://github.com/colcon/colcon-core/issues/37

catkin list

colcon-package-information

https://colcon.readthedocs.io/en/released/reference/verb/list.html

In addition, is it possible to build only certain packages in colcon?

colcon build --packages-select <name-of-pkg>

If you only want to build selected package from workspace:

colcon build --packages-select <name-of-pkg> <name-of-another-pkg>

https://colcon.readthedocs.io/en/released/user/how-to.html?highlight=colcon%20build%20--packages-selec#build-only-a-single-package-or-selected-packages

Hello Anjulo,

Commands like catkin clean

rm -r build install

https://answers.ros.org/question/330109/ros2-workspace-clean/ https://github.com/colcon/colcon-core/issues/37

catkin list

colcon-package-information

https://colcon.readthedocs.io/en/released/reference/verb/list.html

In addition, is it possible to build only certain packages in colcon?

colcon build --packages-select <name-of-pkg>

If you only want to build selected package from workspace:

colcon build --packages-select <name-of-pkg> <name-of-another-pkg>

https://colcon.readthedocs.io/en/released/user/how-to.html?highlight=colcon%20build%20--packages-selec#build-only-a-single-package-or-selected-packages

I think this will help you. This is a good official user documentation: https://colcon.readthedocs.io/en/released/index.html.

Hello Anjulo,

Commands like catkin clean

rm -r build install

https://answers.ros.org/question/330109/ros2-workspace-clean/ https://github.com/colcon/colcon-core/issues/37

catkin list

colcon-package-information

https://colcon.readthedocs.io/en/released/reference/verb/list.html

In addition, is it possible to build only certain packages in colcon?

colcon build --packages-select <name-of-pkg>

If you only want to build selected package from workspace:

colcon build --packages-select <name-of-pkg> <name-of-another-pkg>

https://colcon.readthedocs.io/en/released/user/how-to.html?highlight=colcon%20build%20--packages-selec#build-only-a-single-package-or-selected-packages

I think this will help you. This is a good official user documentation: https://colcon.readthedocs.io/en/released/index.html.

Moreover, You can also have a look at this documentation by Dirk Thomas: https://docplayer.net/207294236-Colcon-documentation-dirk-thomas-nov-05-2020.html

Hello Anjulo,

Commands like catkin clean

rm -r build install

I think colon does not have any clean command. For that have a look at the below links.

https://answers.ros.org/question/330109/ros2-workspace-clean/ https://github.com/colcon/colcon-core/issues/37

catkin list

colcon-package-information

https://colcon.readthedocs.io/en/released/reference/verb/list.html

In addition, is it possible to build only certain packages in colcon?

colcon build --packages-select <name-of-pkg>

If you only want to build selected package from workspace:

colcon build --packages-select <name-of-pkg> <name-of-another-pkg>

https://colcon.readthedocs.io/en/released/user/how-to.html?highlight=colcon%20build%20--packages-selec#build-only-a-single-package-or-selected-packages

I think this will help you. This is a good official user documentation: https://colcon.readthedocs.io/en/released/index.html.

Moreover, You can also have a look at this documentation by Dirk Thomas: https://docplayer.net/207294236-Colcon-documentation-dirk-thomas-nov-05-2020.html