Giter Site home page Giter Site logo

clarkli86 / carnd-unscented-kalman-filter-project Goto Github PK

View Code? Open in Web Editor NEW

This project forked from udacity/carnd-unscented-kalman-filter-project

0.0 2.0 0.0 1.08 MB

Self-Driving Car Nanodegree Program Starter Code for the Unscented Kalman Filter Project

License: MIT License

CMake 0.22% Shell 0.04% C++ 98.43% C 1.21% Python 0.10%

carnd-unscented-kalman-filter-project's Introduction

Unscented Kalman Filter Project Starter Code

Self-Driving Car Engineer Nanodegree Program

In this project utilize an Unscented Kalman Filter to estimate the state of a moving object of interest with noisy lidar and radar measurements. Passing the project requires obtaining RMSE values that are lower that the tolerance outlined in the project rubric.

How to build and run the project

For how to build and run the project, please refer to the readme at https://github.com/udacity/CarND-Unscented-Kalman-Filter-Project/blob/master/README.md

Final Result

The final result is better than the result obtained with EKF (https://github.com/clarkli86/CarND-Extended-Kalman-Filter-Project). RMSE metrics especially vx and vy are much lower. This is because Unscented Kalman Filter tends to work better with non-linear transformations.

Parameter Tuning and NIS Analysis

std_a and std_yawdd had to be turned to meet the requirements in the rubic (https://review.udacity.com/#!/projects/284/view). The default values (30 and 30) seem to keep the consistency in UKF (Unscented Kalman Filter) but does not acquire the required performance.

After looking at the statistics of simulation data, I decided to apply noises that are close to the standard deviation of longitudinal acceleration and yaw acceleration.

The final chosen parameters at listed in the following table:

Parameter Value Note
std_a 0.285 stdev * 4
std_yawdd 0.391 stdev * 4

When these parameters were small, it was observed that RMSE values were out of spec, and the population of NIS samples greater than threshold is more than 5%. The NIS output suggests that the filter has underestimated the uncertainty, thus the noise covariances need to be increased.

The final chosen parameters demonstrats a resonable NIS plot.

carnd-unscented-kalman-filter-project's People

Contributors

andrewpaster avatar anner-dejong avatar atinfinity avatar awbrown90 avatar baumanab avatar cameronwp avatar clarkli86 avatar danziger avatar domluna avatar mvirgo avatar swwelch avatar

Watchers

 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.