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

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

asked 2018-11-12 10:29:52 -0500

sosalau gravatar image

I've been following the MoveIt! tutorial for ROS Melodic on the MoveIt! Docs page but couldn't launch the demo.launch file with:

roslaunch panda_moveit_config demo.launch rviz_tutorial:=true

I got an exception which looks like this:

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

With all the launch files including demo.launch in the panda_moveit_config/launch directory clearly visible, I'm surprise to still see an exception like this.

What can I do to make use of the demo.launch file.

edit retag flag offensive close merge delete

Comments

1

did you source the devel/setup.bash file in your workspace?

PeteBlackerThe3rd gravatar image PeteBlackerThe3rd  ( 2018-11-12 11:09:58 -0500 )edit

Thanks PeteBlackerThe3rd, I tried to but couldn't. The devel and build folder was created in my workspace when I built the catkin workspace, but I discovered I couldn't find setup.bash in the devel folder.

sosalau gravatar image sosalau  ( 2018-11-12 14:19:10 -0500 )edit

1 Answer

Sort by » oldest newest most voted
0

answered 2022-10-14 13:02:22 -0500

専門家 gravatar image

I faced a similar problem, you must add the panda_moveit_config file to the ROS_PACKAGE_PATH. In my case my catkin workspace was FANUC_M10ia and package name was FANUC_M10ia_myn on ROS-Melodic, both files were in Desktop. When it was not working echo $ROS_PACKAGE_PATH would return

/home/carnegiemellon/Desktop/FANUC_M10ia/src:/opt/ros/melodic/share

But after i applied export $ROS_PACKAGE_PATH:/home/carnegiemellon/Desktop/FANUC_M10ia/src:/opt/ros/melodic/share:/home/carnegiemellon/Desktop/FANUC_M10ia_myn things started working.

edit flag offensive delete link more

Question Tools

1 follower

Stats

Asked: 2018-11-12 10:29:52 -0500

Seen: 6,134 times

Last updated: Oct 14 '22