Rtabmap: On init, load also landmark optimzed poses

This commit is contained in:
matlabbe
2019-02-04 18:23:09 -05:00
parent c85ff90477
commit c8cd745f81

View File

@@ -325,7 +325,7 @@ void Rtabmap::init(const ParametersMap & parameters, const std::string & databas
}
std::map<int, Transform> tmp;
// Get just the links
_memory->getMetricConstraints(uKeysSet(_optimizedPoses), tmp, _constraints, false);
_memory->getMetricConstraints(uKeysSet(_optimizedPoses), tmp, _constraints, false, true);
}
if(_databasePath.empty())