Updated NNDR default for binary descriptors to 0.9. Delete log files by default if database doesn't exist on rtabmap init.

This commit is contained in:
Mathieu Labbe
2014-12-04 16:34:39 -05:00
parent bb85735e0f
commit 4126687625
3 changed files with 7 additions and 4 deletions

View File

@@ -261,7 +261,7 @@ void Rtabmap::init(const ParametersMap & parameters, const std::string & databas
}
UINFO("Using database \"%s\".", _databasePath.c_str());
this->parseParameters(parameters);
setupLogFiles();
setupLogFiles(!UFile::exists(_databasePath));
}
void Rtabmap::init(const std::string & configFile, const std::string & databasePath)