Ask Your Question
1

rviz Plugin Tutorial crashes

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

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

Comments

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 imagedemmeln ( 2014-02-17 10:11:08 -0500 )edit

1 Answer

Sort by ยป oldest newest most voted
0

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

svozar gravatar image

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

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

Stats

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

Seen: 239 times

Last updated: Feb 18 '14