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

ERROR: cannot launch node of type [mbot_teleop/mbot_teleop.py]: can't locate node [mbot_teleop.py] in package [mbot_teleop]

解决:
mbot_teleop.py不是可执行文件,需要把mbot_teleop.py改成可执行文件
1.locate mbot_teleop.py 找到文件位置
2.在py文件上右键->属性->权限的Execute:Allow executing file as program上打钩

你可能感兴趣的:(ROS,ros,error)