rtabmap_ros icon indicating copy to clipboard operation
rtabmap_ros copied to clipboard

Resolution parameter explanation

Open astef3 opened this issue 1 year ago • 1 comments

Hi,

I would have a simple question about the parameter for the resolution. I am currently using test_velodyne.launch file and I am playing a little with the resolution, as it says that there are different recommended values for the parameter based on whether its an outdoors or indoors environment. So, I would be really grateful if you can explain to me a little more about the parameter (the meaning and the units of the parameter).

Thank you in advance!

astef3 avatar Apr 23 '24 09:04 astef3

Units are in meters. For example, if it is 0.1, it will filter the point cloud to keep only 1 point for each 10 cm voxel. See https://pcl.readthedocs.io/projects/tutorials/en/latest/voxel_grid.html#voxelgrid for a more in depth explanation.

We voxel filter the point cloud to have a more uniform distribution of the points in the environment. This will help ICP to converge globally, and not only points close to the sensor (with lidar sensors, the surfaces are covered by more points the closer they are from the sensor). The larger the voxel, the faster ICP will be too (less points).

matlabbe avatar Apr 28 '24 19:04 matlabbe

Thank you for the explanation! Its perfect, now I understand!

astef3 avatar May 12 '24 15:05 astef3