mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-02 01:20:25 +08:00
Added rejected tag when sim=0
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@296 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
@@ -833,8 +833,7 @@ void Rtabmap::process()
|
||||
if(hypotheses.size())
|
||||
{
|
||||
// Loop closure Threshold
|
||||
if(likelihood.at(hypotheses.front().first) > 0.0f &&
|
||||
hypotheses.front().second >= _loopThr)
|
||||
if(hypotheses.front().second >= _loopThr)
|
||||
{
|
||||
//============================================================
|
||||
// Hypothesis verification for loop closure with geometric
|
||||
@@ -843,7 +842,8 @@ void Rtabmap::process()
|
||||
//============================================================
|
||||
if(hypotheses.front().second >= _loopRatio*_highestHypothesisValue &&
|
||||
_highestHypothesisValue &&
|
||||
_vhStrategy->verify(signature, _memory->getSignature(hypotheses.front().first)))
|
||||
_vhStrategy->verify(signature, _memory->getSignature(hypotheses.front().first)) &&
|
||||
likelihood.at(hypotheses.front().first) > 0.0f)
|
||||
{
|
||||
_lcHypothesisId = hypotheses.front().first;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user