In this project MCL
algorithm can be observed step by step through generated images.
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
Also there are some test cases that cam be run to ensure that each section in the project can be evaluted alone.
- cmake >= 2.8
- All OSes: click here for installation instructions
- make >= 4.1 (Linux, Mac), 3.81 (Windows)
- Linux: make is installed by default on most Linux distros
- Mac: install Xcode command line tools to get make
- Windows: Click here for installation instructions
- gcc/g++ >= 5.4
- Linux: gcc / g++ is installed by default on most Linux distros
- Mac: same deal as make - install Xcode command line tools
- Windows: recommend using MinGW
- Matplot++ >= (check requirements in the repo)
- For all platform and OS Click here for installation instructions
- Clone this repo.
- Make a build directory:
mkdir Debug && cd Debug
- Then source the workspace:
source devel/setup.bash
- Compile:
cmake .. && make
--> (Linuex OS) orcmake .. -G "MinGW Makefiles" & mingw32-make
(windows) - Optional this flage in cmake
USE_UNIT_TESTING
can be enable to allow testing using gtest.
After running the program, 50
images will be generated in the Images
folder.