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?
rm -r build install
In addition to build and install, I would also clean the log directory
rm -r build install log
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.
Asked: 2019-08-06 12:31:57 -0500
Seen: 19,012 times
Last updated: Dec 15 '22
Create Dockerfile for ros2 package : ament_cmake error
error in find_package(), when building with custom message.
how to build and debug ROS2 nodes with clion and docker
ROS2 nodes launched with systemd aren't discovered
ROS2 on Windows with NVidia GPU
How to publish a CompressedImage in ROS2 Foxy?
how to debug a ros2 python launch file
Can we use MQTT in ROS2? [closed]
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...