Skip to content

Extended Kalman Filter implementation for tracking an object in 2D.

Notifications You must be signed in to change notification settings

iamfaisalkhan/Kalman-Filters

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

58 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Extended Kalman Filter


An implementation of kalman filter for predicting and tracking the position and velocity of a moving object in a 2D world. The tracking is done using the input from two sensors:

  • Laser (LIDAR)
  • RADAR

The LIDAR sensor measures only the position of the object. The RADAR sensor provides measurement for the range (radial distance $$\rho$$ from the origin), bearing (angle between x-axis and the range vector and also the radial velocity (change of $$\rho$$).

In this project, we use the Kalman Filter (KF) to combine the measurements from these two sensor to predict a 4D state of the moving object that includes its position and its velocity.

Dependencies

Basic Build Instructions

  1. Clone this repo.
  2. Make a build directory: mkdir build && cd build
  3. Compile: cmake .. && make
    • On windows, you may need to run: cmake .. -G "Unix Makefiles" && make
  4. Run it: ./ExtendedKF path/to/input.txt path/to/output.txt. You can find some sample inputs in 'data/'.
    • eg. ./ExtendedKF ../data/obj_pose-laser-radar-synthetic-input.txt

About

Extended Kalman Filter implementation for tracking an object in 2D.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published