Skip to content
This repository was archived by the owner on Jan 6, 2026. It is now read-only.

muntasirrahman/UnscentedKF

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

32 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unscented Kalman Filter Project Starter Code

Self-Driving Car Engineer Nanodegree Program

In this project utilize an Unscented Kalman Filter to estimate the state of a moving object of interest with noisy lidar and radar measurements.

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


Other Important Dependencies

Basic Build Instructions

  1. Clone this repo.
  2. Make a build directory: mkdir build && cd build
  3. Compile: cmake .. && make
  4. Run it: ./UnscentedKF Previous versions use i/o from text files. The current state uses i/o from the simulator.

Obtained RMSE Value

Result

Compiling

Your code should compile.

There is no change on CMakeList.txt.

Accuracy

For the new version of the project, there is now only one data set "obj_pose-laser-radar-synthetic-input.txt". px, py, vx, vy output coordinates must have an RMSE <= [.09, .10, .40, .30] when using the file: "obj_pose-laser-radar-synthetic-input.txt"

The obtained RMSE value are:

RMSE Value Passing Criteria
px 0.0693 0.09
py 0.0835 0.10
vx 0.3336 0.40
vy 0.2380 0.30

Following the Correct Algorithm

Your Sensor Fusion algorithm follows the general processing flow as taught in the preceding lessons.

The general processing are file in src/ukf.cpp:

  • method ProcessMeasurement at line 96
  • followed by method Prediction at Line 155,
  • followed by method UpdateRadar (Line 201) or method UpdateLidar (Line 273) depending on the measurement data type

Your Kalman Filter algorithm handles the first measurements appropriately.

The first measurement is handled at src/ukf.cpp method ProcessMeasurement from line 104 to line 131.

Your Kalman Filter algorithm first predicts then updates.

This is part method ProcessMeasurement update from line 137 to 145.

Your Kalman Filter can handle radar and lidar measurements.

Radar measurement data is handled at method UpdateRadar of src/ukf.cpp from line 201 to line 267.

Lidar measurement data is handled at method UpdateLidar of src/ukf.cpp from line 273 to line 365.

About

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

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

 
 
 

Contributors

Languages