octomap OGRE exception in rviz [closed]
Hi, I am having the following error when I try to visualize the octomap occupancy map in rviz.
[ WARN] [1409157693.871637407]: OGRE EXCEPTION(3:RenderingAPIException): Zero sized texture surface on texture MapTexture0 face 0 mipmap 0. Probably, the GL driver refused to create the texture. in GLTexture::_createSurfaceList at /build/buildd/ogre-1.8-1.8.1+dfsg/RenderSystems/GL/src/OgreGLTexture.cpp (line 420)
[ WARN] [1409157693.872059551]: Failed to create full-size map texture, likely because your graphics card does not support textures of size > 2048. Downsampling to [2048 x 1861]...
[ WARN] [1409157693.877818283]: OGRE EXCEPTION(3:RenderingAPIException): Zero sized texture surface on texture MapTexture0Downsampled face 0 mipmap 0. Probably, the GL driver refused to create the texture. in GLTexture::_createSurfaceList at /build/buildd/ogre-1.8-1.8.1+dfsg/RenderSystems/GL/src/OgreGLTexture.cpp (line 420)
terminate called after throwing an instance of 'Ogre::RenderingAPIException'
what(): OGRE EXCEPTION(3:RenderingAPIException): Zero sized texture surface on texture MapTexture0Downsampled face 0 mipmap 0. Probably, the GL driver refused to create the texture. in GLTexture::_createSurfaceList at /build/buildd/ogre-1.8-1.8.1+dfsg/RenderSystems/GL/src/OgreGLTexture.cpp (line 420)
Aborted (core dumped)
I am running ROS Indigo on 14.04, and I believe 14.04 has native support for Optimus graphics, so my graphics card should be usable. rviz page says that this issue was fixed in version 0.3 though. For further information, occupancy grid is displayed well, but just the map crashes rviz. I tried reducing the resolution through octomap's launch file, but the same issue persists. Are there any known fixes to this?
Thanks!
Related troubleshooting tip: http://wiki.ros.org/rviz/Troubleshoot...