编程语言
首页 > 编程语言> > ROS报错ROS ERROR: cannot launch node of type [mbot_teleop/mbot_teleop.py]

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上打钩

标签:urdf,teleop,py,mbot,ws,ROS
来源: https://www.cnblogs.com/yutian-blogs/p/15568494.html