目录
问题
ERROR: cannot launch node of type [qingzhou_description/gazebo_odometry.py]: Cannot locate node of type [gazebo_odometry.py] in package [qingzhou_description]. Make sure file exists in package path and permission is set to executable (chmod +x)
原因
python文件不能作为程序执行
解决方案
方法一
选择报错文件,右键点击属性。
选择权限一栏,勾选“允许文件作为程序执行”
方法二
打开终端,在终端输入:
chmod +x file name
file name处输入自己报错文件的名称。