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-tp50p305.html
Hello I am having the same problem on Windows 8, I checked the previous answers and the operating system uses "." for decimals and windows doesn't have the LANG environmental variable although US is the default language in my operating system. I am not sure about the UTF-8 part though.
I think the problem lies on the Memory::init() function cause it is called when pressing the new database button and when trying the to run the odometry_viewer.exe (I was running all the executables trying to understand were was the problem) which both call that function. The messages after executing odometry_viewer are:
[ INFO] (2015-04-02 20:48:09) main.cpp:528::main() Using OpenNI camera
[ INFO] (2015-04-02 20:48:09) main.cpp:597::main() Odometry used = GFTT+BRIEF
[ INFO] (2015-04-02 20:48:09) main.cpp:598::main() Camera rate = 0.000000 Hz
[ INFO] (2015-04-02 20:48:09) main.cpp:599::main() Maximum clouds shown = 10
[ INFO] (2015-04-02 20:48:09) main.cpp:600::main() Delay = 0.000000 s
[ INFO] (2015-04-02 20:48:09) main.cpp:601::main() Max depth = 5.000000
[ INFO] (2015-04-02 20:48:09) main.cpp:602::main() Reset odometry coutdown = 0
[ INFO] (2015-04-02 20:48:09) main.cpp:603::main() Local history = 1000
[ INFO] (2015-04-02 20:48:09) main.cpp:632::main() Nearest neighbor = kNNBruteForce
[ INFO] (2015-04-02 20:48:09) main.cpp:633::main() Nearest neighbor ratio = 0.700000
[ INFO] (2015-04-02 20:48:09) main.cpp:634::main() Max features = 0
[ INFO] (2015-04-02 20:48:09) main.cpp:635::main() Min inliers = 20
[ INFO] (2015-04-02 20:48:09) main.cpp:636::main() Inlier maximum correspondences distance = 0.010000
[ INFO] (2015-04-02 20:48:09) main.cpp:637::main() RANSAC iterations = 30
[ INFO] (2015-04-02 20:48:09) main.cpp:638::main() GPU = false
[ INFO] (2015-04-02 20:48:09) main.cpp:662::main() BRIEF bytes = 32
and then it crashes. I think the problem is in the line this->parseParameters(parameters);
I converted the rtabmap.ini file encoding to see if the encoding of the parameters was the problem but still it didn't.
The software was compiled from the source code.
Regards,
Alex