Giter Site home page Giter Site logo

askmuhsin / kidnapped-vehicle-project Goto Github PK

View Code? Open in Web Editor NEW
0.0 3.0 0.0 194 KB

Implementation of a particle filter to track the position of a car in real time.

CMake 0.13% Shell 0.34% C++ 99.53%
particle-filter gps self-driving-car artificial-intelligence

kidnapped-vehicle-project's Introduction

Particle Filter

This project implements a particle filter to track a car in real time with high accuracy using noisy sensor data. Particle filters are powerful sampling-based learning algorithms, they belong to the Bayesian family of filters. They are easy to implement(compared to some other loclization filters), continous, and capable of having multimodal beliefs. To know more about the applications of particle filter in robotics visit this link.


Project Introduction

Your robot has been kidnapped and transported to a new location! Luckily it has a map of this location, a (noisy) GPS estimate of its initial location, and lots of (noisy) sensor and control data.

In this project you will implement a 2 dimensional particle filter in C++. Your particle filter will be given a map and some initial localization information (analogous to what a GPS would provide). At each time step your filter will also get observation and control data.


Running the Code

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

This repository includes two files that can be used to set up and intall 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.

Once the install for uWebSocketIO is complete, the main program can be built and ran by doing the following from the project top directory.

  1. ./clean.sh
  2. ./build.sh
  3. ./run.sh

Result

The scripts builds and runs the program without any errors. Note: The source file particle_filter.cpp contains the core algorithms. The number of particles can be changed there.

With Particles = 100 Errors : x - 0.117, y - 0.109, yaw - 0.004

With Particles = 1000 Errors : x - 0.109, y - 0.099, yaw - 0.003

filter_image

kidnapped-vehicle-project's People

Contributors

askmuhsin avatar

Watchers

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