GithubHelp home page GithubHelp logo

lu-tju / glas Goto Github PK

View Code? Open in Web Editor NEW

This project forked from bpriviere/glas

0.0 0.0 0.0 22.77 MB

Shell 0.46% C++ 41.97% Python 38.70% C 6.20% MATLAB 9.94% Makefile 0.40% CMake 2.20% SWIG 0.14%

glas's Introduction

GLAS Instructions

The repository contains the code for "GLAS: Global-to-Local Safe Autonomy Synthesis for Multi-Robot Motion Planning with End-to-End Learning", Benjamin Riviere, Wolfgang Hoenig, Yisong Yue, and Soon-Jo Chung, to appear at IEEE Robotics and Automation Letters (RA-L), 2020. A pre-print of the paper is available at https://arxiv.org/pdf/2002.11807.pdf

Training Data Preparation

The data is available in a shared Box folder: https://caltech.box.com/s/doc8hszo55m4x0oyeo1ok2yxh1m2xq3z. The dataset is split into parts with 10000 example instances each. The content of the whole dataset was shuffled before splitting it into parts, i.e., for a smaller dataset it suffices to download only a subset of the datasets.

  1. Extract the data into the data subfolder. For example, if you download and extract training/doubleintegrator/part1.7z, you should have the file data/training/doubleintegrator/instances/map_8by8_obst06_agents004_ex000007.yaml.

  2. As verification step, visualize one of the examples:

python3 utils/plot_data.py data/training/doubleintegrator/instances/map_8by8_obst06_agents004_ex000007.yaml data/training/doubleintegrator/central/map_8by8_obst06_agents004_ex000007.npy

Alt text

Note that the example instance files are regular yaml files, containing a list of start locations, goal locations, and obstacles. The npy files are numpy matrices containing the sampled trajectory for each of the robots (see plot_data.py to understand the matrix layout).

Usage

NOTE: This section is still work in progress!

  1. Install the necessary dependencies with conda (in progress, for now, you have to do install necessary packages manually):
    conda env create --file environment.yml
    conda activate glas_env
  2. Train and evaluate single model examples (in ~/code):
    python examples/run_singleintegrator --il 
    python examples/run_singleintegrator
  3. Train, evaluate, and visualize batched model examples (in ~/results):
    python singleintegrator/exp1.py --train
    python singleintegrator/exp1.py --sim
    python singleintegrator/exp1.py --plot

glas's People

Contributors

bpriviere avatar whoenig 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.