Skip to content

peterstratton/LidarOccupancyGridMapping

Folders and files

NameName
Last commit message
Last commit date

Latest commit

 

History

18 Commits
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Repository files navigation

LidarOccupancyGridMapping


Occupancy Grid Mapping simulation using lidar and odometry data and VTKPlotter for display.

Author: Peter Stratton

Emails: [email protected], [email protected]

Installation

First, install python executing this in a terminal:

sudo apt-get update
sudo apt-get install python

Next, install pip by running:

sudo apt install python3-pip

We want to use a virtual environment to isolate the required packages for the repo, so use this command to install venv, a package used to create and manage virtual environments:

pip install virtualenv

Next, run this command to start the virtual environement and install the dependancies:

./easy_install.sh

Run

To run the code, first run this command to activate the virtual environment that was installed:

source env/bin/activate

After that, execute this command to run the simulation:

python main.py

The program will first show a window with the robot and lidar scan from the first timestep. After clicking 'x' to close that initial window, the rest of the scans will render automatically.

When you're done running the code, run this command to deactivate the virtual environment:

deactivate

About

Occupancy Grid Mapping simulation using given lidar data.

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published