Skip to content

chaitanyarajasekhar/CarND-Extended-Kalman-Filter-Project

Repository files navigation

Extended Kalman Filter Project Starter Code

EKF is built to track a bicycle using sensor fusion of Radar and Lidar measurements.

Here is the tracking output of the EKF. Tracking Root Mean Square Error is shown in the figure. (Blue, Red, Green are Radar, Lidar Measurements and EKF tracking respectively) alt text

Resources

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

This repository includes two files that can be used to set up and install uWebSocketIO for either Linux or Mac systems. For windows you can use either Docker, VMware, or even Windows 10 Bash on Ubuntu to install uWebSocketIO.

Set up the environment (uWebSocketIO included) by running ./install-ubuntu.sh or ./install-mac.sh in the respective terminal.

Here is the main protcol that main.cpp uses for uWebSocketIO in communicating with the simulator.

INPUT: values provided by the simulator to the c++ program

["sensor_measurement"] => the measurement that the simulator observed (either lidar or radar)

OUTPUT: values provided by the c++ program to the simulator

["estimate_x"] <= kalman filter estimated position x ["estimate_y"] <= kalman filter estimated position y ["rmse_x"] ["rmse_y"] ["rmse_vx"] ["rmse_vy"]

Other Important Dependencies

Basic Build Instructions

  1. Clone this repo.
  2. Make a build directory: mkdir build && cd build
  3. Compile: cmake .. && make
    • On windows, you may need to run: cmake .. -G "Unix Makefiles" && make
  4. Run it: ./ExtendedKF

Generating Additional Data

If you'd like to generate your own radar and lidar data, see the utilities repo for Matlab scripts that can generate additional data.

About

bicycle tracking using sensor fusion of lidar and radar measurements using ekf

Topics

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published