詳細連接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
永久解決:
$ 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。或是干脆重啟系統
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
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