ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question

Revision history [back]

click to hide/show revision 1
initial version

I have figured out that this problem roots for having multiple workspaces and my mis-sourcing them in the first place. Since I am kind of noob in ROS still, I didn't know that I should have chained them. My random sourcing catkin_ws1/devel/setup.bash and catkin_ws2/devel/setup.bash whenever I install a new rospackage caused my .bashrc not to find the proper packages was the reason of not finding the packages which I had been using before.

I have tried the solutions here1, here2 and reconfiguring my PATH Environment Variable as described here3

export ROS_PACKAGE_PATH=/home/user/ros/ros-pkg:/another/path

I couldn't solve the issue and I reinstalled ros-kinetic-desktop-full but I strongly believe that I made some mistakes again in building up the workspaces chain. I don't think reinstalling the whole ros was the best solution. For someone, those links might be a solution that's why it is worth to suggest here.