update
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user