Disabled local loop detection on intermediate nodes

This commit is contained in:
matlabbe
2015-11-09 11:46:30 -05:00
parent 798eb2330b
commit 0dedc62ce8
2 changed files with 7 additions and 2 deletions
+2 -1
View File
@@ -1833,7 +1833,8 @@ bool Rtabmap::process(
int localSpacePaths = 0;
if(_localLoopClosureDetectionSpace &&
_localRadius > 0 &&
_rgbdSlamMode)
_rgbdSlamMode &&
signature->getWeight() >= 0) // not an intermediate node
{
if(_graphOptimizer->iterations() == 0)
{