In the nav2 params file the current setup for local costmap is using voxel layer with scan and not pointcloud, but I've seen a post where it says that voxel layer uses 3D points and obstacle layer is 2D.
ref post: what difference between voxel layer and obstacle layer?
A comment in another post says there is an issue with discrete raycasting algorithm that the obstacle layer and voxel layer use under the hood.
https://github.com/ros-navigation/navigation2/issues/545#issuecomment-459902243
The reason why I i address this is I struggle with getting points in the global & local costmap that wont decay or be removed before driving around for a while.
So does someone know why the params at nav2 uses scan and not pointcloud for voxel layer in local costmap config?