mathiasmantelli / ParticleFilter

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

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

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

About

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

License:MIT License


Languages

Language:Python 100.0%