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

colcon__delete <package name="">

colcon__delete <package name="">remove the package directory (here from ros2_ws directory as being the working directory):

rm -rf /src/<package_name>

Then remove the build, install and log directory

rm -rf build/ install/ log/

and rebuild the environment, as usual (full colcon build)

colcon build

remove the package directory (here from ros2_ws directory as being the working directory):

rm -rf /src/<package_name>
src/<package_name>

Then remove the build, install and log directory

rm -rf build/ install/ log/

and rebuild the environment, as usual (full colcon build)

colcon build