/ParticleFilter

Particle Filter (PF) implementation in Python for my PF series on Medium

Primary LanguagePythonMIT LicenseMIT

Particle Filter (PF) implementation in Python for my PF series on Medium

ParticleFilter

Particle Filter Part 4 Script/Blog

Medium blog post

Getting Started Dependencies and Installation

I assume you have already installed Python 3.10. Now, Start by installing the dependency:

sudo apt-get install python3-pip python3-dev  
sudo pip3 install pygame

Next, to run the code you just need to clone this repo and run the main_pf.py file:

git clone git@github.com:mathiasmantelli/ParticleFilter.git
cd ParticleFilter
python main_pf.py <width> <height> <number_of_landmarks> <number_of_particles>

Examples

  • python my_pf.py 900 400 3 2000, with high sigma values Demo1
  • python my_pf.py 900 400 3 2000, with low sigma values Demo2