GithubHelp home page GithubHelp logo

megayeye / unscented-kalman-filter Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nikolasent/unscented-kalman-filter

0.0 2.0 0.0 1009 KB

Udacity Self-Driving Car Engineer Nanodegree. Project: Unscented Kalman Filters

CMake 0.24% C++ 98.37% C 1.39%

unscented-kalman-filter's Introduction

Unscented Kalman Filter

This Project is the seventh task (Project 2 of Term 2) of the Udacity Self-Driving Car Nanodegree program. The main goal of the project is to apply Unscented Kalman Filter to fuse data from LIDAR and Radar sensors of a self driving car using C++.

The project was created with the Udacity Starter Code.


Content of this repo

  • scr a directory with the project code:
    • main.cpp - reads in data, calls a function to run the Kalman filter, calls a function to calculate RMSE
    • ukf.cpp - the UKF filter itself, defines the predict function, the update function for lidar, and the update function for radar
    • tools.cpp - a function to calculate RMSE
  • data a directory with two input files, provided by Udacity
  • results a directory with output files

Results

  1. Input file: sample-laser-radar-measurement-data-1.txt input 1 results

RMSE = [0.0758215, 0.0842188, 0.632344, 0.580668]

Threshold: RMSE <= [0.09, 0.09, 0.65, 0.65]

  1. Input file: sample-laser-radar-measurement-data-2.txt input 2 results

RMSE = [0.194559 0.189894 0.518945 0.507547]

Threshold: RMSE <= [0.20, 0.20, 0.55, 0.55]

Dependencies

  • cmake >= v3.5
  • make >= v4.1
  • gcc/g++ >= v5.4

How to run the code

Clone this repo and perform

mkdir build && cd build
cmake .. && make
./ExtendedKF ../data/sample-laser-radar-measurement-data-1.txt output1.txt > input1.log
./ExtendedKF ../data/sample-laser-radar-measurement-data-2.txt output2.txt > input2.log

unscented-kalman-filter's People

Contributors

nikolasent avatar

Watchers

James Cloos avatar FooBar 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.