Modelcore
Likelihood field model
Also called end-point model.
Scores a range reading by the distance from its end point to the nearest obstacle in the map, a smooth and fast sensor model.
The likelihood field model scores a scan from a laser range sensor against a map, given a pose of the robot. It does not trace each beam through the map. It takes only the end point of each beam, the place where the beam says an obstacle is, and asks how far that point is from the nearest obstacle in the map. A short distance gives a high score and a long distance a low one, with a Gaussian fall-off and a small constant floor for random readings. The distances for every point of the map are computed once, before localization starts, with a distance transform. After that one beam costs one table lookup, and the score changes smoothly when the pose changes. The model is a measurement model for the Bayes filter, used mainly in Monte Carlo localization. It is a heuristic: it has no physical derivation, and it is not a normalized density over readings. The notation is the one of Thrun, Burgard and Fox (2005).
The machine
State. The pose of the robot and a map with a set of occupied points or cells. The sensor sits at in the robot frame.
Measurement. A scan of beams. Beam has a bearing in the sensor frame and a reading .
End points. For each beam with , the end point in the world frame is
Readings at are skipped: they carry no end point.
The model. With the Euclidean distance from to the nearest point of ,
Parameters. The weights and , and in meters. They are fitted to data in the same way as for the beam model; they are not properties of the sensor alone, and also absorbs map and pose errors.
Precomputation. On an occupancy grid map with cells, the cells above an occupancy threshold form , and a distance transform stores the distance from each cell to the nearest cell of . Exact Euclidean distance transforms run in time. The table of per cell is the likelihood field that gives the model its name.
Standing assumptions. The beams are independent given the pose and the map, which is an approximation, as for the beam model. Only the end point matters: the cells that the beam passed through play no part.
Example. Take m, , and m, so the floor is . A robot at with the sensor at its center sees a wall on the line . A beam with bearing 0 and reading ends at , at distance from the wall. The table gives the value of one beam as a function of :
| (m) | 0 | 0.1 | 0.2 | 0.4 | 1.0 |
|---|---|---|---|---|---|
| beam value | 1.80774 | 1.59679 | 1.10137 | 0.25546 | 0.01251 |
So this beam scores . A reading of ends behind the wall at and scores the same, which the beam model would not allow.
What it counts
The model assigns a score to a scan at a hypothesized pose, used as the weight of a particle. After the precomputation one scan costs time: two trigonometric terms and a table lookup per beam. The precomputation costs time and memory for a grid of cells. A filter with particles pays per scan, against for the beam model with ray casting on cells of side .
Relation to other models
- Beam range finder model. Casts a ray for each beam and compares the reading with the expected range. It models free space, short readings and max range readings, but it is slow and not smooth in the pose. The likelihood field model gives up the physics for speed and smoothness.
- Scan matching. Iterative closest point minimizes the sum of squared distances from end points to the nearest map points, which is the negative log of the likelihood field without the floor, up to constants. The normal distributions transform replaces the distance field with a Gaussian per cell. Correlative scan matching evaluates a likelihood field over a grid of poses.
- Grid-based Rao-Blackwellized particle filter SLAM. Can use end point scores of this kind on each particle's own map, both to weight the particles and to refine their poses by scan matching.
Known results in the model
- Theorem (smooth in the pose). The distance to a nonempty set is 1-Lipschitz in : . The end point is a smooth function of the pose, and with has a bounded derivative in . So the log-likelihood of each beam is Lipschitz in the pose on any bounded set of poses. The beam model has no such bound, since its expected range jumps at the corners of obstacles. A lookup in a grid table makes the score piecewise constant; bilinear interpolation of the table restores continuity.
- Theorem (not a density over readings). For a fixed pose, is not 1 in general. A beam that lies on the surface of a straight wall has for every , so with the numbers of the example the integral is about . A beam into open space far from every obstacle gives about . So is a score, not a probability density, and its values for scans with different numbers of valid beams are not on the same scale.
- Heuristic (seeing through walls). The model ignores the free space along each beam. A beam that passes through a wall in the map is not penalized, and an end point just behind a thin wall scores as high as one in front of it. In maps with thin walls this can let particles settle in the wrong room.
- Unknown space. Thrun, Burgard and Fox (2005) give end points that fall outside the known map the constant value , so that unexplored areas neither reward nor punish a pose.
- Heuristic (independence of beams). As for the beam model, the product over many correlated beams is too peaked. Using a subset of the beams is the common fix.
References
- Sebastian Thrun, Wolfram Burgard and Dieter Fox, Probabilistic Robotics, MIT Press, 2005, Chapter 6, Section 6.4 (likelihood fields for range finders: the basic algorithm, its extensions and its limits), with Section 6.3 for the beam model it replaces
- Sebastian Thrun, A probabilistic online mapping algorithm for teams of mobile robots, International Journal of Robotics Research 20(5), 2001, pages 335 to 363, the scan likelihood computed from the distance of each end point to the nearest obstacle in the map
Where this leads
About this page
The build computes these levels from the evidence in the repository. Each row says what the next level needs. Read what the levels mean.
| Ladder | Level | What the next level needs |
|---|---|---|
| Human proof | H0 no proof |
|
| Lean | L0 no Lean part |
|
| Visual | V0 none |
|
| Writing | W4 complete |
|
Tag 4N2WTX Edit this page History Report an error Markdown