欢迎您访问程序员文章站本站旨在为大家提供分享程序员计算机编程知识!
您现在的位置是: 首页

[rosrun] Couldn‘t find executable named record below /home/pwd Found the following

程序员文章站 2024-03-08 20:13:22
...

 

 运行python写的ros node,发现如下报错:

[rosrun] Couldn't find executable named record_utm_loc below /home/zh/auto/src/tracking
[rosrun] Found the following, but they're either not files,
[rosrun] or not executable:
[rosrun]   /home/zh/auto/src/tracking/nodes/record_utm_loc

检查package.xml和CmakeLists.txt无误;

检查直接python运行node文件无误;

在build和devel中也找到了相应文件;

那可能是执行权限或环境配置问题,给文件夹777权限:

sudo chmod -R 777 dirname

再次运行正常;