DBReader: added ignore priors option (added to gui and reprocess), Statistics: added info about distance/angle of the localization, RegVis: fixed inliers mean distance on multicam setup, About: added MRPT info

This commit is contained in:
matlabbe
2023-02-10 17:29:10 -08:00
parent 59d220c54f
commit 437ed09335
11 changed files with 1250 additions and 1158 deletions
+9 -1
View File
@@ -82,6 +82,7 @@ void showUsage()
" then next databases are reprocessed on top of the first one.\n"
" -cam # Camera index to stream. Ignored if a database doesn't contain multi-camera data.\n"
" -nolandmark Don't republish landmarks contained in input database.\n"
" -nopriors Don't republish priors contained in input database.\n"
" -pub_loops Republish loop closures contained in input database.\n"
" -loc_null On localization mode, reset localization pose to null and map correction to identity between sessions.\n"
" -gt When reprocessing a single database, load its original optimized graph, then \n"
@@ -246,6 +247,7 @@ int main(int argc, char * argv[])
int cameraIndex = -1;
int framesToSkip = 0;
bool ignoreLandmarks = false;
bool ignorePriors = false;
bool republishLoopClosures = false;
bool locNull = false;
bool originalGraphAsGT = false;
@@ -386,6 +388,11 @@ int main(int argc, char * argv[])
ignoreLandmarks = true;
printf("Ignoring landmarks from input database (-nolandmark option).\n");
}
else if(strcmp(argv[i], "-nopriors") == 0 || strcmp(argv[i], "--nopriors") == 0)
{
ignorePriors = true;
printf("Ignoring priors from input database (-nopriors option).\n");
}
else if(strcmp(argv[i], "-pub_loops") == 0 || strcmp(argv[i], "--pub_loops") == 0)
{
republishLoopClosures = true;
@@ -766,7 +773,8 @@ int main(int argc, char * argv[])
ignoreLandmarks,
!useOdomFeatures,
startMapId,
stopMapId);
stopMapId,
ignorePriors);
dbReader->init();