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

2023-05-16

完整的错误是:
[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添加到系统,之后再运行就可以了。

本文内容由网友自发贡献,版权归原作者所有,本站不承担相应法律责任。如您发现有涉嫌抄袭侵权的内容,请联系:hwhale#tublm.com(使用前将#替换为@)

启动运行.launch报错[robot_launch.launch] is neither a launch file in package nor is a launch file name 的相关文章

随机推荐