mirror of
https://github.com/introlab/rtabmap_ros.git
synced 2026-10-03 16:27:46 +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:
+1
-1
@@ -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