Skip to main content

CommonRoad Helper Functions

Installation as package

Install this package with the following command:

pip install commonroad-helper-functions

CommonRoad Scenarios

In order to test the provided functions, download the scenarios by cloning the commonroad-scenarios repository:

git clone https://gitlab.lrz.de/tum-cps/commonroad-scenarios.git

Make sure to place the folder on the same directory level as this repository:

|
|-- commonroad_helper_functions (This repository)
|-- commonroad_scenarios
|

Functionalities

Sensor Occlusion Model

As part of this repository a sensor model is implemented. Based on the position of an ego vehicle, the visible area is determined and all dynamic objects within this area are returned. Occlusions by dynamic objects can be taken into account, as well as by the road geometry. The two examples show the visible area in green. In contrast to the left, the right video uses a wall buffer of 5m. This means that we assume a buffer of 5m around the lane geometry that can be seen through.

A dynamic objects is considered as visible as soon as any part of it can be physically seen from the ego position.

Sensor model without wall buffer             Sensor model with 5m wall buffer

Deployment

  1. Import sensor model function

from commonroad_helper_functions.sensor_model import get_visible_objects

  1. Call function

visible_object_ids, visible_area = get_visible_objects(scenario, time_step, ego_pos)

Optional Arguments
  • sensor_radius: Float number that defines the sensor radius in meter
  • occlusion: True if occlusions by dynamic objects should be considered
  • wall_buffer: Float number that defines the wall buffer in meter (see example above)

Metadata

Release files for commonroad-helper-functions 1.0.0

For a detailed explanation of source distributions (sdists) and built distributions (wheels), please see the package formats documentation.

Source distribution (sdist)

Source distribution for commonroad-helper-functions 1.0.0
File Size Uploaded Provenance
commonroad_helper_functions-1.0.0.tar.gz 18.5 kB Without provenance Details

Built distribution (wheel)

Table of built distributions (wheels) for commonroad-helper-functions 1.0.0
File Interpreter ABI Platform
commonroad_helper_functions-1.0.0-py2-none-any.whl Python 2 none any Details

Total release size: 43.6 kB

Release files / commonroad_helper_functions-1.0.0.tar.gz

Download URL commonroad_helper_functions-1.0.0.tar.gz
Size 18.5 kB
Tags Source
SHA-256 checksum
How to use checksums
f633b5590795379882095647e1e37f43c88d78f8cf292e717a8e7888030a595d
BLAKE2b-256 checksum
How to use checksums
6f1e835c7e5e23cdfc31fc847243c98d6bafc76e43520c4a309546a9fe29174b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.1.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/2.7.18

Release files / commonroad_helper_functions-1.0.0-py2-none-any.whl

Download URL commonroad_helper_functions-1.0.0-py2-none-any.whl
Size 25.1 kB
Tags Python 2
SHA-256 checksum
How to use checksums
09addc99632b2a06f3f9bcbdba52e3e7f1af134c5e8d77dab6699352c096df2b
BLAKE2b-256 checksum
How to use checksums
a9fa85e4d6e3323e288a996390b0cd944dbe00ec803f8a3697da239b0afc2f9b
Upload date
Uploaded using Trusted Publishing?
What is trusted publishing?
No
Uploaded via twine/1.15.0 pkginfo/1.5.0.1 requests/2.23.0 setuptools/44.1.0 requests-toolbelt/0.9.1 tqdm/4.46.0 CPython/2.7.18

Security for commonroad-helper-functions 1.0.0

Provenance

Provenance describes where a file came from. On PyPI, provenance is shared via attestations, which provide a verifiable record of the build or publishing details. View details, limitations and caveats.

No provenance found

None of the files in this release were uploaded with provenance metadata.

A note on package security

PyPI is a repository for distributing packages, not a service for auditing them. While third-party security researchers and our staff do their best to detect and remove malicious packages, PyPI cannot guarantee the quality, security or suitability of any given package.

To learn more about protecting yourself from malicious actors, visit our package security documentation.

Release history Release notifications | RSS feed

This release

1.0.0 This release

2 release files No provenance

Anthropic, PBC Visionary sponsor Bloomberg Visionary sponsor Hudson River Trading Visionary sponsor Meta Visionary sponsor NVIDIA Visionary sponsor Microsoft Sustainability sponsor Depot Continuous Integration AWS Cloud computing and Security Sponsor Datadog Monitoring Fastly CDN Google Download Analytics Sentry Error logging StatusPage Status page