roslaunch throws RLException

asked 2019-01-18 09:59:50 -0500

GP gravatar image

Hello, I am trying to follow this tutorial:

http://wiki.ros.org/ROS/Tutorials/Usi...

I followed all instruction in the tutorial, including installing the requested packages, until section 2.5

Then, when I type the following on the comand line,

roslaunch beginner_tutorials turtlemimic.launch

I get the following error:

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

I have no clue what is going on here. Could anyone help me in fixing it?

my distribution is:

ROS_ETC_DIR=/opt/ros/melodic/etc/ros
ROS_ROOT=/opt/ros/melodic/share/ros
ROS_MASTER_URI=http://localhost:11311
ROS_VERSION=1
ROS_PYTHON_VERSION=2
ROS_PACKAGE_PATH=/home/giuseppe/catkin_ws/src:/opt/ros/melodic/share
ROSLISP_PACKAGE_DIRECTORIES=/home/giuseppe/catkin_ws/devel/share/common-lisp
ROS_DISTRO=melodic

I thank you in advance. My best regards, Giuseppe

edit retag flag offensive close merge delete

Comments

2

The line source devel/setup.bash in 2.2 needs to be done every time you open a new terminal. So if you're working in a new/different terminal to the one you originally wrote that command in, it would cause the error you've seen.

PeteBlackerThe3rd gravatar image PeteBlackerThe3rd  ( 2019-01-18 10:29:39 -0500 )edit

Very helpful!! Thank you

Ha__sh gravatar image Ha__sh  ( 2020-08-03 12:41:25 -0500 )edit

Thank you :) I spend a lot of time to solve this problem .

HUSSEIN MOHSEN gravatar image HUSSEIN MOHSEN  ( 2022-07-23 22:29:41 -0500 )edit