How do I create a rosbuild overlay on a catkin workspace?
I installed Groovy and created a brand-new catkin workspace according to this tutorial, and everything works fine so far. However, I tried to overlay my old rosbuild-style (aka "dry") packages like this:
source $HOME/ros-groovy/devel/setup.bash
mkdir $HOME/ros-groovy-old
cd $HOME/ros-groovy-old
rosws init . /opt/ros/groovy
rosws set $HOME/path/to/my/packages
According to REP-128, I
can enable the overlay with source $HOME/ros-groovy-old/setup.bash
. This lets me work with my dry packages, but it makes ROS forget about my catkin workspace. If I re-source $HOME/ros-groovy/devel/setup.bash
, I can use my wet packages in the catkin workspace again, but I loose the dry packages in the rosbuild workspace.
I checked and it seems that both setup.bash
overwrite the ROS_PACKAGE_PATH with their own values. But how can I make them aware of each other? The only documentation Google came up with told me that the overlay should Just Work(tm). What am I doing wrong?