ros gazebo it says it's incompatible with that RT
環境の説明
に質問
gzserver: /build/ogre-1.9-mqY1wq/ogre-1.9-1.9.0+dfsg1/OgreMain/src/OgreRenderSystem.cpp:546: virtual void Ogre::RenderSystem::setDepthBufferFor(Ogre::RenderTarget*): Assertion `bAttached && "A new DepthBuffer for a RenderTarget was created, but after creation" "it says it's incompatible with that RT"' failed.
Aborted (core dumped)
の原因となる
gazeboバージョンが低すぎて互換性がありません
解決する
$ sudo apt-get remove ros-kinetic-desktop-full
$ sudo apt-get remove ros-kinetic-gazebo*
$ sudo apt-get upgrade
1.1方法一:公式Overview and Installationを参照gazebo sudo apt-get install ros-kinetic-joy ros-kinetic-teleop-twist-joy ros-kinetic-teleop-twist-keyboard ros-kinetic-laser-proc ros-kinetic-rgbd-launch ros-kinetic-depthimage-to-laserscan ros-kinetic-rosserial-arduino ros-kinetic-rosserial-python ros-kinetic-rosserial-server ros-kinetic-rosserial-client ros-kinetic-rosserial-msgs ros-kinetic-amcl ros-kinetic-map-server ros-kinetic-move-base ros-kinetic-urdf ros-kinetic-xacro ros-kinetic-compressed-image-transport ros-kinetic-rqt-image-view ros-kinetic-gmapping ros-kinetic-navigation
pdf本にコピーされたパッケージsudo apt-get update && sudo apt-get upgrade
参考:Setting up ROS Kinetic and Gazebo 8 or 9 How To Uninstall gazebo 7 on xenial