Git Product home page Git Product logo

extendedkalmanfilter-p6's Introduction

Extended Kalman Filter Project Starter Code

Self-Driving Car Engineer Nanodegree Program

This project utilizes a kalman filter to estimate the state of a moving object of interest with noisy lidar and radar measurements.

Results

The ExtendedKalmanFilter program was run on both datasets. The results are below. Dataset 1 Dataset 2

Areas for improvement

  • The helper functions for the program were tested extensively, the program itself could use more unit testing.

Protocol

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

One change was made to CMakeLists.txt to support spdlog, a C++ logging library that eliminated the need for print statement debugging.

Tests

The code was developed using the Catch testing framework.

  • Bash script was written to run all of the tests. It completes the following steps.

  • First compile tests_main.cpp in order to not have to recompile

$ g++ --std=c++11 tests_main.cpp -c
  • Next compile tests
$ g++ --std=c++11 tests_main.o test_rmse.cpp -o test_rmse
$ ./test_rmse -r compact
  • If changes are made to the test file, tests_main does not need to be recompiled

extendedkalmanfilter-p6's People

Contributors

sketchc89 avatar cameronwp avatar deniskrut avatar awbrown90 avatar andrewpaster avatar baumanab avatar ianboyanzhang avatar mleonardallen avatar alexxucui avatar swwelch avatar domluna avatar brandonhe avatar vatavua avatar amintahmasbi avatar dwillmer avatar kylesf avatar tsekityam avatar wolfgangsteiner avatar

Stargazers

harbin9er avatar

Watchers

James Cloos avatar  avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.