Skip to main content

CommonRoad Reactive Planner: Sampling-based Frenet Planner

Project description

Reactive Planner

This project generates solutions to trajectory planning problems given in the CommonRoad scenario format. The trajectories are generated using the sampling-based approach in [1][2]. This approach plans motions by sampling a discrete set of trajectories, represented as quintic polynomials in a Frenet frame and selecting an optimal trajectory according to a given cost function.

reactive-planner

Getting Started

These instructions should help you to install the trajectory planner and use it for development and testing purposes.

To install the package from PyPi, please run:

pip install commonroad-reactive-planner

Requirements

The software is written in Python 3.8 and tested on Ubuntu 18.04-22.04. The required python dependencies are listed in pyproject.toml.

For the python installation, we suggest the usage of Anaconda.

For the development IDE we suggest PyCharm

Installation from Source

  1. Clone this repository & create a new conda environment, e.g., conda create -n commonroad-py38 python=3.8

  2. Go to cloned root directory and install the package:

    • Install the package via poetry: poetry install
    • Install the package via pip: pip install .

How to run

Main example script run_planner.py:

The example script shows how to run the planner on an exemplary CommonRoad scenario with the following steps:

  • creating a planner configuration
  • instantiating the reactive planner
  • running the planner in a cyclic replanning loop with a fixed replanning fequency

In addition we also provide an interactive Jupyter notebook tutorial in the tutorial/ folder.

Literature

[1] Werling M., et al. Optimal trajectory generation for dynamic street scenarios in a frenet frame. In: IEEE International Conference on Robotics and Automation, Anchorage, Alaska, 987–993.

[2] Werling M., et al. Optimal trajectories for time-critical street scenarios using discretized terminal manifolds In: The International Journal of Robotics Research, 2012

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

commonroad_reactive_planner-2024.1.tar.gz (38.5 kB view details)

Uploaded Source

Built Distribution

File details

Details for the file commonroad_reactive_planner-2024.1.tar.gz.

File metadata

  • Download URL: commonroad_reactive_planner-2024.1.tar.gz
  • Upload date:
  • Size: 38.5 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: poetry/1.8.2 CPython/3.10.14 Linux/5.4.0-172-generic

File hashes

Hashes for commonroad_reactive_planner-2024.1.tar.gz
Algorithm Hash digest
SHA256 6bd9568c9fbeb26d4096a25855c164fd8653eb9a9aca28dbe9f2983489c473e8
MD5 4d6d9cfe5a21ade355b469c23e03da84
BLAKE2b-256 657d11caf8fc37758c2030e975f362fa50780fecd2169b73304fe26ccd0a9cf9

See more details on using hashes here.

File details

Details for the file commonroad_reactive_planner-2024.1-py3-none-any.whl.

File metadata

File hashes

Hashes for commonroad_reactive_planner-2024.1-py3-none-any.whl
Algorithm Hash digest
SHA256 3daa3704025ba324b9344a8a129533d9d71346daac4afafb31adcd8bb5c90646
MD5 752dc334e3f8255b85223348e72fd1ec
BLAKE2b-256 4784ad794caaf4c1b5e90caf94e393357b0c149bebf0f8defc9a260e2c30ebd6

See more details on using hashes here.

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