I have both a catkin_ws and a rosbuild_ws. However, when I use the command roscd I can only go to the one I’ve sourced last, i.e.:
-When I do source ~/rosbuild_ws/setup.bash, I the packages inside rosbuild are known, hence I can roscd to them.
-When I do “. ~/catkin_ws/devel/setup.bash”, the packages inside catkin are known. But I stop being able to roscd into rosbuild.
This also means that rosbuild cannot use catkin packages and vice versa.
What can I do?