作者:Cyber-Physical Systems Group, Technical University of Munich
作者邮箱:commonroad-i06@in.tum.de
首页:https://commonroad.in.tum.de/
文档:None
下载链接
CommonRoad
Numerical experiments for motion planning of road vehicles require numerous ingredients: vehicle dynamics, a road network, static obstacles, dynamic obstacles and their movement over time, goal regions, a cost function, etc. Providing a description of the numerical experiment precise enough to reproduce it might require several pages of information. Thus, only key aspects are typically described in scientific publications, making it impossible to reproduce results - yet, reproducibility is an important asset of good science.
Composable benchmarks for motion planning on roads (CommonRoad) are proposed so that numerical experiments are fully defined by a unique ID; all required information to reconstruct the experiment can be found on commonroad.in.tum.de _ . Each benchmark is composed of a vehicle model , a cost function , and a scenario _ (including goals and constraints). The scenarios are partly recorded from real traffic and partly hand-crafted to create dangerous situations. Solutions to the benchmarks can be uploaded and ranked on the CommonRoad Website. Learn more about the scenario specification here _.
CommonRoad_io
The CommonRoadio package provides methods to read, write, and visualize CommonRoad scenarios and planning problems. Furthermore, it can be used as a framework for implementing motion planning algorithms to solve CommonRoad Benchmarks and is the basis for other tools of the CommonRoad Framework. With CommonRoadio, those solutions can be written to xml-files for uploading them on commonroad.in.tum.de __.
CommonRoad_io 2020.3 is compatible with CommonRoad scenario in version 2020a and supports reading 2018b scenarios.
The software is written in Python 3.6 and tested on MacOs and Linux. The usage of the Anaconda_ Python distribution is strongly recommended.
.. _Anaconda: http://www.anaconda.com/download/#download
Documentation
The full documentation of the API and introducing examples can be found under commonroad.in.tum.de __.
For getting started, we recommend our tutorials __.
Additional Tools
Based on CommonRoad_io, we have developed a list of tools for implementing motion-planning algorithms:
Collision Checker __
CommonRoad-SUMO Interface __
OpenDRIVE to Lanelet converter __
Vehicle Models __
Requirements
The required dependencies for running CommonRoad_io are:
numpy>=1.13
shapely>=1.6.4
matplotlib>=2.2.2
lxml>=4.2.2
networkx>=2.2
Pillow>=7.0.0
Installation
CommonRoad_io can be installed with::
pip install commonroad-io
Alternatively, clone from our gitlab repository::
git clone https://gitlab.lrz.de/tum-cps/commonroad_io.git
and add the folder commonroad_io to your Python environment.
Changelog
Compared to version 2020.2, the following features were added:
Support of environment obstacles, e.g. buildings
Several new traffic signs
New ScenarioID class for the representation of benchmarks
New line marking types unknown and no_marking
The creation of lanelet assignments for obstacles is now optional.This decreases the loading time of scenarios. The lanelet assignment can still be performed manually after loading a scenario.
Function generate_object_id works now if no element has been added before and reserves ID if object will be added later
Various small bug fixes
A detailed overview about the changes in each version is provided in the Changelog.
Copy from pypi.org