RLException: [marm.launch] is neither a launch file in package [mobot_urdf] nor is [mobot_urdf] a launch file name
zhouyiran-la opened this issue · 1 comments
zhouyiran-la commented
执行:
$ roslaunch mobot_urdf marm.launch
有如下报错:
RLException: [marm.launch] is neither a launch file in package [mobot_urdf] nor is [mobot_urdf] a launch file name
The traceback for the exception was written to the log file
发生此错误的原因可能是在创建ROS工作空间时没有将devel/setup.bash写入~/.bashrc,导致后期找不到marm.launch文件,解决办法如下:
$ cd ~/catkin_ws/
$ source devel/setup.bash
hilinxinhui commented
类似问题大多与环境变量有关,请参考第一期文档中“配置PX4&ROS环境”部分。