naturerobots / mesh_tools

Tools and Messages for Annotated 3D Triangle Meshes in ROS
https://wiki.ros.org/mesh_tools
BSD 3-Clause "New" or "Revised" License
229 stars 42 forks source link

rviz_map_plugin crash in rviz #19

Open jianhengLiu opened 1 year ago

jianhengLiu commented 1 year ago

The rviz crash after a period of running, give the following error messages

[ WARN] [1667566012.731866799]: OGRE EXCEPTION(4:ItemIdentityException): An object of type 'ManualObject' with name '0_TriangleMesh_0_7476' already exists. in SceneManager::createMovableObject at /build/ogre-1.9-kiU5_5/ogre-1.9-1.9.0+dfsg1/OgreMain/src/OgreSceneManager.cpp (line 6829)
terminate called after throwing an instance of 'Ogre::ItemIdentityException'
  what():  OGRE EXCEPTION(4:ItemIdentityException): An object of type 'ManualObject' with name '0_TriangleMesh_0_7476' already exists. in SceneManager::createMovableObject at /build/ogre-1.9-kiU5_5/ogre-1.9-1.9.0+dfsg1/OgreMain/src/OgreSceneManager.cpp (line 6829)

Any suggestion to solve this problem? Thanks a lot!

InguChoi commented 1 year ago

The rviz crash after a period of running, give the following error messages

[ WARN] [1667566012.731866799]: OGRE EXCEPTION(4:ItemIdentityException): An object of type 'ManualObject' with name '0_TriangleMesh_0_7476' already exists. in SceneManager::createMovableObject at /build/ogre-1.9-kiU5_5/ogre-1.9-1.9.0+dfsg1/OgreMain/src/OgreSceneManager.cpp (line 6829)
terminate called after throwing an instance of 'Ogre::ItemIdentityException'
  what():  OGRE EXCEPTION(4:ItemIdentityException): An object of type 'ManualObject' with name '0_TriangleMesh_0_7476' already exists. in SceneManager::createMovableObject at /build/ogre-1.9-kiU5_5/ogre-1.9-1.9.0+dfsg1/OgreMain/src/OgreSceneManager.cpp (line 6829)

Any suggestion to solve this problem? Thanks a lot!

Can you solve it?

jianhengLiu commented 1 year ago

you could try my fixing version: https://github.com/jianhengLiu/rviz_map_plugin