ROS2 workspace clean
What is the equivalent to catkin clean for ROS2 and colcon?
ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
What is the equivalent to catkin clean for ROS2 and colcon?
By installing the new colcon-clean extension, you can clean the build, install and log base paths like so:
sudo apt install python3-colcon-clean
colcon clean workspace
See the extension's repo readme for more documentation:
What is your configuration? I'm using Ubuntu 20.04 ROS2 foxy and it's not available; Unable to locate package python3-colcon-clean.
In addition to build and install, I would also clean the log directory
rm -r build install log
rm -r build install
Asked: 2019-08-06 12:31:57 -0500
Seen: 18,547 times
Last updated: Dec 15 '22
Why does ROS2 custom message colcon build give include file errors?
Is there a way to avoid having to "colcon build" every time I edit Python code?
how to organize data transfer between nodes on multiple PCs on ROS2
Nav2 lifecycle nodes don't autostart
Using Occupancy Grids with ROS 2: frame problem and probability map
I am getting an error using Ros2 Iron and micro-ROS on RP2040
ROS vs ROS 2.0 vs ROS industrial
There isn't one (yet) see ticket: https://github.com/colcon/colcon-core... You're best off scripting the removal of those directories for now.
Happy to say, there is one now: https://github.com/colcon/colcon-core...