gazebo Version[1.6] to Version[1.4]解决办法,Ubuntu14.04 + ROS indigo环境安装更新版本Gazebo
gazebo在14.04 indigo版本为2。
Version不可用,需要升级操作见
https://blog.csdn.net/abcwoabcwo/article/details/85258324
简单步骤如下:1使用如下命令进行卸载:
sudo apt-get remove ros-indigo-desktop-full
2添加源sudo apt-get remove ros-indigo-desktop-full
sudo sh -c 'echo "deb http://packages.osrfoundation.org/gazebo/ubuntu-stable `lsb_release -cs` main" > /etc/apt/sources.list.d/gazebo-stable.list'
3
3
查看是否添加成功
cat /etc/apt/sources.list.d/gazebo-stable.list
如果输出如下,则说明添加源成功。
deb http://packages.osrfoundation.org/gazebo/ubuntu-stable trusty main
4下载并添加秘钥
wget http://packages.osrfoundation.org/gazebo.key -O - | sudo apt-key add -
5更新源
sudo apt-get update
6选择版本下载
6选择版本下载
sudo apt-get install gazebo7
7安装完成后,验证gazebo --version
8重新安装ROS
8重新安装ROS
sudo apt-get install ros-indigo-desktop
9安装ros与gazebo接口库
sudo apt-get install ros-indigo-gazebo7-*
安装完之后,运行gazebo