1、卸载gazebo9
sudo apt-get remove gazebo9 ros-kinetic-gazebo9-ros-control ros-kinetic-gazebo9-ros-pkgs gazebo9-common libgazebo9
2、安装gazebo7
ROS默认安装的Gazebo版本为7.0.0,若需要支持.obj等类型的3D mesh文件,需要升级Gazebo至7.0.0以上版本。
sudo sh -c 'echo "deb http://packages.osrfoundation.org/gazebo/ubuntu-stable `lsb_release -cs` main" > /etc/apt/sources.list.d/gazebo-stable.list'
wget http://packages.osrfoundation.org/gazebo.key -O - | sudo apt-key add -
sudo apt-get update
sudo apt-get install gazebo7 gazebo7-common
插件安装
sudo apt-get install ros-kinetic-gazebo-ros-pkgs ros-kinetic-controller-manager ros-kinetic-ros-control ros-kinetic-ros-controllers ros-kinetic-gazebo-ros-control
sudo apt-get install ros-kinetic-velodyne-*