Skip to content

Commit c244f81

Browse files
committed
Fixed bug in not cleaning the points cache array of removed points.
1 parent 5b5f5e3 commit c244f81

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/laserMapping.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -221,7 +221,7 @@ void points_cache_collect()
221221
{
222222
PointVector points_history;
223223
ikdtree.acquire_removed_points(points_history);
224-
for (int i = 0; i < points_history.size(); i++) _featsArray->push_back(points_history[i]);
224+
// for (int i = 0; i < points_history.size(); i++) _featsArray->push_back(points_history[i]);
225225
}
226226

227227
BoxPointType LocalMap_Points;

0 commit comments

Comments
 (0)