mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-09 21:10:19 +08:00
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:
+1
-5
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user