mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-01 17:10:26 +08:00
C++ example: explicitly close rtabmap without saving to db to avoid error when quitting
This commit is contained in:
@@ -251,5 +251,7 @@ int main(int argc, char * argv[])
|
||||
printf("Saving rtabmap_trajectory.txt... failed!\n");
|
||||
}
|
||||
|
||||
rtabmap->close(false);
|
||||
|
||||
return 0;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user