GithubHelp home page GithubHelp logo

astik-2002 / simulator_lidar Goto Github PK

View Code? Open in Web Editor NEW

This project forked from ransml/simulator_lidar

0.0 0.0 0.0 5.51 MB

Simulate dynamic environments and LiDAR observations

Python 100.00%

simulator_lidar's Introduction

LIDAR Simulator for Dynamic Environments

This is a simple LIDAR simulator developed in python.

Requires:

  • python3
  • numpy library
  • matplotlib library (for images and videos)
  • yaml (for reading the environment we create inside the config folder)
  • moviepy library (for videos)

Define static and/or dynamic obstacles (e.g. walls, vehicles, etc.) in a yaml file inside the config folder:

  • Check toy1.yaml file to see how to define an environment. Area and obstacles should be defined in the yaml file.

Output:

  • carmen.log.gfs or time_x_y_occopancy.csv, robot_pose.npz, all_data_i.npz, frame_i.png, movie.gif/mp4

v1 released v2 released - new addition: moving robot

Instructions: See video

  • Step 1: Specify the enviroment as a yaml file (see the config folder)
  • Step 2: Specify the lidar parameters such as distance, angle, etc, and file configurations at the bottom of run_simulation.py
  • Step 3: run run_simulation.py
  • Step 4: Draw the robot's trajectory by clicking on various locations on the gui (close to exit) or hard code the pose/s video
  • Output: robot's poses as a .npz file, .csv or carmen data file, all data for each time step as .npz, and images for each time step

Note: Output .csv file: column1=time, column2=longitude, column3=latitude, column4=occupied/free. This file is compatible with Bayesian Hilbert Maps.

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.