Skip to main content

minidemoKalmanFilter - Minimal Demo. of Kalman Filters (Linear/Extended/Unscented)

Project description

Provides
  1. Minimal Kalman Filter classes (Linear, Extended and Unscented).
  2. Interactive demonstration and it’s snapshot.
This package is very simple, and may suitable for educational use.
About 100 executable lines for LKF/EKF/UKF totally.
Demo program will show you the essence (assumption and limitation)
of Kalman Filter.

Files

filter.py
An implementation of minimal Kalman Filter (LKF/EKF/UKF included).

Demos

Interactive demo

Interactive style demo requires numpy and matplotlib. Touch sliders to change the parameter of the filter, and you will find the estimated results updated on your screen. Some snapshots are included in the package directory (snapshot_*.png).

python demo_ukf_gui.py

Batch demo

Batch style demo (console version) requires numpy. This demo estimates the position and velocity of 2-dimensinal linear uniform motion, and output results to the console. You can choose the filter class (LKF,EKF,UKF) by comman line.

LKF, EFK and UKF gives almost same reseults for such a linear problem here. Please extend significiant of output to confirm the differences.

python demo_ukf.py > out_ukf.txt

Requirements

Uses NumPy and Matplotlib(for interactive demo).

License

Copyright (c) 2018 Kenich SHIRAKAWA

This is licensed under MIT license. See Licence.txt for more information.

Thanks

The basic design of unscented transformation class is based on the Sam Burden’s work (see https://github.com/sburden/uk ukf.py).

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Filename, size & hash SHA256 hash help File type Python version Upload date
minidemoKalmanFilter-1.0.1.tar.gz (213.6 kB) Copy SHA256 hash SHA256 Source None

Supported by

Elastic Elastic Search Pingdom Pingdom Monitoring Google Google BigQuery Sentry Sentry Error logging AWS AWS Cloud computing DataDog DataDog Monitoring Fastly Fastly CDN SignalFx SignalFx Supporter DigiCert DigiCert EV certificate StatusPage StatusPage Status page