Skip to content

KibaekJeong/SelfDrivingCar---Kidnapped-Vehicle-Particle-Filter

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

6 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

Kidnapped Vehicle Project


Building Particle Filter

The goals / steps of this project are the following:

  • Building Particle Filter using C++
  • Estimate the location (GPS position) of a moving car using particle filter
  • Localize vehicle position and yaw within the specified error value

Project Introduction

A vehicle 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. Given GPS estimate of location, new location based on velocity, yaw rate of the vehicle, observation and locations of landmarks, particle filter will try to find where actual vehicle is located at. Particle filter weights to places where vehicle is most likely to be. Afterwards, it re-samples based on likelihood of a particle is where the vehicle is located at, and increases accuracy to localize the vehicle.

Particle filter system overview

Here is the overview of the system alt text

Running the Code

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

First, run following three commands from the command line

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

Then turn on the simulator, which will connect automatically and run the simulation.

Tips for setting up your environment can be found here

Result

Here is the output of the simulation. Following particle filter used 50 particles.

alt text

About

No description, website, or topics provided.

Resources

License

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published