Uploaded January 2026 | Updated November 2026, 1 week ago
This video shows a simulated robot running a localisation algorithm. It is built using Python, with JS for the web UI and runs on a Raspberry Pi, with good performance on a Raspberry Pi 4. The components communicate via MQTT. It uses the MCL - Monte Carlo Localisation algorithm, with a low variance resampling algorithm.
For my upcoming book, Learn Robotics Programming 3rd edition, I've made a Localisation system which the reader will learn to build in Chapter 12.
This video shows a simulation (code to be available on GitHub) being used to test and refine this code, along with some key notes (in the bottom left) on what is going on.
The simulation is custom built using PyGame and PUmin
There are browser freezes which I'm working on diagnosing, however, the localisation is working well.
Music: Virtual Roaming Charges - half.cool from the Youtube Audio Library.
This video shows a simulated robot running a localisation algorithm. It is built using Python, with JS for the web UI and runs on a Raspberry Pi, with good performance on a Raspberry Pi 4. The components communicate via MQTT. It uses the MCL - Monte Carlo Localisation algorithm, with a low variance resampling algorithm.
For my upcoming book, Learn Robotics Programming 3rd edition, I've made a Localisation system which the reader will learn to build in Chapter 12.
This video shows a simulation (code to be available on GitHub) being used to test and refine this code, along with some key notes (in the bottom left) on what is going on.
The simulation is custom built using PyGame and PUmin
There are browser freezes which I'm working on diagnosing, however, the localisation is working well.
Music: Virtual Roaming Charges - half.cool from the Youtube Audio Library.










