rtabmap: parameters passed by arguments override those in the database loaded from command line. Dictionary: set words saved to avoid saving them in database (causing db error when remapping from an old db created by fixed dictionary). G2O: ba supporting words with negative ids.

This commit is contained in:
matlabbe
2018-07-27 16:01:17 -04:00
parent b63590bf1d
commit 4d5b42ab79
7 changed files with 80 additions and 20 deletions
+1 -5
View File
@@ -85,11 +85,7 @@ int main(int argc, char* argv[])
if(!database.empty())
{
mainWindow->openDatabase(database.c_str());
}
if(parameters.size())
{
mainWindow->updateParameters(parameters);
mainWindow->openDatabase(database.c_str(), parameters);
}
// Now wait for application to finish