Comparing 2D and 3D LiDAR for AMRs
Atlasbot · 18/8/2026 · 11 min read
Most AMR running in-house requires only cheap, sufficient LiDAR 2D— data for SLAM and Nav2. But some applications (open robots, multi-level obstacle environments at different altitudes) require LiDAR 3D. This is a direct comparison to know when to choose which one to use.
Key concepts
LiDAR 2D has only one laser beam that sweeps around a fixed plane (typically at robot level) — the output data being a 360° slice of distance measurements, correct sensor_msgs/LaserScan. LiDAR 3D has multiple vertically stacked lasers (VD: 16, 32, 64 channels) that rotate together, each channel scanning a slightly angled — plane resulting in a full 3-dimensional point cloud, represented by sensor_msgs/PointCloud2.
How it works
LiDAR 2D has an important blind spot: only "seeing" the correct obstacle at altitude it is mounted — a low table or other high-altitude protruding object will not be detected. LiDAR 3D solves this problem by scanning multiple layers, but in return consumes far more computational resources.
| Criterion | LiDAR 2D | LiDAR 3D |
|---|---|---|
| Output Data | 1 slice (LaserScan) | Point cloud 3D (PointCloud2) |
| Obstacle Detection | Only at the sensor mount height | Detection of objects at multiple altitudes |
| mass data | Small, gentle handling | Many times bigger, more powerful computers. |
| Cost | Low (a few hundred thousand – million) | High (million to tens of millions) |
| SLAM/Nav2 | Used directly with slam_toolbox, Cartographer, Nav2 | Need to add point cloud slicing step to 2D or use separate 3D SLAM algorithm |
Technical details
Formulas
2D and 3D difference data mass in terms of the number of points per scan:
2D_points_per_revolution ≈ 360° / Angular_resolution
Example: resolution 0.5° → 720 points/revolution
3D_points_per_revolution ≈ Channel_count × (360° / Angular_resolution)
Example: 16-channel LiDAR, same resolution 0.5° → 16 × 720 = 11,520 points/revolution
→ A 16-channel 3D LiDAR generates 16 times the data of a 2D LiDAR
at the same angular resolution, per scan revolution
Parameters
| 3D LiDAR Channel Number | Matching |
|---|---|
| 16 channels | Medium-sized, small robot capable of detecting fundamental multilevel obstacles |
| 32-64 channels | High vertical resolution required, complex outdoor application |
Practical applications
In the real-world, the majority of indoor AMRs (warehouses, workshops, laboratories) still use 2D LiDARs as sufficient — to offset the altitude blind spot by adding a low-altitude ultrasonic/ToF sensor or depth camera at other altitudes, in the principle of combining multiple cheap sensors rather than a single expensive sensor. 3D LiDAR should only be invested when the operating environment actually has multiple obstacles at different altitudes for which the top compensation is not sufficient (e.g. outdoor robots, warehouses with irregular overhang shelves).
Practical example
Compare hardware and computational costs of 2 approaches to height blind spots:
Option A — 16-channel 3D LiDAR:
Sensor cost: high (several million VND)
Computational cost: powerful SBC required (Choosing a computer for AMRs)
Coverage: all heights within the vertical scan range
Option B — 2D LiDAR + 2 additional low-mounted ToF sensors:
Sensor cost: much lower (inexpensive 2D LiDAR + a few low-cost ToF sensors)
Computational cost: light, runs well on Raspberry Pi 4
Coverage: sufficient for most practical situations (table legs, low steps),
but less complete than 3D for obstacles at arbitrary heights
For an AMR in a standard warehouse, Option B is often sufficient and saves
considerable cost — choose Option A only when full coverage is actually required
Common mistakes
- Select LiDAR 3D "for sure" when the LiDAR 2D+ additional sensor is sufficient— as the above example, which costs sensing and computes incommensurate with real-world demands.
- Underestimating the additional data volume when up to 3D— as calculated in the Formula section, the number of points increases linearly with the number of channels, requiring commensurate processing hardware, not merely "inserting sensors".
- Standing standard 2D SLAM for 3D point cloud data without slicing—
slam_toolbox/Expected 2D CartographerLaserScan, does not directly processPointCloud2without intermediate switching steps. - Bypassing the cheap sensor combination solution for blind spot compensation— such as Plan B in the example, many cases do not need expensive LiDAR investment if the trouble is to combine several simpler sensors.
Conclusion
The 2D LiDAR is a reasonable default option for most indoor AMRs due to its low cost and ready compatibility with the standard SLAM/Nav2 ecosystem. 3D LiDAR is only needed when the problem actually requires obstacle recognition at multiple altitudes for which the cheap sensor combination solution does not suffice — should not opt for 3D just because it "sounds better". The next article goes into the two most popular 2D specific LiDAR lines in the ROS2 DIY — community RPLiDAR and YDLiDAR.
Get new articles and lessons by email
When a new technical article or course module is published, Atlas Robotics sends you a short email. No spam.
Unsubscribe any time with the link in each email. See our Privacy policy.