mirror of
https://github.com/introlab/rtabmap.git
synced 2026-10-05 17:47:49 +08:00
Create2DMap: eroding only on cells having at least 3 empty neighbor cells
This commit is contained in:
@@ -1334,6 +1334,7 @@ bool Rtabmap::process(
|
||||
// When analysing logs, it's convenient to know
|
||||
// if the hypothesis would be rejected if T_loop would be lower.
|
||||
rejectedHypothesis = true;
|
||||
UWARN("rejected hypothesis: under loop ratio %f < %f", _highestHypothesis.second, _loopRatio*lastHighestHypothesis.second);
|
||||
}
|
||||
|
||||
//for statistic...
|
||||
@@ -1791,7 +1792,7 @@ bool Rtabmap::process(
|
||||
rejectedHypothesis = transform.isNull();
|
||||
if(rejectedHypothesis)
|
||||
{
|
||||
UINFO("Rejected loop closure %d -> %d: %s",
|
||||
UWARN("Rejected loop closure %d -> %d: %s",
|
||||
_loopClosureHypothesis.first, signature->id(), rejectedMsg.c_str());
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user