ROS Resources: Documentation | Support | Discussion Forum | Index | Service Status | Q&A
Ask Your Question

rviz Plugin Tutorial crashes

asked 2014-02-17 07:09:56 -0600

svozar gravatar image

I have checked out the hydro rviz visualization tutorials and compiled them without modification.

While running rviz, if I try to add an Imu visualization type to the display, rviz crashes with the following error:

rviz: /build/buildd/ogre-1.7.4/OgreMain/src/OgreSceneManager.cpp:807: virtual Ogre::SceneNode* Ogre::SceneManager::createSceneNode(): Assertion `mSceneNodes.find(sn->getName()) == mSceneNodes.end()' failed.

Similarly, if I try to add a PlantFlag, I get a Segmentation fault (core dumped), with no additional info.

This only happens when I compile from source. It works fine when I run the pre-compiled binaries. Any thoughts as to why this might be occurring?

edit retag flag offensive close merge delete


Without considering the actual error, are you sure that the you checked at the version of the tutorial that matches your install rviz verison? (correct branch)? Does you installed Ogre version match the one rviz is compiled with?

demmeln gravatar image demmeln  ( 2014-02-17 10:11:08 -0600 )edit

1 Answer

Sort by ยป oldest newest most voted

answered 2014-02-17 10:35:01 -0600

svozar gravatar image

updated 2014-02-18 05:13:43 -0600

I was trying to link against different OGRE versions, so getting rid of OGRE 1.8 fixed the problem.

edit flag offensive delete link more

Your Answer

Please start posting anonymously - your entry will be published after you log in or create a new account.

Add Answer

Question Tools


Asked: 2014-02-17 07:09:56 -0600

Seen: 331 times

Last updated: Feb 18 '14