Skip to main content

Omega-Prime: Data Model, Data Format and Python Library for Handling Ground Truth Traffic Data

Project description



[!IMPORTANT]
The data model and specification are not finalized and are still under discussion. See this repository as a proof of concept.

Omega-Prime: Data Model, Data Format and Python Library for Handling Ground Truth Traffic Data

Data Model, Format and Python Library for ground truth data containing information on dynamic objects, map and environmental factors optimized for representing urban traffic. The data model and format heavily utilze ASAM OpenDRIVE and ASAM Open-Simulation-Interface GroundTruth messages. omega-prime sets requirements on presence and quality of ASAM OSI GroundTruth messages and ASAM OpenDRIVE files and defines a file format the exchange and storage of such data.

Omega-Prime is the successor of the OMEGAFormat. It has the benefit that its definition is directly based on the established standards ASAM OSI and ASAM OpenDRIVE and carries over the data quality requirements and the data tooling from OMEGAFormat. Therefore, it should be easier to incorporate omega-prime into existing workflows and tooling.

To learn more about the example data read example_files/README.md. Example data was taken and created from esmini.

Python library features

  • Creation of omega-prime files from
    • ASAM OSI GroundTruth trace (e.g., output of esmini)
    • Table of moving object data (e.g., csv data)
    • ASAM OpenDRIVE map
  • Plotting
  • Validation
  • Interpolation
  • CLI and python functions to access features

For a detailed introduction look at tutorial.ipynb.

Installation

pip install omega-prime

Usage

A detailed introduction to the features and usage can be found in tutorial.ipynb

Create an omega-prime file from an OSI GroundTruth message trace and an OpenDRIVE map:

import omega_prime

r = omega_prime.Recording.from_file('example_files/pedestrian.osi', xodr_path='example_files/fabriksgatan.xodr')
r.to_mcap('example.mcap')

Read and plot an omega-prime file:

r = omega_prime.Recording.from_file('example.mcap')
ax = r.plot()

File Format

Based on MCAP, ASAM OSI and ASAM OpenDRIVE the ASAM OSI GroundTruth messages and ASAM OpenDRIVE map are packaged as shown in the following figure.

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

omega_prime-0.1.3.tar.gz (48.8 kB view details)

Uploaded Source

Built Distribution

If you're not sure about the file name format, learn more about wheel file names.

omega_prime-0.1.3-py3-none-any.whl (58.4 kB view details)

Uploaded Python 3

File details

Details for the file omega_prime-0.1.3.tar.gz.

File metadata

  • Download URL: omega_prime-0.1.3.tar.gz
  • Upload date:
  • Size: 48.8 kB
  • Tags: Source
  • Uploaded using Trusted Publishing? No
  • Uploaded via: uv/0.5.0

File hashes

Hashes for omega_prime-0.1.3.tar.gz
Algorithm Hash digest
SHA256 7600dc3bd50d3877b2ee000e1006daca4137007fc43cc8e0223d7a323e7a2b3d
MD5 353df85b0dd86600f26a7877f9f97f53
BLAKE2b-256 241daf03445c21a56a6d4a9b500d63b66213f43cd3723fcd83086075136043c6

See more details on using hashes here.

File details

Details for the file omega_prime-0.1.3-py3-none-any.whl.

File metadata

File hashes

Hashes for omega_prime-0.1.3-py3-none-any.whl
Algorithm Hash digest
SHA256 7f6f2cb943b7d29d96635e63b4d08a8942c428796d8f667f59908272a5d4d1d2
MD5 9fbf4680afa73c9af1b67b2d3cc6e0d3
BLAKE2b-256 4a59aa27ac26b879f7d4f5aba55dcd6f74427536f0473e3f79d8b505b0db4794

See more details on using hashes here.

Supported by

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