New parameter "RGBD/MaxOdomCacheSize" used in localization mode to reject similar locations (default disabled)

This commit is contained in:
matlabbe
2019-04-05 19:37:40 -04:00
parent ae12caff04
commit 9b63297a6b
7 changed files with 297 additions and 94 deletions
+1
View File
@@ -842,6 +842,7 @@ void computeMaxGraphErrors(
maxLinearError = -1;
maxAngularError = -1;
UDEBUG("poses=%d links=%d", (int)poses.size(), (int)links.size());
for(std::multimap<int, Link>::const_iterator iter=links.begin(); iter!=links.end(); ++iter)
{
// ignore links with high variance, priors and landmarks