ROS_PACKAGE_PATH erased every time I source devel/setup.bash
Hello,
I need your help on what appears like a bug in catkin. I have two workspaces
- catkin_ws1 contains :
- pkg1
- pkg2
- catkin_ws2 contains :
- pkgA
- pkgB
If I source the setup of catkin_ws1 and echo ROS_PACKAGE_PATH everything works as expected
cd ~/catkin_ws1
source deve/setup.bash
echo $ROS_PACKAGE_PATH
~/catkin_ws1/src/pkg1:~/catkin_ws1/src/pkg2:/opt/ros/kinetic/share
When I source the setup of the second workspace catkin_ws2 the old ROS_PACKAGE_PATH is erased
cd ~/catkin_ws2
source deve/setup.bash
echo $ROS_PACKAGE_PATH
~/catkin_ws1/src/pkgA:~/catkin_ws1/src/pkgB:/opt/ros/kinetic/share
I lose the ~/catkin_ws1/src/pkg1:~/catkin_ws1/src/pkg2
Is there a problem in my configuration or is it an issue related to catkin ?
Config
- catkin_tools 0.4.4
- Python 2.7.12
- GCC 5.4.0
- ros kinetic
Cheers,