Ask Your Question

roslaunch: [ ] is neither a launch file in package [ ] nor is [ ] a launch file name

asked 2014-03-23 14:51:15 -0600

Elvish Champion gravatar image

updated 2018-01-26 11:54:45 -0600

I am trying to use a package that someone else made. I placed it inside the src folder, then I ran catkin_make in the catkin_ws folder. The output was:

Base path: /home/gabriel/catkin_ws
Source space: /home/gabriel/catkin_ws/src
Build space: /home/gabriel/catkin_ws/build
Devel space: /home/gabriel/catkin_ws/devel
Install space: /home/gabriel/catkin_ws/install
#### Running command: "make cmake_check_build_system" in "/home/gabriel/catkin_ws/build"
#### Running command: "make -j4 -l4" in "/home/gabriel/catkin_ws/build"
[ 25%] Built target odom_sim_2
[ 50%] [ 75%] Built target tb_tf_can2
[100%] Built target fake_localiza2
Built target sendToGoalManually2

Then I tried to launch one of the launch files included: roslaunch tb_tables tb_tables.launch and I get the following message:

[tb_tables.launch] is neither a launch file in package [tb_tables] nor is [tb_tables] a launch file name

Would anyone be kind enough to point out my mistakes? I just started with ROS and I am not sure why it ain't working :( Thanks in advance.


-Does the file actually exists? Yes, the file is in the launch folder.

-Did you source the setup.bash file? Do you mean source /opt/ros/hydro/setup.bash ? Yes, I did.

-What does rospack find tb_tables output? [rospack] Error: stack/package tb_tables not found

After using source /home/gabriel/catkin_ws/devel/setup.bash I can find it with rospack find.

Now it works, Thank you very much.

edit retag flag offensive close merge delete


Got the same problem but this didnt help still the same error.

schultza gravatar imageschultza ( 2014-07-31 09:07:19 -0600 )edit

I've got the same problem for days but the answer is the same, could you tell me if you found the answer please?

alonzo98 gravatar imagealonzo98 ( 2018-01-17 10:40:20 -0600 )edit

@alonzo98 why don't you ask a new question and reference this one? The question is almost four years old after all...

jayess gravatar imagejayess ( 2018-01-26 16:30:05 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2014-03-23 15:37:17 -0600

demmeln gravatar image

Without any further information or poitners to the source of that package it is hard to tell what is going on. Does the file tb_tables.launch actually exist? Did you source the setup.bash file?

What does rospack find tb_tables output?

If that gives an error, try executing source /home/gabriel/catkin_ws/devel/setup.bash and then try the roslaunch again.

Be sure to checkout the catkin tutorials, in particular this one, in order to know how to work with catkin and workspaces:

edit flag offensive delete link more


If your problem is fixed, you can accept the answer so otheres see right away that this question is answered. Thanks.

demmeln gravatar imagedemmeln ( 2014-03-23 16:08:30 -0600 )edit

I've run into the same problem, but for some reason when I try to source the files, I get the message "no such file or directory," even though I've already clicked through every file in the path I'm using to make sure it's there. Is there any reason this would happen?

schmellow gravatar imageschmellow ( 2014-04-17 09:36:17 -0600 )edit

what is the `source` command you are trying to execute exactly?

demmeln gravatar imagedemmeln ( 2014-04-17 09:43:35 -0600 )edit

this is very helpful answer I was facing the same problem and now it's solved thank you

ShehabAldeen gravatar imageShehabAldeen ( 2017-09-04 07:26:32 -0600 )edit

It has solved the problem to execute "source". Thank you very much

tentenkafaa gravatar imagetentenkafaa ( 2019-07-25 10:06:25 -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-03-23 14:51:15 -0600

Seen: 67,338 times

Last updated: Jan 26 '18