philkr / carla_utils

A list of utility functions for CARLA and beyond to allow for quicker prototyping.
MIT License
4 stars 1 forks source link

Remove boost dependency from map #7

Closed philkr closed 3 years ago

philkr commented 3 years ago

Boost geometry is still in there. It requires some work to remove. Do this together with #4, or after if it's too time intensive.

bradyz commented 3 years ago

boostgeometry R-tree looks like it won't be that fun to remove, thoughts on how to do this in a smart way?

philkr commented 3 years ago

Seems not too bad. Only SegmentCloudRTree uses boost. The RTree there only does nearest neighbor search (with some filtering). A good flann library (e.g. https://github.com/jlblancoc/nanoflann ) should be able to do this too, maybe even faster.