~/talk

Implementing Particle Filters with C++ Ranges

links:none on file
slides:none on file

Implements particle filters using C++20/23 ranges, builds a reusable resampling adapter that materializes weights into a discrete_distribution and offers three implementations (coroutine-based generator, pending view_generate, and a custom sample view). Benchmarks show the custom view runs almost no overhead versus a hand-written loop. Supports structure-of-arrays via particle_ref, enables multinomial-with-replacement sampling, KLD stopping and injected-random-particle recovery, and provides code and reproducible benchmarks.

AI-written summary · about

  1. 0:00Introduction
  2. 1:26Particle filters in robotics
  3. 2:10Particle filter theory
  4. 4:37C++ Ranges library
  5. 6:03Particle sets as Ranges
  6. 7:27State and weight updates
  7. 8:31Resampling with discrete distribution
  8. 9:32Sample view adapter
  9. 13:26Lifetime issues with views
  10. 16:19Performance with coroutines
  11. 17:46Custom view from scratch
  12. 20:35Benchmarking custom view
  13. 21:19Range adapter closure
  14. 23:29Testing adapter extensibility
  15. 25:53Alternative resampling strategies
  16. 26:58Kidnapped robot recovery
  17. 27:19Ranges working recommendations
  18. 28:45Final remarks
  19. 29:06Q&A
~/search
type to search 6,249 conferences, 138,987 speakers and 185,172 talks
~/help
cmdctrl k
search every conference, speaker and series
/
focus the filter search
h
home
c
conferences
s
speakers
e
series
t
light / dark — the status bar button does the same
?
this help
esc
close this, then clear every filter — or just the search, while you are typing in it

Ignored while you are typing. Pages without a filter rail have no search to focus.