Skip to content

maggieliuzzi/unscented_kalman_filter_lidar_radar

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

11 Commits
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Unscented Kalman Filter for LiDAR and Radar Fusion

Implementing an Unscented Kalman Filter to estimate the state of multiple cars on a highway using noisy LiDAR and radar measurements, obtaining RMSE values that are lower than predefined tolerance threshold.

Extensions:

Building and running

  1. Clone this repo
  2. cd unscented_kalman_filter_lidar_radar
  3. mkdir build
  4. cd build
  5. cmake ..
  6. make
  7. ./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

Generating Additional Data

If you'd like to generate your own radar and lidar modify the code in highway.h to alter the cars. Also check out tools.cpp to change how measurements are taken, for instance lidar markers could be the (x,y) center of bounding boxes by scanning the PCD environment and performing clustering.

About

Unscented Kalman Filter for LiDAR and Radar Sensor Fusion.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published