fixed typo

This commit is contained in:
matlabbe
2024-06-25 13:21:02 -07:00
parent 7d970ef020
commit 1611aa14f6

View File

@@ -2114,7 +2114,7 @@ bool Rtabmap::process(
iter->second.type() == Link::kLocalSpaceClosure || iter->second.type() == Link::kLocalSpaceClosure ||
iter->second.type() == Link::kLandmark; iter->second.type() == Link::kLandmark;
} }
if( (( _memory->isIncremental() && !uContains(_optimizedPoses, _highestHypothesis.first) == 0) || // not linked to previous map of that hypothesis if( (( _memory->isIncremental() && !uContains(_optimizedPoses, _highestHypothesis.first)) || // not linked to previous map of that hypothesis
(!_memory->isIncremental() && !hasLoopClosureConstraints)) && // not yet localized to any previous sessions (!_memory->isIncremental() && !hasLoopClosureConstraints)) && // not yet localized to any previous sessions
_memory->getWorkingMem().size()>1 && // should have an old map (beside virtual signature) _memory->getWorkingMem().size()>1 && // should have an old map (beside virtual signature)
_rgbdSlamMode && _rgbdSlamMode &&