roscd is not working despite sourcing the workspace. [closed]
I added a workspace to ROS_PACKAGE_PATH
using:
source ~/catkin_ws/devel/setup.bash
(catkin_ws is the name of my workspace).
To check if it was actually added i typed:
echo $ROS_PACKAGE_PATH
and it did show the path to that workspace that i just added (which means it was correctly added to ros package path). But the problem is, when i use roscd
to change directories inside this workspace it gives the error:
roscd: No such package/stack 'Directory_Name'.
Shouldn't roscd
be able to change/shift between directories just like cd
because this workspace is already added to ROS_PACKAGE_PATH
? ( i shift between directories using cd
for now).
EDIT: The output of tree -d ~/catkin_ws is available in the form of images here:
( https://drive.google.com/file/d/0B3YE... ) "Image1"
( https://drive.google.com/file/d/0B3YE... ) "Image 2"