The mls planner uses dilation/erosion on the raw surfaces to close small holes due to sparse lidar hits. Currently is it using functions from imageproc to do this at each slice of the voxel grid.
If we get a stray point in the surface map (from sensor noise, for example) we have to allocate an entire 2d grid of mostly empty space to perform the morphology. Ideally we can just do the morphology on the voxels without allocating an entire 2d "image".
Synced from DIM-1529
The mls planner uses dilation/erosion on the raw surfaces to close small holes due to sparse lidar hits. Currently is it using functions from imageproc to do this at each slice of the voxel grid.
If we get a stray point in the surface map (from sensor noise, for example) we have to allocate an entire 2d grid of mostly empty space to perform the morphology. Ideally we can just do the morphology on the voxels without allocating an entire 2d "image".
Synced from DIM-1529