Giter VIP home page Giter VIP logo

jogramop-planners's Introduction

Baseline planners

Installation

  1. Clone this repository into a directory
git clone [email protected]:Hartvi/jogramop-planners.git
  1. Clone PQP into the same directory
  • because in CMakeLists.txt there is: add_subdirectory(../PQP PQP_build)
  • or move it where you like and change the CMakeLists.txt as well
git clone [email protected]:GammaUNC/PQP.git
  1. Install the following libraries:
  1. Clone https://github.com/mrudorfer/jogramop-framework into this directory
cd jogramop-planners
git clone [email protected]:mrudorfer/jogramop-framework.git
  1. Then you can build it
mkdir build
cd build
cmake ..
make
  1. Run planners using one of the P{i}_{planner}.sh scripts. There you can set parameters as you need.
  2. Run ./show_options.sh to show all parameters options and their meanings

The code was tested on Ubuntu 20.04, with C++17.

Output format

The planner outputs three files (with a prefix specified by -target_prefix PREFIX

  • PREFIX.try - this the trajectory, a list of configurations on each line
  • PREFIX.vis - the file containing the Frame of the obstacles and sobot segments to visualize the path in 3D
  • PREFIX.txt - this file contains measurements. Success, distance to target, time, number of iterations, tree size. e.g. { "sr":1,"dtg":43.0474,"time":0.130713,"iters":118,"treesize": 120}

How to run experiments

  • NOTE: At the moment only available on the master branch (main branch coming soon). Run git checkout master to perform experiments.

For statistical evaluation of the planners, it's necessary to run the planners several time (on each scene or for each planner settings). The basic testing can be achieved in this way:

python3 runExperiments.py

The script will create all-cmds.sh, which contains command lines for each planner/scenario. The planners can be run either sequentially (i.e., running sh all-cmds.sh), or by parallel

parallel < all-cmds.sh

After experiments finish, the resuls are in the results/ directory. Basic processing (drawing success rate curves into png) can be realized by>

python3 makeSucessRate

jogramop-planners's People

Contributors

hartvi avatar poutnik12 avatar

Stargazers

Martin Rudorfer 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.