Skip to main content

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

Data Model, Format and Python Library for ground truth road traffic data containing information on dynamic objects, map and environmental factors optimized for representing urban traffic. The repository contains:

Data Model and Specification

see Data Model & Specification

  • 🌍 Data Model: What signals exist and how these are defined.
  • 🧾 Data Format Specification: How to exchange and store those signals.

Python Library

The data model and format utilize 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 for the exchange and storage of these.

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.

Installation

pip install omega-prime

Usage

A detailed introduction to the features and usage can be found in ./docs/notebooks/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", map_path="example_files/fabriksgatan.xodr")
r.to_mcap("example.mcap")

If you want to create an OSI trace on your own in python, check out the python library betterosi.

Read and plot an omega-prime file:

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

Convert Existing Datasets to omega-prime

LevelXData

You can convert data from LevelXData to omega-prime. Under the hood lxd-io is used to perform the conversion.

from omega_prime.converters import LxdConverter

converter = LxdConverter("./exiD-dataset-v2.0", "./exiD-as-omega-prime", n_workers=4)
# convert the dataset and store the omega-prime files in the new directory
converter.convert()
# access Recordings directly without storing them
iterator_of_recordings = converter.yield_recordings()

or with omega-prime from-lxd ./exiD-dataset-v2.0 ./exiD-as-omega-prime --n-workers=4.

Tested with exiD-v2.0, inD-v1.1, highD-v1.0 (highD does not provide an ASAM OpenDRIVE map).

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.

Acknowledgements

This package is developed as part of the SYNERGIES project.

Funded by the European Union. Views and opinions expressed are however those of the author(s) only and do not necessarily reflect those of the European Union or European Climate, Infrastructure and Environment Executive Agency (CINEA). Neither the European Union nor the granting authority can be held responsible for them.

Notice

[!IMPORTANT] The project is open-sourced and maintained by the Institute for Automotive Engineering (ika) at RWTH Aachen University. We cover a wide variety of research topics within our Vehicle Intelligence & Automated Driving domain. If you would like to learn more about how we can support your automated driving or robotics efforts, feel free to reach out to us! :email: opensource@ika.rwth-aachen.de

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.3.6.tar.gz (8.3 MB 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.3.6-py3-none-any.whl (91.8 kB view details)

Uploaded Python 3

File details

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

File metadata

  • Download URL: omega_prime-0.3.6.tar.gz
  • Upload date:
  • Size: 8.3 MB
  • Tags: Source
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for omega_prime-0.3.6.tar.gz
Algorithm Hash digest
SHA256 be59586cc9802cde06651503d2728852cad71d1e94e3ce8d0fe842a243226b33
MD5 d2fb88d4314ec22cf069a7bd9a3111e8
BLAKE2b-256 4103a2a4879d581ceff2ff37e087810a30801ec2ca648974950d6a324eb0485c

See more details on using hashes here.

Provenance

The following attestation bundles were made for omega_prime-0.3.6.tar.gz:

Publisher: release.yml on ika-rwth-aachen/omega-prime

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

File details

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

File metadata

  • Download URL: omega_prime-0.3.6-py3-none-any.whl
  • Upload date:
  • Size: 91.8 kB
  • Tags: Python 3
  • Uploaded using Trusted Publishing? Yes
  • Uploaded via: twine/7.0.0 CPython/3.13.14

File hashes

Hashes for omega_prime-0.3.6-py3-none-any.whl
Algorithm Hash digest
SHA256 00aeea8cb212a9404145c2cf17b491e97e19680760c7c52d916d41ace1ed7120
MD5 3216313a907734250507e0a455479bc9
BLAKE2b-256 3855fd4f80f769daff0edb2638390a213e41040cba29af0edadee2af51d500d8

See more details on using hashes here.

Provenance

The following attestation bundles were made for omega_prime-0.3.6-py3-none-any.whl:

Publisher: release.yml on ika-rwth-aachen/omega-prime

Attestations: Values shown here reflect the state when the release was signed and may no longer be current.

Release history Release notifications | RSS feed

This release

0.3.6 This release

2 files

0.3.5

2 files

0.3.4

2 files

0.3.2

2 files

0.3.1

2 files

0.3.0

2 files

0.2.2

2 files

0.2.1

2 files

0.2.0

2 files

0.1.21

2 files

0.1.19

2 files

0.1.18

2 files

0.1.17

2 files

0.1.16

2 files

0.1.15

2 files

0.1.14

2 files

0.1.13

2 files

0.1.12

2 files

0.1.11

2 files

0.1.10

2 files

0.1.9

2 files

0.1.8

2 files

0.1.7

2 files

0.1.6

2 files

0.1.5

2 files

0.1.4

2 files

0.1.3

2 files

0.1.2

2 files

0.1.1

2 files

0.1.0

2 files

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