Several and independent workspaces
Hi everyone,
For my training with ROS, I would like to create an additional workspace (e.g. in ~/catkin_ws2/
) next to an existing one (~/catkin_ws/
). Assuming that ROS Indigo was already installed on my computer, I followed the ROS tutorials to setup another catkin workspace :
$ mkdir -p ~/catkin_ws2/src/
$ cd ~/catkin_ws2/src/
$ catkin_init_workspace
Then I run catkin_make
in ~/catkin_ws2/
and added the lines
source /opt/ros/indigo/setup.bash
source /home/myhome/catkin_ws2/devel/setup.bash
at the end of my .bashrc file in /home/myhome/
. I specify that I already did all of this with the previous workspace.
But when I echoed the $ROS_PACKAGE_PATH
, there were still the path of ~/catkin_ws/
in it.
Why is it still here since I didn't tell to ROS that the first workspace still exists ?
Many thanks for your replies.