Skip to content
This repository was archived by the owner on Oct 6, 2024. It is now read-only.

ch3ck/MCL

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

7 Commits
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

MCL

Monte Carlo Localization Algorithm

Description

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

Build & Run

Make sure you have opencv installed locally

$ cd /home/workspace/
$ git clone https://github.com/Ch3ck/MCL.git
$ cd MCL/
$ rm -rf Images/*
$ g++ mcl.cpp -o mcl -std=c++11 -I/usr/include/python3.7 -lpython3.7 # or make
$ ./mcl

Wait for the program to iterate 50 times.

Errors

  1. "/usr/local/include/numpy/ndarrayobject.h:11:10: fatal error: 'Python.h' file not found #include <Python.h>"
Fix: export CFLAGS="-I /usr/local/lib/python3.7/site-packages/numpy/core/include $CFLAGS"
  1. fatal error: 'Python.h'
Fix: <Python/Python.h>

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

Topics

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published