Particle Filtering Around a Wall

Particle Filtering Around a Wall

Try Press Step to follow the hollow starting markers and see how candidate paths A through D approach the wall.

Particle filter

Fixed floor plan with candidate paths around a wall Wall Upper route Lower route
What to look for

Map key
  • Candidate path and endpoint
  • Previous endpoint
  • Larger marker = higher weight
  • Position fix and uncertainty halo
  • Known route for validation
  • Copies at the same endpoint
Observe At stage 2, A and C travel above the wall, B goes below and D crosses through it. At stage 4, the draw strip shows A twice alongside B and C.
Explain At stage 3, the filter uses the new fix and the map to weight candidates. D loses weight because its path crosses the wall even though its endpoint is close to the fix.

Technical boundaries. The floor plan and fix uncertainty are schematic, and the highlighted candidates are an illustrative subset. The weighted draw shows one selection of copies. The known reference route is shown for validation only, and the last stage still propagates a biased step.

Back to the chapter