Code Monkey home page Code Monkey logo

si-rrt-star's Introduction

SI-RRT*

Overview

This repository includes a two-level approach for Multi-Robot Path Planning (MRPP) in continuous space, aiming to find conflict-free paths for individual robots while efficiently handling inter-robot conflicts at a higher level. At the low level, SI-RRT* employs a sampling-based planner that utilizes safe time intervals to navigate in continuous space without the need for discrete time steps, enabling the planning of collision-free trajectories for individual robots with fewer samples. At the high level, it can integrate with any conflict resolution method, with examples being Safe Interval Continuous space Prioritized Planning (SI-CPP) for improved scalability and Safe Interval Continuous space Conflict-Based Search (SI-CCBS) for higher-quality solutions.

Source Code

Requirement

sudo apt-get install g++ cmake libyaml-cpp-dev python3-matplotlib

Build

./compile.sh

Benchmark File Structure

  • The benchmark files are located in the benchmarks folder.
    • The benchmarks folder contains three subfolders: CircleEnv_10, CircleEnv_20, Free_0, RectEnv_10, and RectEnv_20.
    • Each subfolder contains the number of agents as a subfolder (e.g., 10, 15, 20, 25, 30, 40, 60, 80, 100).
    • Each agent subfolder contains 50 test instances.
  • The solution folder and data folder have the same structure as the benchmark folder.
    • To extract the solution and data, you must create a solution folder with the same structure as the benchmark.
    • e.g., solution/CircleEnv_10/agents60/ is the solution folder for the CircleEnv with 10 obstacle density and 60 agents.
    • e.g., data/CircleEnv_10/agents60/ is the data folder for the CircleEnv with 10 obstacle density and 60 agents.

Run example instances

# make sure your are in build folder
# -m is the name of the environment (Free, CircleEnv, RectEnv)
# -o is the obstacle density of the environment (0, 10, 20) (0 for Free) (10, 20 for RectEnv)
# -r is the number of agents (10, 15, 20, 25, 30, 40, 60, 80, 100)
# -t is the test number ([0-49])
# -a is the algorithm (pp, cbs)

# This command will run the SI-CPP algorithm on the CircleEnv with 10 obstacle density and 60 agents for the 0th instance.
./build/SI-RRTStar -m CircleEnv -o 10 -r 60 -t 0 -a pp

Visualize Results

We provide a python script to visualize the results. The agent is represented as a circle with the radius of the agent and moves along the path.

# make sure your are in build folder
# -m is the name of the environment (Free, CircleEnv, RectEnv)
# -o is the obstacle density of the environment (0, 10, 20) (0 for Free) (10, 20 for RectEnv)
# -r is the number of agents (10, 15, 20, 25, 30, 40, 60, 80, 100)
# -t is the test number ([0-49])

# This command will visualize the result of the 0th instance of the CircleEnv with 10 obstacle density and 60 agents.
python visualizer.py -m CircleEnv -o 10 -r 60 -t 0

si-rrt-star's People

Contributors

joonyeol-sim avatar

Stargazers

 avatar  avatar Joonkyung Kim  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.