Introduction
Ray casting for
For an occupancy grid with cell size :- Transform the beam direction: .
- Step along the ray with DDA or Bresenham’s algorithm until:
- The ray reaches an occupied cell (the endpoint).
- The distance exceeds .
Pseudocode
The inverse sensor model
To update a cell’s occupancy, we need . The simplified inverse beam model applies these updates:- For cells before the measured endpoint, increase the probability that they are free.
- For the cell at the endpoint, increase the probability that it is occupied if .
- Do not update cells beyond the endpoint.
Approximate inversion
Exact inversion requires: but coupling among cells makes the calculation intractable. The beam-based inverse model is a heuristic that is consistent with the forward geometry. —>Occupancy updates with multiple beams
For each beam:- Use ray tracing to find the traversed cells.
- Update the free cells: .
- If the beam hits an endpoint, update that cell: .
References
- Qi, C., Su, H., Mo, K., Guibas, L. (2016). PointNet: Deep Learning on Point Sets for 3D Classification and Segmentation. arXiv [cs.CV].

