Skip to content

Latest commit

 

History

History
28 lines (22 loc) · 1.08 KB

README.md

File metadata and controls

28 lines (22 loc) · 1.08 KB

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 [email protected]: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