Skip to content

Latest commit

 

History

History
45 lines (33 loc) · 2.17 KB

File metadata and controls

45 lines (33 loc) · 2.17 KB

SFND_Unscented_Kalman_Filter

source code :- https://github.com/udacity/SFND_Unscented_Kalman_Filter

In this project I implemented an Unscented Kalman Filter to estimate the state of multiple cars on a highway using lidar and radar measurements. Used Root Mean Squared Error (RMSE) to verify the predictions made by Kalman Filter.

The main program can be built and ran by doing the following from the project top directory.

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

main.cpp is using highway.h to create a straight 3 lane highway environment with 3 traffic cars and the main ego car at the center. The viewer scene is centered around the ego car and the coordinate system is relative to the ego car as well. The ego car is green while the other traffic cars are blue. The traffic cars will be accelerating and altering their steering to change lanes. Each of the traffic car's has it's own UKF object generated for it, and will update each indidual one during every time step.

The red spheres above cars represent the (x,y) lidar detection and the purple lines show the radar measurements with the velocity magnitude along the detected angle. The Z axis is not taken into account for tracking, so you are only tracking along the X/Y axis.


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: ./ukf_highway