Giter VIP home page Giter VIP logo

carnd-kidnapped-vehicle-project's Introduction

Localization via Particle Filter

Udacity Self-Driving Car Engineer Nanodegree Program

This project utilizes a particle filter to estimate the position of a moving object, using noisy measurements of surrounding landmarks. Maintaining low error values in X, Y, and heading is the main focus of this project, as any object tracking software would be useless in the real-world if it is not accurate.

Basic Build Instructions

Running the code requires connecting to the Udacity CarND Term 2 Simulator, which can be downloaded here.

This repository includes two files that can be used to set up and install 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. Please see the uWebSocketIO Starter Guide page in the classroom within the EKF Project lesson for the required version and installation scripts.

Once the install for uWebSocketIO is complete, the main program can be built and run by executing in the Linux bash:

$ git clone https://github.com/briansfma/CarND-Kidnapped-Vehicle-Project
$ cd CarND-Kidnapped-Vehicle-Project
$ mkdir build
$ cd build
$ cmake ..
$ make $*
$ ./particle_filter

Running the Program

If it is not running already, launch the project.

$ cd CarND-Kidnapped-Vehicle-Project
$ cd build
$ ./particle_filter

When particle_filter has initialized successfully, it will output to terminal

Listening to port 4567

Launch the simulator term2_sim.exe. Select "Project 3: Kidnapped Vehicle" from the menu. Upon successful connection to the simulator, particle_filter will output to terminal

Connected!!!

Click the "Start" button and the simulator will run. particle_filter will begin outputting highest and average weights (representing likelihoods of particle guesses being correct) to the terminal. The error values will be outputted to the simulation screen itself under "x y yaw". Green lines represent measurements from the car in reality, wheras blue lines represent those measurements as projected from the current belief of the car's position.

alt text

For reference, the simulator is self-grading, so upon completion of the run sequence, the simulator should have a message like:

alt text

Other Important Dependencies

carnd-kidnapped-vehicle-project's People

Contributors

andyatudacity avatar awbrown90 avatar baumanab avatar mvirgo avatar danziger avatar citlaligm avatar jdleesmiller avatar techmarco avatar fourplusone avatar swwelch avatar hcsun avatar tsekityam avatar briansfma 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.