Skip to content

cuevas1208/Sensor-Fusion-with-Kalman-Filters

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Sensor-Fusion-with-Kalman-Filters


Overview

This project uses lidar measurements and radar measurements to track an object's position and velocity that travels around the vehicle.

Kalman filter techniques taught by Andrei Vatavu (Sensor Fusion Engineer at Mercedes-Benz) are implemented in this project to process sensor data in C++.

For more information about this project visit the Wiki page

Data set

The project provides simulated lidar and radar measurements of detecting a bicycle that travels around the vehicle.

data/sample-laser-radar-measurement-data-1.txt
data/sample-laser-radar-measurement-data-2.txt

src files

main.cpp - reads in data, calls a function to run the Kalman filter, calls a function to calculate RMSE

FusionEKF.cpp - initializes the filter, calls the predict function, calls the update function

kalman_filter.cpp - defines the predict function, the update function for lidar, and the update function for radar

tools.cpp - function to calculate RMSE and the Jacobian matrix

Dependencies

  • cmake >= 3.5
  • make >= 4.1
  • gcc/g++ >= 5.4

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/'. ./ExtendedKF ../ data/sample-laser-radar-measurement-data-1.txt output1.txt

Code Style

Please (do your best to) stick to Google's C++ style guide.

Reference:

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published