如何解决Found the following, but the

2019-01-18  本文已影响0人  LangweiligeMens

今天在运行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/

上一篇下一篇

猜你喜欢

热点阅读