mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-01 17:10:26 +08:00
rtabmap: setup working directory and deleting memory is done in init() instead of the Rtabmap constructor.
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@731 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
@@ -45,7 +45,7 @@ int main(int argc, char* argv[])
|
||||
/* Start thread's task */
|
||||
mainWindow->showNormal();
|
||||
|
||||
Rtabmap * rtabmap = new Rtabmap(mainWindow->getWorkingDirectory().toStdString(), false);
|
||||
Rtabmap * rtabmap = new Rtabmap();
|
||||
rtabmap->start(); // start it not initialized... will be initialized by event from the gui
|
||||
UEventsManager::addHandler(rtabmap);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user