ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
1

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

asked 2018-10-27 13:00:16 -0500

sgzhelev gravatar image

Hello,

I'm new ROS user. I've already installed the OS, but when I type "roslaunch kobuki_node minimal.launch --screen" it gives me an error.

I'm using Ubuntu 17.10 Artful Aardvark (amd64)

This is coppied from my terminal:

sgzhelev@Lenovo-Legion-Y520-15IKBN:~$ roslaunch kobuki_node minimal.launch --screen

RLException: [minimal.launch] is neither a launch file in package [kobuki_node] nor is [kobuki_node] a launch file name

The traceback for the exception was written to the log file

Thank you for all advices!

-- Steve

edit retag flag offensive close merge delete

Comments

First thing to check: have you sourced the correct setup.bash before trying to run roslaunch like this?

Additionally: did you install the kobuki packages from sources (ie: did you have to run catkin_make first) or did you use apt-get install ..?

gvdhoorn gravatar image gvdhoorn  ( 2018-10-28 04:56:34 -0500 )edit

Yes, I have sourced the bash file and I used apt-get install, not catkin_make.

sgzhelev gravatar image sgzhelev  ( 2018-10-28 05:14:34 -0500 )edit

Then do you have the kobuki packages installed? They do not come with a default installation.

What is the output of dpkg -l | grep kobuki (add that to your original question, use the edit button/link)?

gvdhoorn gravatar image gvdhoorn  ( 2018-10-28 05:17:10 -0500 )edit

I will try that later because now I'm trying with Ubuntu 16.04 Xenial and ROS Kinetic.

sgzhelev gravatar image sgzhelev  ( 2018-10-28 05:33:31 -0500 )edit

When I type dpkg -l | grep kobuki the terminal is not showing anything. It's going on new row and waiting for a new command.

sgzhelev gravatar image sgzhelev  ( 2018-10-28 05:52:13 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

answered 2018-10-28 05:21:25 -0500

gvdhoorn gravatar image

I should've paid more attention:

I'm using Ubuntu 17.10 Artful Aardvark (amd64)

together with the Melodic tag and:

I used apt-get install [..]

is the cause here.

None of the Kobuki packages have been released as binaries for ROS Melodic yet.

Unless things have changed very recently, you'll need to build all of the turtlebot (2) stack from source on Melodic. That is possible, but you can/may run into some issues while doing that (see #q305453 for a recent Q&A about that).

The simple packages (such as kobuki_description) will build without issues, but as ROS Melodic uses Gazebo 9 (instead of Gazebo 7), you'll run into issues getting things like kobuki_gazebo_plugins to build.

edit flag offensive delete link more

Comments

Yesterday, I have tried to install ROS from source, but Ubuntu freezed, maybe is becouse, like you said Melodic is not finished yet. Now I'm trying with Ubuntu 16.04 Xenial and ROS Kinetic, because at school I have successfully installed it on 16.04.

sgzhelev gravatar image sgzhelev  ( 2018-10-28 05:32:29 -0500 )edit

I have tried to install ROS from source, but Ubuntu freezed, maybe is becouse, like you said Melodic is not finished yet.

No, that is most likely not the cause.

The base Melodic release is "finished", it's just that not all packages available in Kinetic are available on Melodic.

gvdhoorn gravatar image gvdhoorn  ( 2018-10-28 05:33:41 -0500 )edit

Now I'm trying with Ubuntu 16.04 Xenial and ROS Kinetic

So do you have Melodic or Kinetic installed?

gvdhoorn gravatar image gvdhoorn  ( 2018-10-28 05:34:17 -0500 )edit

I've got two laptops. The first is with Ubuntu 17.10 and Melodic and the second is with 16.04 and Kinetic.

sgzhelev gravatar image sgzhelev  ( 2018-10-28 05:37:01 -0500 )edit

Final comment: try to always use binary packages when installing ROS. Installing from source is almost never necessary or desirable.

gvdhoorn gravatar image gvdhoorn  ( 2018-10-28 05:38:17 -0500 )edit

Thanks for the answers but do you know where is located the log file?

sgzhelev gravatar image sgzhelev  ( 2018-10-28 05:49:21 -0500 )edit

Which log file?

gvdhoorn gravatar image gvdhoorn  ( 2018-10-28 07:44:18 -0500 )edit

Never mind... It all works now. I just had to install node... Thanks for your help and have a nice day!

sgzhelev gravatar image sgzhelev  ( 2018-10-28 08:32:30 -0500 )edit

Question Tools

1 follower

Stats

Asked: 2018-10-27 13:00:16 -0500

Seen: 7,530 times

Last updated: Oct 28 '18