valid reprocess flow

Posted by dnozik on
URL: http://official-rtab-map-forum.206.s1.nabble.com/valid-reprocess-flow-tp10333.html

Hi ,
I like to know if following flow steps are valid.
1.Rtabmap running mapping during playback. // data collection
2.after playback finished user will  call service function in CoreWrapper.cpp
                            PostProcessin():
                     
                                     2.1 rtabmap_.close();  // write all data into db file
                                     2.2 run  external reprocess tools on db file  // running externals tools on db file without fully closing rtabmap .
                                     2.3 rtabmap_.init // load new db file .


P.S.
Look like after rtabmap.close I am getting memory corruption during rtabmap.init

Thanks.