详细连接https://blog.csdn.net/qq_40213457/article/details/81021562
https://blog.csdn.net/coolwaterld/article/details/72467942
下载不下来,直接利用
全部模型有170M,但在线下载速度非常慢,我下了一天一夜才下完。不过现在小伙伴已经将其共享至网盘,可直接下载,然后将其解压至~/.gazebo/models里。
链接:http://pan.baidu.com/s/1pKaeg0F 密码:cmxc (谢谢)
1安装gazebo: sudo apt-get install ros-indigo-gazebo-ros-pkgs ros-indigo-gazebo-ros-control
2运行:gazebo
3roscore
4rosrun gazebo_ros gazebo
5问题:
/opt/ros/indigo/lib/gazebo_ros/gazebo: 39: kill: invalid signal number or name: SIGINT”
解决: 在终端下设置环境变量为0 $ export SVGA_VGPU10=0
永久解决: $ echo "export SVGA_VGPU10=0" >> ~/.bashrc
6
当不正确关闭Gazebo时,再次启动Gazebo会遇到sever无法启动的问题。 Exception [Master.cc:50] Unable to start server[bind: Address already in use]. There is probably another Gazebo process running. 解决方法: 用ps命令查找gzserver进程,将其kill。或是干脆重启系统
~$ ps PID TTY TIME CMD 8414 pts/7 00:00:00 bash 8491 pts/7 00:01:45 gzserver 9180 pts/7 00:00:00 ps
~$kill 8491