2.1 Cannot find ros package

Hello, I have completed the ROS in 5 days course last year so I am lightly familiar and am experienced in ML in the traditional sense. However, I am stuck on the first section. I expect I am forgetting something silly.

When I try to run roslauch or roscd I get a package not found error. Below you can see my file structure * (in case I forgot something) and the terminal output. I did use Catkin make to create my package but it seems it can’t be found.

*I can’t post the file structure since new users can only post one image :frowning:

file structure

This is the file structure^

Hey Audrey!

It looks like you just created that package and the “ROS management” does not recognize it yet. Before roscding, try:

cd ~/catkin_ws
catkin_make
source devel/setup.bash
rospack profile

I am facing the same problem and I have done bayodesegun suggestion and still getting the same error. Any advise?

@nayer.girgis
You have to create your package in ~/catkin_ws/src. It appears you have only created it in ~ (user home directory).

cd ~/catkin_ws/src
catkin_create_pkg ...

This topic was automatically closed after 19 hours. New replies are no longer allowed.