Skip to main content

Benchmark suite for local planner in dynamic environments. Multiple planners can be compared on different kinematic chains in different environment. The suite is highly extendable for new planners, robots and environments.

Project description

Local Motion Planning Benchmark Suite

This repository is meant to allow quick comparison between different local motion planning algorithms. Running and postprocessing is available and we aim to offer a nice interface to implement a wrapper to your own motion planner.

Screenshots

Trajectory planar arm Trajectory point robot Simulation panda arm
Evaluation of series

Getting started

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

Pre-requisites

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

Simple

The following is a very simple example case containing a point mass robot and a PD planner.

Run an experiments:

Experiments should be added in separate folder in examples. 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

Or alternatively active your virtual python environment

Then you navigate there by

cd examples/point_robot

Then the experiment is run with the command line interface

runner -c setup/exp.yaml -p setup/pdplanner.yaml --render

Postprocessing:

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

cd examples/point_robot

The you can run the post processor with arguments as

post_process --exp path/to/experiment -k time2Goal pathLength --plot

Example trajectory

Advanced

To showcase the power of localPlannerBench we would also like to show you a more complex example, containing the 7-DoF frankaemika panda robot arm and a custom opensource acados based MPC planner.

Again make sure you are in your virtual python environment.

poetry shell

Install acados_template inside of the virtual environment if you haven't already.

Then you navigate to

cd examples/panda_arm

Then the experiment is run with the command line interface

runner -c setup/exp.yaml -p setup/acados_mpc.yaml --render

The you can run the post processor with arguments as

post_process --exp results --latest -k time2Goal pathLength --plot

Example trajectory

Project details


Download files

Download the file for your platform. If you're not sure which to choose, learn more about installing packages.

Source Distribution

plannerbenchmark-1.1.0.tar.gz (7.9 MB view hashes)

Uploaded Source

Built Distribution

plannerbenchmark-1.1.0-py3-none-any.whl (8.0 MB view hashes)

Uploaded Python 3

Supported by

AWS AWS Cloud computing and Security Sponsor Datadog Datadog Monitoring Fastly Fastly CDN Google Google Download Analytics Microsoft Microsoft PSF Sponsor Pingdom Pingdom Monitoring Sentry Sentry Error logging StatusPage StatusPage Status page