mirror of
https://github.com/introlab/rtabmap.git
synced 2026-09-01 17:10:26 +08:00
cloud filtering: keep first in the area instead of the last
git-svn-id: http://rtabmap.googlecode.com/svn/trunk/rtabmap@1438 f169173b-cf89-36c8-b27e-44dbe73f0c83
This commit is contained in:
@@ -1350,7 +1350,7 @@ std::map<int, Transform> MainWindow::radiusPosesFiltering(const std::map<int, Tr
|
|||||||
}
|
}
|
||||||
|
|
||||||
bool firstAdded = false;
|
bool firstAdded = false;
|
||||||
for(std::set<int>::reverse_iterator iter = cloudIndices.rbegin(); iter!=cloudIndices.rend(); ++iter)
|
for(std::set<int>::iterator iter = cloudIndices.begin(); iter!=cloudIndices.end(); ++iter)
|
||||||
{
|
{
|
||||||
if(!firstAdded)
|
if(!firstAdded)
|
||||||
{
|
{
|
||||||
|
|||||||
Reference in New Issue
Block a user