错误ERROR: cannot launch node of type
ERROR: cannot launch node of type [robot_vision/motion_detector.py]: can't locate node [motion_detector.py] in package [robot_vision]
报错原因:
权限不够!需要把xxx.py改成可执行文件权限。
解决方法
找到该python文件,右键属性
最后一行允许作为程序执行文件
ERROR: cannot launch node of type [robot_vision/motion_detector.py]: can't locate node [motion_detector.py] in package [robot_vision]
报错原因:
权限不够!需要把xxx.py改成可执行文件权限。
解决方法
找到该python文件,右键属性
最后一行允许作为程序执行文件