rlexception: X is neither a launch file .. nor is Y a launch file name.

asked 2019-06-12 05:08:15 -0500

sw14928 gravatar image

updated 2019-06-12 10:21:03 -0500

gvdhoorn gravatar image

I created a moveit file using the setup assistant. It was a robot visualisation for the KUKA KR150. When I enter roslaunch kr150_moveit demo.launch to run the folder in RVIZ I get an error that reads:

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

Can anyone help?

When I build the workspace I get a message:

No handlers could be found for logger "trollius"d] [KR150_MOVEIT:cmake - 5.8]

I actually deleted the files and decided to start fresh (unsure if something went wrong before). I am now trying to convert an xacro file into a urdf. Each time I run:

rosrun xacro xacro.py kr150_2.xacro > kr150_2.urdf

I receive an error:

No such file or directory

Upon adding the full file paths:

rosrun xacro xacro.py -o /home/sam/kuka_experimental-indigo-devel/kuka_kr150_support/urdf/kr150_2.urdf /home/sam/kuka_experimental-indigo-devel/kuka_kr150_support/urdf/kr150_2.xacro

I attain the following error:

resource not found: kuka_kr150_support
ROS path [0]=/opt/ros/melodic/share/ros
ROS path [1]=/opt/ros/melodic/share
when processing file: /home/sam/kuka_experimental-indigo-devel/kuka_kr150_support/urdf/kr150_2.xacro
edit retag flag offensive close merge delete

Comments

First thing to check: have you built your workspace after completing the setup assistant? And have you then sourced the devel/setup.bash file after doing that?

gvdhoorn gravatar image gvdhoorn  ( 2019-06-12 05:20:10 -0500 )edit

I think so - When I build it I get this message next to my file: No handlers could be found for logger "trollius"d] [KR150_MOVEIT:cmake - 5.8]

sw14928 gravatar image sw14928  ( 2019-06-12 05:32:52 -0500 )edit

Please do not paraphrase errors, add an exact, verbatim copy-paste to your original question.

gvdhoorn gravatar image gvdhoorn  ( 2019-06-12 05:42:10 -0500 )edit

Oh, sorry about that! I am quite new. I have edited the original now.

sw14928 gravatar image sw14928  ( 2019-06-12 05:50:01 -0500 )edit

Could you please post a little more lines before and after the error message?

How did you install everything (ie: ROS)? And are you using catkin build or catkin_make?

And please also confirm whether you've sourced the devel/setup.bash.

If you have: what is the output of rospack find kr150_moveit?

gvdhoorn gravatar image gvdhoorn  ( 2019-06-12 06:24:14 -0500 )edit

I actually deleted the files and decided to start fresh (unsure if something went wrong before). I am now trying to convert an xacro file into a urdf. Each time I run:

rosrun xacro xacro.py kr150_2.xacro > kr150_2.urdf

I receive an error:

No such file or directory

sw14928 gravatar image sw14928  ( 2019-06-12 08:01:21 -0500 )edit

I doubt that is the complete error message. Again: please copy-paste the entire error message into your original question.

Append it using the edit button/link.

gvdhoorn gravatar image gvdhoorn  ( 2019-06-12 08:15:48 -0500 )edit

That is actually the complete error message, I will update the question description. I later added the file paths to receive a different message

sw14928 gravatar image sw14928  ( 2019-06-12 08:20:57 -0500 )edit