Skip to content

christiankay/SDC_projects_P6_extended_kalman_filters

Repository files navigation

Extended-Kalman-Filter

Udacity CarND Term 2, Project 1 - Extended Kalman Filters

Project Basics

In this project I utilized a kalman filter in C++ to estimate the state of a moving object of interest with noisy lidar and radar measurements. Passing the project required obtaining RMSE values that are lower than the tolerance outlined in the project rubric.

The code will make a prediction based on the sensor measurement and then update the expected position. See files in the 'src' folder for the primary C++ files making up this project.

Build instructions

Assuming you have 'cmake' and 'make' already:

  1. Clone this repo.
  2. Make a build directory: mkdir build && cd build
  3. Compile: cmake .. && make
  4. Run it: ./ExtendedKF

Results

In two different simulated runs, my Extended Kalman Filter produces the below results. The x-position is shown as 'px', y-position as 'py', velocity in the x-direction is 'vx', while velocity in the y-direction is 'vy'. Residual error is calculated by mean squared error (MSE).

Test Kalman Filter

Input MSE
px 0.0973
py 0.0855
vx 0.4512
vy 0.4399

alt text

About

No description, website, or topics provided.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages