8000 GitHub - casparvv/localPlannerBench: Local Planner Bench
[go: up one dir, main page]
More Web Proxy on the site http://driver.im/
Skip to content

casparvv/localPlannerBench

 
 

Repository files navigation


Getting started

This is the guide to quickly get going with the local motion planning benchmark suite.

Pre-requisites

  • Linux Ubuntu LTS >= 18.04
  • Python >3.6, < 3.10
  • pip3
  • gnuplot (sudo apt install gnuplot)
  • [Optional] poetry
  • [Optional] embotech forces pro for mpc

Installation

You first have to download the repository

git clone git@github.com:maxspahn/localPlannerBench.git

Then, you can install the package using pip as:

pip3 install .

Optional: Installation with poetry

If you want to use poetry, you have to install it first. See their webpage for instructions docs. Once poetry is installed, you can install the virtual environment with the following commands. Note that during the first installation poetry update takes up to 300 secs.

poetry update
poetry install

The virtual environment is entered by

poetry shell

Tutorial

The following is a very simple example case.

Run an experiments:

Experiments should be added in separate folder in experiments. One very simple example can be found in this folder. Note that you need to active your poetry shell if you have installed the package using poetry by

poetry shell

Then you navigate there by

cd experiments/example

Then the experiment is run with the command line interface

../../plannerbenchmark/exec/runner -c setup/exp.yaml -p pdplanner setup/planner.yaml --render

Postprocessing:

The experiments can be postprocessed using the provide executable. When using poetry, make sure you are in the virtual environment (poetry shell)

cd experiments/example

The you can run the post processor with arguments as

../../plannerbenchmark/exec/postProcessor --exp path/to/experiment -k time2Goal pathLength --plot --no-open

More detailed information about this example can be found in the long explaination of the example.

About

Local Planner Bench

Resources

Stars

Watchers

Forks

Releases

No releases published

Packages

No packages published

Languages

  • Python 85.0%
  • Gnuplot 13.0%
  • Shell 2.0%
0