Error [parser.cc:581] Unable to find uri[model://sun]Error [parser.cc:581] Unable to find uri[model

启动gazebo的时候出现报错:

Error [parser.cc:581] Unable to find uri[model://sun]
Error [parser.cc:581] Unable to find uri[model://ground_plane]

 应该是找不到sun和ground_plane模型。解决方法就是:

下载gazebo全部模型,并将其解压。

我们看到里面有很多模型,包括我们缺少的sun和ground_plane模型,接下来我们要做的就是把这两个模型复制到~/.gazebo/models下面。

 进入解压后的文件夹,在这里打开终端,输入命令:

cp -r sun/ ~/.gazebo/models
cp -r ground_plane/ ~/.gazebo/models

再次在终端输入

gazebo

就不会报错了。

猜你喜欢

转载自blog.csdn.net/bulletstart/article/details/130894027
今日推荐