Open jsseng opened 2 years ago
If there "were" plans, no. However, this could eventually be updated. I added label "enhancement" if someone wants to try it.
Integration idea: There is currently a directory called rtflann ("rtabmap flann"), which is a modified version of the flann library with some patches for rtabmap. We could add a new one "nanoflann" containing the nanoflann header file. Flann is used primarily in VWDictionary and RegistrationVis classes. We either
Solution 2 would be the safest transition, as this change can affect the whole loop closure detection performance. Someone could make 1 in a fork or temporary branch (to better see the similarities with original flann), which could be also useful step towards doing 2 in this repo.
I haven't looked at this in a while (and I don't have the time to implement it), but I'm all for adding nanoflann support. I would be very excited about the save/load functionality and how it would reduce startup times.
I was wondering if there were plans to update the flann library to nanoflann (https://github.com/jlblancoc/nanoflann). They list some performance and memory optimizations. When I run rtabmap with a large set of nodes and vocabulary, the load time is longer and I wonder if this update would help.