Giter Site home page Giter Site logo

vikram216 / extended-kalman-filter-1 Goto Github PK

View Code? Open in Web Editor NEW

This project forked from nikolasent/extended-kalman-filter

0.0 2.0 0.0 1.2 MB

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

CMake 0.24% C++ 98.37% C 1.40%

extended-kalman-filter-1's Introduction

Extended Kalman Filter

This Project is the sixth task (Project 1 of Term 2) of the Udacity Self-Driving Car Nanodegree program. The main goal of the project is to apply Extended 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
    • FusionEKF.cpp - initializes the filter, calls the predict function, calls the update function
    • kalman_filter.cpp- defines the predict function, the update function for lidar, and the update function for radar
    • tools.cpp - a function to calculate RMSE and the Jacobian matrix
  • data a directory with two input files, provided by Udacity
  • results a directory with output and log files
  • Docs a directory with files formats description
  • task.md the task of the project by Udacity
  • extra a directory with detailed information used hardware and software (extra/additional_info.txt file) and screenshots of the final RMSE.

Result

input 1 results Accuracy - RMSE: [0.0651648, 0.0605379, 0.533212, 0.544193]

Threshold: RMSE <= [0.08, 0.08, 0.60, 0.60] input 2 results Accuracy - RMSE: [0.18566, 0.190271, 0.474522, 0.811142]

Threshold: RMSE <= [0.20, 0.20, .50, .85]

The results were visualized with Sensor Fusion utilities.

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

For details, see task.md

The resulted output files are supplied in the results directory.

extended-kalman-filter-1's People

Contributors

nikolasent 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.