Ask Your Question

Unable to find/use catkin package

asked 2014-01-12 12:01:51 -0600

eirikaso gravatar image

Hi everyone. I'm new to ROS and are following the tutorial.

I have just created a package as seen in section 4 at the "CreatingPackage" tutorial (did not have enough karma to post the link)

I am now at section 5.1 trying to find my package and look at the dependencies i just set.

$ rospack depends1 beginner_tutorials

The only response i get is "[rospack] Error: no such package beginner_tutorials"

I also tried the command "$ roscd beginner_tutorials" but this returns "roscd: No such package/stack 'beginner_tutorials'".

I can see that the files are present when I look for them in the folder so the problem is that ROS does not recognize them as a package.

I don't know what to do. Please help!

My system is Ubuntu 12.04 LTS, ROS Hydro Medusa.

edit retag flag offensive close merge delete


HI, How do you create your package?(where you create the package) you can use ros build system easier than to use catkin

Hamid Didari gravatar image Hamid Didari  ( 2014-01-12 15:53:39 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2014-01-12 21:38:58 -0600

Wolf gravatar image

You need to create a proper catkin workspace as described in


Particularly it is to point out that you need to source the created setup.bash each time you open a new shell ( or add it to your ~/.bashrc; make sure to change the path to the correct one for your installation ):

source ~/catkin_ws/devel/setup.bash
edit flag offensive delete link more


Thank you, this works :) I was not aware that i needed to source the setup.bash every time...

eirikaso gravatar image eirikaso  ( 2014-01-14 00:15:13 -0600 )edit

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools

1 follower


Asked: 2014-01-12 12:01:51 -0600

Seen: 1,605 times

Last updated: Jan 12 '14