catkin ws extends from /opt/ros issue
Hi everyone,
I am having issue regarding the 'extend' parameter when I want to run at the same time executables from /opt/ros/melodic and from my personal catkin_ws folder. In my case, I am running:
rosrun rqt_multiplot rqt_multiplot
Which has been install from the apt:
sudo apt install ros-melodic-rqt-multiplot
So it is located in /opt/ros/melodic/lib
. So to be able to run it I source the /opt/ros/melodic/setup.bash
But then, when I configure the graph to display a topic from a node located in my personal catkin_ws folder (my pkg name is 'open_vino_pkg', I have the the error:
[rospack] Error: package 'open_vino_pkg' not found
And indeed, when I do rospack depend open_vino_pkg
it does not find it.
So then I source my personal folder source catkin_ws/install/setup.bash
and then it is able to find my pkg, but not anymore the executable of rqt_multiplot:
rosrun rqt_multiplot rqt_multiplot
gives me the error: [rosrun] Couldn't find executable named rqt_multiplot below /home/antoine/catkin_ws/install/share/rqt_multiplot
My personal catkin_ws has the extend parameter to /opt/ros/melodic
(I use catkin tools). So, I do not understand, how to be able to use executables located in those two different locations, knowing that the 'source' overwrites the path, even with 'extend'.
What did I not get?
Thanks!