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
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
Filter files by name, interpreter, ABI, and platform.
If you're not sure about the file name format, learn more about wheel file names.
Copy a direct link to the current filters
File details
Details for the file omega_prime-0.1.2.tar.gz.
File metadata
- Download URL: omega_prime-0.1.2.tar.gz
- Upload date:
- Size: 48.5 kB
- Tags: Source
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
b09469b781894e6633905f4c329b913da3cc6d911f475191869329e345a469f6
|
|
| MD5 |
a04793f1220d8cda7dd58ca8a6b311f4
|
|
| BLAKE2b-256 |
830e09a4c1633e9d60d53e5d7bfc287543d1734502052104dc8a62e123b0198a
|
File details
Details for the file omega_prime-0.1.2-py3-none-any.whl.
File metadata
- Download URL: omega_prime-0.1.2-py3-none-any.whl
- Upload date:
- Size: 58.3 kB
- Tags: Python 3
- Uploaded using Trusted Publishing? No
- Uploaded via: uv/0.5.0
File hashes
| Algorithm | Hash digest | |
|---|---|---|
| SHA256 |
921ca29f003646555b8f44fd6f21c724a4f9727b15cfebca9eeed61d5b129128
|
|
| MD5 |
d617e52e46b1e6159cdcc8c51e696915
|
|
| BLAKE2b-256 |
d4daf49972d6269d0ab3f8dc831efeb5b97ec42eadad2aec57bd1687a776aa7f
|