Giter Site home page Giter Site logo

extended_kalman_filter_python's Introduction

extended_kalman_filter_python

An Extended Kalman Filter (that uses a constant velocity model) in Python. This EKF fuses LIDAR and RADAR sensor readings to estimate location (x,y) and velocity (vx, vy).

Source layout

  1. main.py - Can run the tracker.
  2. tracker.py - Instance that tracks and uses EKF to predict and update state.
  3. efk.py - EKF implementation lives here.
  4. utils.py - Helper methods.

Package requirements

  1. pandas
  2. numpy

Data log input file format

#L(for laser) meas_px meas_py timestamp gt_px gt_py gt_vx gt_vy
#R(for radar) meas_rho meas_phi meas_rho_dot timestamp gt_px gt_py gt_vx gt_vy

Example:
R	8.60363	0.0290616	-2.99903	1477010443399637	8.6	0.25	-3.00029	0
L	8.45	0.25	1477010443349642	8.45	0.25	-3.00027	0

To run the filter

python main.py

Started Tracker for sample-laser-radar-measurement-data-1.txt
estimations count:  1224
measurements count:  1224
RMSE:  [[ 0.06516487  0.06053792  0.53321165  0.5441927 ]]
Metric:  [0.08, 0.08, 0.6, 0.6]
RMSE PASSED metric


Started Tracker for sample-laser-radar-measurement-data-2.txt
estimations count:  200
measurements count:  200
RMSE:  [[ 0.18549633  0.19030227  0.47675529  0.80446808]]
Metric:  [0.2, 0.2, 0.5, 0.85]

extended_kalman_filter_python's People

Contributors

mez avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.