image pointer never deleted in SDF
The image pointer created at https://github.com/ANYbotics/grid_map/blob/master/grid_map_sdf/src/SignedDistanceField.cpp#L84 is never deleted.
PS: Thanks for your effort put in this great library
Further I'm not quite sure why the SDF encorporates a vector of matrices, the dt transforms binary images to distance fields. I can't see the purpose of this additional dimensionality since the dt is only performed in 2D and the amount of layers added is proportional to the max index difference in the input matrix.
Unfortunately there is no documentation for this module.
Hi @BeatScherrer, did run into a segmentation fault?
Can you propose a pull request that fixes the issue?