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

TL;DR

You can delete your old catkin workspace folder and remove possible references for its previous devel/setup.bash.

Informational answer

The command catkin clean only clean the files generated by catkin build.

A catkin workspace is a folder. It contains a src folder with some ROS packages inside. There can exist multiple workspaces with different names, but only one is usually activated.

To activate a workspace, you need to init and build it first, generating the folders devel and build. Then, you need to source the setup.bash.

If you want to know which workspace is activated at the moment, you can check the first folder from command

echo $ROS_PACKAGE_PATH

You can find examples of workflow at catkin-tools website. It seems complicated at first, but soon you will get the hang of it ;)

Cheers,