Skip to content

iraadit/CarND-Extended-Kalman-Filter-Project

Repository files navigation

Extended Kalman Filter Project

This Project is the sixth task (Project 1 of Term 2) of the Udacity Self-Driving Car Nanodegree program. The main goal of the project is to apply Extended Kalman Filter to estimate the state of a moving object of interest with noisy lidar and radar measurements using C++. Passing the project requires obtaining RMSE values that are lower that the tolerance outlined in the project rubric.

The project was created with the Udacity Starter Code.

This project involves the Term 2 Simulator which can be downloaded here.

Once the install for uWebSocketIO is complete, the main program can be built and run by doing the following from the project top directory.

  1. mkdir build
  2. cd build
  3. cmake ..
  4. make
  5. ./ExtendedKF

Tips for setting up your environment can be found here.


Other Important Dependencies

This repository includes two files that can be used to set up and install uWebSocketIO for either Linux or Mac systems. For windows you can use either Docker, VMware, or even Windows 10 Bash on Ubuntu to install uWebSocketIO. Please see this concept in the classroom for the required version and installation scripts.

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
  5. Run Term 2 Simulator and then Project 1/2: EKF and UKF

Results

Result

It is asked that RMSE should be less than or equal to the values [.11, .11, 0.52, 0.52].

The RMSE that I get are as following:

Input RMSE
px 0.0973
py 0.0855
vx 0.4513
vy 0.4399

About

Extended Kalman Filter with RADAR and LIDAR data fusion

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages