norlab-ulaval / libpointmatcher

An Iterative Closest Point (ICP) library for 2D and 3D mapping in Robotics
BSD 3-Clause "New" or "Revised" License
1.58k stars 542 forks source link

Getting weird results/behavior from MaxPointCountDataPointsFilter #463

Closed aguenette closed 2 years ago

aguenette commented 3 years ago

As the title suggest, I'm getting weird results from MaxPointCountDataPointsFilter as the point clouds don't seem to really have the number of point specified by the maxCount parameter.

Here's a videos to illustrate what I'm talking about:

Current results video

I will open a PR to show the results I get with the fix I made.