ANYbotics / elevation_mapping

Robot-centric elevation mapping for rough terrain navigation
BSD 3-Clause "New" or "Revised" License
1.25k stars 436 forks source link

NN interpolation #176

Closed rolandgvc closed 2 years ago

rolandgvc commented 2 years ago

Is there a way of setting a different interpolation (e.g. nearest neighbour) from the yaml config? If not, what would be a simple example of doing that from the code? Many thanks!

maximilianwulf commented 2 years ago

Hey @rolandgvc, elevation_mapping currently does not expose this to the yaml configuration.

You find some examples in https://github.com/ANYbotics/grid_map/blob/master/grid_map_demos/src/InterpolationDemo.cpp.