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
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.
- cmake >= 3.5
- All OSes: click here for installation instructions
- make >= 4.1
- Linux: make is installed by default on most Linux distros
- Mac: install Xcode command line tools to get make
- Windows: Click here for installation instructions
- gcc/g++ >= 5.4
- Linux: gcc / g++ is installed by default on most Linux distros
- Mac: same deal as make - [install Xcode command line tools]((https://developer.apple.com/xcode/features/)
- Windows: recommend using MinGW
- Clone this repo.
- Make a build directory:
mkdir build && cd build
- Compile:
cmake .. && make
- On windows, you may need to run:
cmake .. -G "Unix Makefiles" && make
- On windows, you may need to run:
- 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
- eg.