Skip to main content

Module lidar_occupancy

Module lidar_occupancy 

Source
Expand description

Log-odds occupancy grid built from LiDAR scans at known poses, e.g. the node scans of crate::lidar_graph_slam::LidarGraphSlam at their optimized poses.

Every beam marks the cells it passes through as free and its end cell as occupied (Bresenham ray tracing). The grid answers occupancy queries for planning and provides a distance-to-nearest-obstacle field for scan likelihoods (OccupancyGrid::distance_field).

Structs§

OccupancyCellUpdate
One actual log-odds update. Each cell appears at most once per scan.
OccupancyConfig
Log-odds increments and thresholds.
OccupancyGrid
A fixed-size log-odds occupancy grid over an axis-aligned world rectangle.

Enums§

CellState
State of one cell.
OccupancyEvidence
Evidence applied to a cell after resolving all beams in one scan.