如何解决Found the following, but they’re either not files or not executable问题

今天在运行imu的启动程序时报错

运行:roslaunch bosch_imu_driver imu.launch

报错:ERROR: cannot launch node of type [bosch_imu_driver/bosch_imu_node.py]: can't locate node [bosch_imu_node.py] in package [bosch_imu_driver]

于是运行:rosrun bosch_imu_driver bosch_imu_node.py

报错:Found the following, but they're either not files, or not executable:

         /home/filex/catkin_ws/src/bosch_imu_driver/nodes/bosch_imu_node.py

在Google了解决办法后,发现是bosch_imu_node.py文件没有执行许可,需要运行chmod +x bosch_imu_node.py给予执行许可。运行后再执行rosrun,问题解决。


原文链接:https://answers.ros.org/question/258154/visualize_velocity_profilepy-not-working-in-teb_local_planner/

©著作权归作者所有,转载或内容合作请联系作者
【社区内容提示】社区部分内容疑似由AI辅助生成,浏览时请结合常识与多方信息审慎甄别。
平台声明:文章内容(如有图片或视频亦包括在内)由作者上传并发布,文章内容仅代表作者本人观点,简书系信息发布平台,仅提供信息存储服务。

相关阅读更多精彩内容

友情链接更多精彩内容