ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
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 image schultza  ( 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 image alonzo98  ( 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 image jayess  ( 2018-01-26 16:30:05 -0600 )edit

2 Answers

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 image demmeln  ( 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 image schmellow  ( 2014-04-17 09:36:17 -0600 )edit

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

demmeln gravatar image demmeln  ( 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 image ShehabAldeen  ( 2017-09-04 07:26:32 -0600 )edit

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

tentenkafaa gravatar image tentenkafaa  ( 2019-07-25 10:06:25 -0600 )edit

I am trying to use Hector slam all my files are in the src folder and i even did the catkin_make in catkin_ws sourced the files in devel/setup.bash by following command - source /home/pi/catkin_ws/devel/setup.bash and tried to run my command for launching the hector slam which is roslaunch hector_slam_launch mapping_default.launch

still i get the error as

RLException: [mapping_default.launch] is neither a launch file in package [hector_slam_launch] nor is [hector_slam_launch] a launch file name The traceback for the exception was written to the log file

har.kum_412 gravatar image har.kum_412  ( 2020-01-20 08:08:06 -0600 )edit

I am trying to launch jaco arm in moveit using the command roslaunch j2n6s300_moveit_config j2n6s300_jaco_lfd.launch but getting this error- RLException: [j2n6s300_jaco_lfd.launch] is neither a launch file in package [j2n6s300_moveit_config] nor is [j2n6s300_moveit_config] a launch file name The traceback for the exception was written to the log file akashleena@akashleena-Latitude-3490:~/catkin_ws/src/jaco_con

I have already done source devel/setup.bash still getting the error. Please help

aleena_infinitynbeyond gravatar image aleena_infinitynbeyond  ( 2020-04-12 09:47:29 -0600 )edit

i have a similar problem, can someone help?

samia.choueiri gravatar image samia.choueiri  ( 2020-07-25 10:26:16 -0600 )edit

answered 2021-02-09 04:20:50 -0600

Tricia279 gravatar image

updated 2021-02-10 13:49:28 -0600

jayess gravatar image

I found the following answer, which solves this problem:

yp7y-stu commented on 13 Dec 2020 posted:

I had taken 1 day to solve this problem.

My mistake was that I didn't git under ~/catkin_ws/src.

The correct build method is described below:

$ mkdir ~/catkin_ws
$ mkdir ~/catkin_ws/src
$ cd ~/catkin_ws/src
$ git clone
$ cd ~/catkin_ws
$ ls -l /dev/ttyUSB0
$ sudo chmod 666 /dev/ttyUSB0
$ catkin_make rplidarNode
$ source ~/catkin_ws/devel/setup.bash
$ roslaunch rplidar_ros view_rplidar.launch
edit flag offensive delete link more

Question Tools



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

Seen: 172,105 times

Last updated: Feb 10 '21