ROS报错ROS ERROR: cannot launch node of type [mbot_teleop/mbot_teleop.py]

问题原因

mbot_teleop.py不是可执行文件,需要把mbot_teleop.py改成可执行文件

解决办法

进入到目录:/urdf_ws/src/mrobot_teleop/scripts(其中urdf_ws是我的工作空间)

找到文件:locate mbot_teleop.py

在py文件上右键->属性->权限的Execute:Allow executing file as program上打钩

posted @ 2021-11-17 17:50  Yu_tiann  阅读(478)  评论(0编辑  收藏  举报