piliwilliam0306 / RoboND-MCL-Lab

Monte Carlo Localization Algorithm C++ LAB

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

Udacity - Robotics NanoDegree Program

RoboND-MCL-Lab

You will be able to observe the MCL in action through the generated images.

Editing the Program

Enter the code in the designated section:

//####   DON'T MODIFY ANYTHING ABOVE HERE! ENTER CODE BELOW ####
		
//TODO: Graph the position of the robot and the particles at each step 

Compiling the Program

$ cd /home/workspace/
$ git clone https://github.com/udacity/RoboND-MCL-Lab
$ cd RoboND-MCL-Lab/
$ rm -rf Images/*
$ g++ main.cpp -o app -std=c++11 -I/usr/include/python2.7 -lpython2.7

Running the Program

Before you run the program, make sure the Images folder is empty!

$ ./app

Wait for the program to iterate 50 times.

Generated Images

After running the program, 50 images will be generated in the Images folder.

Step0

alt text

Step49

alt text

About

Monte Carlo Localization Algorithm C++ LAB

License:MIT License


Languages

Language:C++ 100.0%