ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | ros @ Robotics Stack Exchange
Ask Your Question
3

rviz crashes on indigo /osx due to serializer implementation

asked 2014-07-15 07:08:26 -0500

J.M.T. gravatar image

Ogre apparently cannot find a serializer implementation. Are the other platforms using a newer Ogre? Would it help to rebuild Ogre?

  rosrun rviz rviz                                                                                                                                                                      
    [ INFO] [1405425532.925741000]: rviz version 1.11.3
    [ INFO] [1405425532.925794000]: compiled against OGRE version 1.7.4 (Cthugha)
    2014-07-15 13:58:53.145 rviz[67820:d0b] invalid drawable
    [ INFO] [1405425533.162279000]: Stereo is NOT SUPPORTED
    [ INFO] [1405425533.162365000]: OpenGl version: 2.1 (GLSL 1.2).
    2014-07-15 13:58:53.262 rviz[67820:d0b] invalid drawable
    [ WARN] [1405425533.469035000]: OGRE EXCEPTION(7:InternalErrorException): Cannot find serializer implementation for current version [MeshSerializer_v1.8] in MeshSerializer::importMesh at /tmp/ogre-dmWe/ogre_src_v1-7-4/OgreMain/src/OgreMeshSerializer.cpp (line 118)
    libc++abi.dylib: terminating with uncaught exception of type Ogre::InternalErrorException: OGRE EXCEPTION(7:InternalErrorException): Cannot find serializer implementation for current version [MeshSerializer_v1.8] in MeshSerializer::importMesh at /tmp/ogre-dmWe/ogre_src_v1-7-4/OgreMain/src/OgreMeshSerializer.cpp (line 118)
    [1]    67820 abort      rosrun rviz rviz
edit retag flag offensive close merge delete

Comments

I can confirm this issue. Ogre needs to be at least versio 1.8, but there are still problems with installing recent versions of ogre on OS X, see: https://github.com/ros-visualization/rviz/issues/782

demmeln gravatar image demmeln  ( 2014-07-15 09:11:43 -0500 )edit

@William, can hydro rviz be built with ogre1.9? If so, we should find a fix for the 1.9 installation of ogre and then update the homebrew formula to version 1.9.

demmeln gravatar image demmeln  ( 2014-07-15 09:12:46 -0500 )edit

Yes it can, you just get a warning about the mesh types being out of date, which is where this change came in for Indigo and using Ogre 1.9 meshes.

William gravatar image William  ( 2014-07-15 12:54:23 -0500 )edit

@William is there a fix for this? Thanks!

LucaGhera gravatar image LucaGhera  ( 2014-09-08 12:58:13 -0500 )edit

2 Answers

Sort by ยป oldest newest most voted
6

answered 2014-09-08 13:17:32 -0500

William gravatar image

rviz 1.11.3 is for Indigo, Indigo requires ogre 1.8 or 1.9. You have ogre 1.7 installed and it cannot process the mesh files.

An alternative is to get the 1.7 version of the mesh files for rviz by reverting this commit:

https://github.com/ros-visualization/...

edit flag offensive delete link more

Comments

I solve this problem by git revert commit_id and then copy the model file .

westeast gravatar image westeast  ( 2017-06-17 14:06:17 -0500 )edit
0

answered 2016-03-18 04:27:30 -0500

hawesie gravatar image

updated 2016-03-18 04:27:51 -0500

To get the 1.7 mesh files for an installed rviz do the following. As taken from the excellent ros-install-osx install script: https://github.com/mikepurvis/ros-ins...

cd `rospack find rviz`/ogre_media/models/
curl https://raw.githubusercontent.com/ros-visualization/rviz/hydro-devel/ogre_media/models/rviz_cone.mesh > rviz_cone.mesh
curl https://raw.githubusercontent.com/ros-visualization/rviz/hydro-devel/ogre_media/models/rviz_cube.mesh > rviz_cube.mesh
curl https://raw.githubusercontent.com/ros-visualization/rviz/hydro-devel/ogre_media/models/rviz_cylinder.mesh > rviz_cylinder.mesh
curl https://raw.githubusercontent.com/ros-visualization/rviz/hydro-devel/ogre_media/models/rviz_sphere.mesh > rviz_sphere.mesh
edit flag offensive delete link more

Question Tools

3 followers

Stats

Asked: 2014-07-15 07:08:26 -0500

Seen: 2,152 times

Last updated: Mar 18 '16