gazebo模型下载

脚本

#!/bin/sh

# Download all model archive files
wget -l 2 -nc -r "http://models.gazebosim.org/" --accept gz

# This is the folder into which wget downloads the model archives
cd "models.gazebosim.org"

# Extract all model archives
for i in *
do
  tar -zvxf "$i/model.tar.gz"
done

# Copy extracted files to the local model folder
cp -vfR * "$HOME/.gazebo/models/"

参考:

发布了198 篇原创文章 · 获赞 213 · 访问量 53万+

猜你喜欢

转载自blog.csdn.net/heroacool/article/details/78641946