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.
Getting Started
These instructions should help you to install the trajectory planner and use it for development and testing purposes.
To install the trajectory planner from PyPi, please run:
pip install commonroad-reactive-planner
Requirements
The software is developed and tested on recent versions of Linux. The required python dependencies are listed in requirements.txt
.
For the python installation, we suggest the usage of Anaconda.
For the development IDE we suggest PyCharm
Installation from Source
-
Clone this repository & create a new conda environment, e.g.,
conda create -n commonroad-py37 python=3.7
-
Install the package:
- Install the package via pip:
pip install .
- Or install the dependencies with
pip install -r requirements.txt
and add the root folder to the python path of your interpreter
- Install the package via pip:
How to run
Main example script run_planner.py
: The example script shows how to run the planner on an exemplary
CommonRoad scenario. Therein, the following steps are included:
- creating a planner configuration
- instantiating the reactive planner
- running the planner in planning cycles with a fixed re-planning frequency
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
Release history Release notifications | RSS feed
Download files
Download the file for your platform. If you're not sure which to choose, learn more about installing packages.
Source Distribution
Built Distribution
Hashes for commonroad-reactive-planner-2023.1.tar.gz
Algorithm | Hash digest | |
---|---|---|
SHA256 | e68f11299741fc1f2681d339e153c32c5d1aadff92a5925585f75f2f4e23e8de |
|
MD5 | 02a18788ea98803cf63e7a575fd1df78 |
|
BLAKE2b-256 | 87f414d200a0f04c199691b587e58623c96d3e494d847ba7ee3565c91744f6d8 |
Hashes for commonroad_reactive_planner-2023.1-py3-none-any.whl
Algorithm | Hash digest | |
---|---|---|
SHA256 | c7fe2dbf877338f4559aabaee0fbb813dc9bf813f2039d28a9d34e14aab8de78 |
|
MD5 | cb947558fc2ac26649f2f04db04b21ea |
|
BLAKE2b-256 | 9990cd54f2d934b7cf424c44c88b81d47ccecb8d8c0ad8103f2396e9d5d137a1 |