octomap OGRE exception in rviz [closed]

asked 2014-08-27 11:47:28 -0500

SaiHV gravatar image

updated 2014-08-27 11:53:10 -0500

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!

edit retag flag offensive reopen merge delete

Closed for the following reason question is not relevant or outdated by tfoote
close date 2016-07-08 14:02:33.591878

Comments

Related troubleshooting tip: http://wiki.ros.org/rviz/Troubleshoot...

tfoote gravatar image tfoote  ( 2014-08-29 16:08:02 -0500 )edit