在离线安装gazebo的时候可能在运行turtlebot_gazebo的时候会出现问题

问题显示如下

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-1] process has died [pid 21624, exit code 134, cmd /opt/ros/kinetic/lib/gazebo_ros/gzserver -e ode /opt/ros/kinetic/share/turtlebot_gazebo/worlds/playground.world __name:=gazebo __log:=/home/pranav/.ros/log/f18cc0fc-ccc2-11e7-9a30-9cb6d0e527e7/gazebo-1.log].
其根本问题在于我的系统是离线安装,所以其显卡驱动比较陈旧,需要更新,更新英伟达的,
解决参考http://answers.gazebosim.org/question/13390/error-while-launching-turtlebot/
So I figured this one out on my own. Turns out that all I needed to do was to upgrade my graphics driver.
You need the latest drivers to support the configuration used by Gazebo.
I was using NVIDIA accelerated graphics driver (version 173) and I switched to NVIDIA accelerated graphics driver (version current)[Recommended]

原文地址:https://www.cnblogs.com/gary-guo/p/8360548.html