Git Product home page Git Product logo

lidaroccupancygridmapping's Introduction

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

lidaroccupancygridmapping's People

Contributors

peterstratton avatar

Stargazers

 avatar  avatar  avatar  avatar  avatar  avatar  avatar  avatar

Watchers

 avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.