Re: rtabmap crash after pressing New database [(nndrRatio > 0.0f) not met!]

Posted by Alex on
URL: http://official-rtab-map-forum.206.s1.nabble.com/rtabmap-crash-after-pressing-New-database-tp50p315.html

Ok I will try it with the update. Although something bizarre happened, if I run the program through the command prompt it works when I start a new database, but if I start it by double clicking the executable it crashes. I am confused now :S.
The output from $ rtabmap-odometryViewer.exe -debug is:

[DEBUG] (2015-04-03 21:22:03) Memory.cpp:377::rtabmap::Memory::parseParameters()
[DEBUG] (2015-04-03 21:22:03) Memory.cpp:491::rtabmap::Memory::parseParameters() new detector strategy
[DEBUG] (2015-04-03 21:22:03) Memory.cpp:132::rtabmap::Memory::init()
[DEBUG] (2015-04-03 21:22:03) Memory.cpp:377::rtabmap::Memory::parseParameters()
[DEBUG] (2015-04-03 21:22:03) Memory.cpp:1006::rtabmap::Memory::clear()
[DEBUG] (2015-04-03 21:22:03) Memory.cpp:3757::rtabmap::Memory::cleanUnusedWords() removing 0 words (dictionary size=0)...
[DEBUG] (2015-04-03 21:22:03) Memory.cpp:1040::rtabmap::Memory::clear()
[DEBUG] (2015-04-03 21:22:03) Memory.cpp:1069::rtabmap::Memory::clear()
[DEBUG] (2015-04-03 21:22:03) Memory.cpp:1075::rtabmap::Memory::clear()
[DEBUG] (2015-04-03 21:22:03) Memory.cpp:3757::rtabmap::Memory::cleanUnusedWords() Removing 0 words (dictionary size=0)...
[DEBUG] (2015-04-03 21:22:03) VWDictionary.cpp:326::rtabmap::VWDictionary::clear()
[DEBUG] (2015-04-03 21:22:03) Memory.cpp:1097::rtabmap::Memory::clear()
[DEBUG] (2015-04-03 21:22:03) Memory.cpp:245::rtabmap::Memory::init() ids start with 1
[DEBUG] (2015-04-03 21:22:03) Memory.cpp:246::rtabmap::Memory::init() map ids start with 0
[DEBUG] (2015-04-03 21:22:03) Memory.cpp:313::rtabmap::Memory::init() Total word references added = 0
[ERROR] (2015-04-03 21:22:04) CameraRGBD.cpp:211::rtabmap::CameraOpenni::init() OpenNI exception: void __cdecl pcl::OpenNIGrabber::setupDevice(const class std::basic_string<char,struct std::char_traits<char>,class std::allocator<char> > &,const pcl::OpenNIGrabber::Mode &,const pcl::OpenNIGrabber::Mode &) in ..\pcl-1.7.2\io\src\openni_grabber.cpp @ 344 : No devices connected.
[DEBUG] (2015-04-03 21:22:04) CameraRGBD.cpp:148::rtabmap::CameraOpenni::~Camera Openni()
[DEBUG] (2015-04-03 21:22:04) CloudViewer.cpp:102::rtabmap::CloudViewer::~CloudViewer()
[DEBUG] (2015-04-03 21:22:04) Memory.cpp:322::rtabmap::Memory::~Memory()
[DEBUG] (2015-04-03 21:22:04) Memory.cpp:325::rtabmap::Memory::~Memory()
[DEBUG] (2015-04-03 21:22:04) Memory.cpp:1006::rtabmap::Memory::clear()
[DEBUG] (2015-04-03 21:22:04) Memory.cpp:3757::rtabmap::Memory::cleanUnusedWords() Removing 0 words (dictionary size=0)...
[DEBUG] (2015-04-03 21:22:04) Memory.cpp:1040::rtabmap::Memory::clear()
[DEBUG] (2015-04-03 21:22:04) Memory.cpp:1069::rtabmap::Memory::clear()
[DEBUG] (2015-04-03 21:22:04) Memory.cpp:1075::rtabmap::Memory::clear()
[DEBUG] (2015-04-03 21:22:04) Memory.cpp:3757::rtabmap::Memory::cleanUnusedWords() Removing 0 words (dictionary size=0)...
[DEBUG] (2015-04-03 21:22:04) VWDictionary.cpp:326::rtabmap::VWDictionary::clear()
[DEBUG] (2015-04-03 21:22:04) Memory.cpp:1097::rtabmap::Memory::clear()
[DEBUG] (2015-04-03 21:22:04) VWDictionary.cpp:326::rtabmap::VWDictionary::clear()