Hi,
while using an Ouster OS0-32 working with the ROS2 driver, I realized when looking at the 3d point cloud that apparently there is not a specific beam sweep being done in the 0° vertical angle plan, what would be the horizontal plan if the sensor is mounted vertical upright. In other words, the 3D LIDARs with an even number of channels for the vertical resolution will scan rings which are at the closest +/- (Vertical field of view)/((vertical resolution)*2), from this horizontal plan, but will not scan the horizontal plan per say (with vertical resolution being the nb of vertical channels, so nb of rings).
Is that correct? If so, that means that all Ouster LIDAR with an even number for the vertical resolution would be following this principle, apart from the OSDome, which first lower beam sweep would be planar and in the horizontal plan according to its mechanical drawings showing the FoV.
My goal was to initially have a simple 2D mapping of an environment and then tune and evaluate 2D AMCL within the ROS2 Nav2 stack for localization. Most of the time, this would be done with a 2D LIDAR only.
So with a Ouster hardware, there would be different strategies possibles from what I understand:
-from the 3D point cloud, generate a 2D laserscan and use that for 2D AMCL. With the Ouster-ROS2 driver, you can already select a single ring number to provide a laserscan, but that is when I noticed that this scan was not planar (as it was picking up objects below the horizontal plan). So you would have to generate horizontal planar 2D laser scan from the 3D point cloud (similar to GitHub - ros-perception/pointcloud_to_laserscan: Converts a 3D Point Cloud into a 2D laser scan. ).
-use 3D point cloud and 3D AMCL, as shown in GitHub - catec/amcl3d: Adaptive Monte Carlo Localization (AMCL) in 3D. which by the way use a Ouster LIDAR. However in my case, the platform motion is only horizontal/2D, so 3D processing of 3D AMCL similar to a flying drone may be using much more resources than needed. Also I am unsure how this 3D AMCL performs with moving elements in the environment.
-use 3D point cloud and 3D voxel approach for creating obstacles costmap representation, but unsure if there is any technics using that for localization.
So I was wondering what is the common approach among the above for localization using 2D AMCL like technics from hardware with 3D point cloud?
Thank you for your help,
Nicolas

