How Gazebo Simulates Lidar by Rasterizing Triangles
Simulated lidar in Gazebo is a depth image: mesh triangles tested against pixels, up to six cameras stitched into a 360-degree cloud, and a ray-traced path that records each hit directly.
In this article
- What rasterization is doing to the mesh
- Up to six cameras, and a circle that comes out messy
- Follow each ray, and keep the hit
- A graphics API that runs on NVIDIA, AMD, and Intel
- C++ owns the world, Rust owns the rays
- What the plugin actually emits
- The stitched scan, a heavy world, and two GPUs
- Our take