问题:
执行指令
roslaunch mrobot_teleop mrobot_teleop.launch
打开的文件位置没有错,先去工作空间source一下,但还是一样的报错,报错如下:
RLException: [mrobot_teleop.launch] is neither a launch file in package [mrobot_teleop] nor is [mrobot_teleop] a launch file name
解决:
在该文件位置执行,打开文件:
sudo gedit ~/.bashrc
翻到最后,在最后加入:
source ~/catkin_ws/devel/setup.bash
export ROS_PACKAGE_PATH=${ROS_PACKAGE_PATH}:~/catkin_ws/
然后就成功了,无报错警告。