启动运行.launch报错[robot_launch.launch] is neither a launch file in package nor is a launch file name

版权声明:本文为博主原创文章,未经博主允许不得转载。 https://blog.csdn.net/lqzdreamer/article/details/82812738

完整的错误是:
[robot_launch.launch] is neither a launch file in package [kinova_gazebo] nor is [kinova_gazebo] a launch file name
The traceback for the exception was written to the log file
报错说明ros系统中,并没有安装相对应的package。在这种情况下,进入工程文件的最顶层,使用catkin_make命令对文件进行编译。如果此时再执行,还是会报错的,那么还要再加上一条语句:

source devel/setup.bash

将devel/setup.bash添加到系统,之后再运行就可以了。

猜你喜欢

转载自blog.csdn.net/lqzdreamer/article/details/82812738
今日推荐