bwosh / CarND-Extended-Kalman-Filter-Project

Self-Driving Car Nanodegree Program Starter Code for the Extended Kalman Filter Project

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Extended Kalman Filter Project

This project is a part of:
Udacity - Self-Driving Car NanoDegree
and it's basing on CarND-Extended-Kalman-Filter-Project github repository.

Description

This project utilizes a kalman filter to estimate the state of a moving object of interest with:

  • noisy lidar measurements
  • noisy radar measurements.

This project involves the Term 2 Simulator.

Building the code

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

Dependencies

The implementation summary

The code follows standards of applying Kalman Filter which contain:

  • Initialization step
  • Prediction step
  • Update step

The data that is received comes from two sources:

  • Laser
  • Radar

Those two sources differ in terms of:

  • Coordinate system (cartesian vs polar)
  • Data (position vs position with speed)

That's why different transofmarions were applied for those two sources. The algorithm itself tires to combine measurment and prediction in terms of gaussian probability. More lecture about the theory can be viewed here.

Metrics

The error was checked in terms of RMSE (Root Mean Squared Error) on Dataset1 and Dataset2 from "Term 2 Simulator" mentioned above.

The results on Dataset1:

  • X: 0.0974
  • Y: 0.0855
  • VX: 0.4517
  • VY: 0.4404

The results on Dataset2:

  • X: 0.0726
  • Y: 0.0965
  • VX: 0.4216
  • VY: 0.4932

About

Self-Driving Car Nanodegree Program Starter Code for the Extended Kalman Filter Project

License:MIT License


Languages

Language:C++ 98.5%Language:C 1.2%Language:CMake 0.2%Language:Shell 0.1%