Unscented Kalman filter using LiDAR and Radar feed.
This project is part of Udacity's Self-Driving Car Nanodegree program. An Unscented Kalman Filter (UKF) has been implemented in this project, where LiDAR and Radar measurements are fused to predict the position and velocity of a simulated car. Constant Turn Rate and Velocity Magnitude model is used for the state-vector, which contains 2-D position coordinates, velocity, yaw-angle and yaw-rate of the observed object as its components.
A simulator provided by Udacity is used to generate and visualise measurements and motion of a car. More information on installation and usage of the simulator with the executable can be found in the seed-project setup by Udacity here.
- CMake >= 3.5
- Make >= 4.1
- Eigen 3.3.5
- gcc/g++ >= 4.1
- Create a build directory in the parent directory
mkdir build
- Run CMake and make in the build/ directory
cd build; cmake ../; make
- Launch the simulator
- Run the UKF executable
./UnscentedKF
- For the given sensor measurements provided by the simulator, RMSE errors in the prediction of the car's state (position and velocity) were observed as follows:
Dataset Index | RMSE Position x | RMSE Position y | RMSE Velocity x | RMSE Velocity y |
---|---|---|---|---|
1 | 0.0693 | 0.0835 | 0.3336 | 0.238 |
2 | 0.0685 | 0.0693 | 0.5846 | 0.2473 |