ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange |
1 | initial version |
Catkin uses env caching when you create your devel space first (some people don't like that it does). This means when you create an initial build, e.g. using catkin_make, then what is in your env goes into a file that is used to create the same env next time you source the setup.*sh.
The solution for you is to delete newws/devel, then start a clean terminal (one in which oldws is not in env), and catkin_make (or cmake) new_ws.
If you don't like env caching after playing with it, give feedback.