mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-01 17:10:26 +08:00
Removed immunization of retrieved locations near in space (trunk, merged back changes from r478)
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@482 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
@@ -951,12 +951,6 @@ void Rtabmap::process()
|
||||
ULOGGER_INFO("ns=%d m=%d", iter->first, iter->second);
|
||||
idsSorted.insert(iter->first);
|
||||
reactivatedIdsSet.insert(iter->first);
|
||||
|
||||
if(m<neighborhoodSize)
|
||||
{
|
||||
//immunized locations in the neighborhood from being transferred
|
||||
immunizedLocations.insert(iter->first);
|
||||
}
|
||||
}
|
||||
std::map<int, int>::iterator tmp = iter++;
|
||||
neighbors.erase(tmp);
|
||||
|
||||
Reference in New Issue
Block a user