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.

Source Distribution

minidemoKalmanFilter-1.0.0.tar.gz (3.6 kB view details)

Uploaded Source

File details

Details for the file minidemoKalmanFilter-1.0.0.tar.gz.

File metadata

File hashes

Hashes for minidemoKalmanFilter-1.0.0.tar.gz
Algorithm Hash digest
SHA256 a214e5d555a24fdb8a600951cd2d88811303d2da41711619b2e9e44a076799e0
MD5 03ad36655b41595ffc7e8a9cc589d8e4
BLAKE2b-256 5bae42ecfb337554d48a4eda5a79463d8c6d207883a64019e1c1e85448372217

See more details on using hashes here.

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page