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.1.tar.gz (213.6 kB view details)

Uploaded Source

File details

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

File metadata

File hashes

Hashes for minidemoKalmanFilter-1.0.1.tar.gz
Algorithm Hash digest
SHA256 81cc5d7afa63adfe3ed7a89dc04d5ae1945ae52221ffc90cbac6b8f36fe4e5e8
MD5 e375336040633e7e57f87772c3b19f0a
BLAKE2b-256 7f17f557ac1ede13cea4003a9585413356d21a3e0e7a02cc1b8ccc00dfa464e4

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