This commit is contained in:
trung09122002
2026-09-23 13:36:48 +07:00
parent dbcbf84dc3
commit 0a1b1b13f1
38 changed files with 2331 additions and 138 deletions

View File

@@ -106,6 +106,12 @@ DbFacts InspectDatabase(const std::string& path) {
auto it = db_params.find(rtabmap::Parameters::kOptimizerStrategy());
if (it != db_params.end()) f.optimizer_strategy = it->second;
// Cung co che: doc lai tham so DB da luu. "true"/"1" deu tinh la bat.
auto it3d = db_params.find(rtabmap::Parameters::kGrid3D());
if (it3d != db_params.end()) {
f.grid_3d = (it3d->second == "true" || it3d->second == "1");
}
driver->closeConnection(false);
return f;
}