omega-prime
No description available
Usage
omega-prime [OPTIONS] COMMAND [ARGS]...
Arguments
No arguments available
Options
| Name | Description | Required | Default |
|---|---|---|---|
--install-completion |
Install completion for the current shell. | No | - |
--show-completion |
Show completion for the current shell, to copy it or customize the installation. | No | - |
--help |
Show this message and exit. | No | - |
Commands
| Name | Description |
|---|---|
from-lxd |
Convert datasets from LevelXData to... |
qualify |
Qualify Omega Prime dataframe. |
from-osi |
Convert from ASAM OSI GroundTruth trace. |
from-csv |
Convert from csv table according to schema |
validate |
Check an omega-prime file for... |
to-odr |
Extracts the ASAM OpenDRIVE file from the... |
to-parquet |
Converts MCAP or OSI omega-prime into a... |
visualize |
Visualize an omega-prime recording using... |
attach-odr |
Attach an ASAM OpenDRIVE (.xodr) map to an... |
materialize-projection |
Export the currently projected coordinates... |
Subcommands
omega-prime from-lxd
Convert datasets from LevelXData to omega-prime.
Usage
omega-prime from-lxd [OPTIONS] {dataset_path} {output_path}
Arguments
| Name | Description | Required |
|---|---|---|
dataset_path |
Root of the dataset | Yes |
output_path |
In which folder to write the created omega-prime files | Yes |
Options
| Name | Description | Required | Default |
|---|---|---|---|
--n-workers |
Set to -1 for n_cpus-1 workers. | No | 1 |
--save-as-parquet / --no-save-as-parquet |
If activated, omega-prime recordings will be stored as parquet files instead of mcap (use for large recordings). Will loose information in OSI that are not mandatory in omega-prime. | No | no-save-as-parquet |
--skip-existing / --no-skip-existing |
Only convert not yet converted files | No | no-skip-existing |
--write-log / --no-write-log |
Write a log file with the conversion process | No | no-write-log |
--help |
Show this message and exit. | No | - |
omega-prime qualify
Qualify Omega Prime dataframe.
Usage
omega-prime qualify [OPTIONS] {file_path}
Arguments
| Name | Description | Required |
|---|---|---|
file_path |
File name with Omega Prime data (.parquet, .osi or .mcap files). | Yes |
Options
| Name | Description | Required | Default |
|---|---|---|---|
-m, --metric |
Select one or more metrics. | No | class-completeness, object-type-coverage |
-t, --moving-object-type |
Select one or more expected moving object types. | No | pedestrian, vehicle |
-v, --vehicle-class |
Select one or more expected vehicle classes. | No | - |
-r, --vehicle-role |
Select one or more expected vehicle roles. | No | - |
-fps, --fps |
Expected frequency. | No | 30.0 |
--timing-tolerance |
Allowed relative RMS timing deviation per track, e.g. 0.05 for 5%. | No | 0.05 |
-c, --columns |
Select one or more column names. | No | total_nanos, idx, x, y, z, vel_x, vel_y, vel_z, acc_x, acc_y, acc_z, length, width, height, roll, pitch, yaw, type, role, subtype |
--expected-start <%Y-%m-%d|%Y-%m-%dT%H:%M:%S|%Y-%m-%d %H:%M:%S> |
Expected start time in ISO 8601 format for temporal coverage. | No | - |
--expected-end <%Y-%m-%d|%Y-%m-%dT%H:%M:%S|%Y-%m-%d %H:%M:%S> |
Expected end time in ISO 8601 format for temporal coverage. | No | - |
--expected-area-coord |
Expected target area coordinate as two floats. Repeat the option at least three times. | No | - |
--expected-area-source-crs |
CRS of expected target area coordinates, e.g. EPSG:4326. | No | - |
--threshold |
Optional threshold for coverage metrics. | No | - |
--help |
Show this message and exit. | No | - |
omega-prime from-osi
Convert from ASAM OSI GroundTruth trace.
Usage
omega-prime from-osi [OPTIONS] {input} {output}
Arguments
| Name | Description | Required |
|---|---|---|
input |
Path to ASAM OSI trace file (either .osi or .mcap) |
Yes |
output |
Desired filename of omega file | Yes |
Options
| Name | Description | Required | Default |
|---|---|---|---|
--map-path |
Path to ASAM OpenDRIVE xml to use as map | No | - |
--validate / --no-validate |
[default: validate] | No | - |
--help |
Show this message and exit. | No | - |
omega-prime from-csv
Convert from csv table according to schema
Usage
omega-prime from-csv [OPTIONS] {input} {output}
Arguments
| Name | Description | Required |
|---|---|---|
input |
Path to csv according to omega moving object csv schema | Yes |
output |
Desired filename of omega file | Yes |
Options
| Name | Description | Required | Default |
|---|---|---|---|
--odr |
Path to ASAM OpenDRIVE xml to use as map | No | - |
--validate / --no-validate |
[default: validate] | No | - |
--help |
Show this message and exit. | No | - |
omega-prime validate
Check an omega-prime file for specification conformance.
Usage
omega-prime validate [OPTIONS] {input}
Arguments
| Name | Description | Required |
|---|---|---|
input |
Path to omega file to validate | Yes |
Options
| Name | Description | Required | Default |
|---|---|---|---|
--help |
Show this message and exit. | No | - |
omega-prime to-odr
Extracts the ASAM OpenDRIVE file from the omega-prime file.
Usage
omega-prime to-odr [OPTIONS] {input} [output]
Arguments
| Name | Description | Required |
|---|---|---|
input |
Path to the omega-prime mcap file. | Yes |
output |
Where to store the ASAM OpenDRIVE file. If None or directory, stored filename will be used. | No |
Options
| Name | Description | Required | Default |
|---|---|---|---|
--help |
Show this message and exit. | No | - |
omega-prime to-parquet
Converts MCAP or OSI omega-prime into a parquet file (beneficial for faster loading of large data).
Usage
omega-prime to-parquet [OPTIONS] {input} [output]
Arguments
| Name | Description | Required |
|---|---|---|
input |
Path to the omega-prime mcap file. | Yes |
output |
Where to store the parquet file. If None or directory, stored filename will be used. | No |
Options
| Name | Description | Required | Default |
|---|---|---|---|
--help |
Show this message and exit. | No | - |
omega-prime visualize
Visualize an omega-prime recording using Altair. Opens interactive plot in browser.
Usage
omega-prime visualize [OPTIONS] {input}
Arguments
| Name | Description | Required |
|---|---|---|
input |
[required] | No |
Options
| Name | Description | Required | Default |
|---|---|---|---|
--height |
[default: 500] | No | - |
--width |
[default: 1600] | No | - |
--start-frame |
[default: 0] | No | - |
--end-frame |
[default: -1] | No | - |
--plot-map / --no-plot-map |
[default: plot-map] | No | - |
--use-vegafusion / --no-use-vegafusion |
[default: no-use-vegafusion] | No | - |
--help |
Show this message and exit. | No | - |
omega-prime attach-odr
Attach an ASAM OpenDRIVE (.xodr) map to an existing omega-prime recording and write a new file.
Usage
omega-prime attach-odr [OPTIONS] {input} {odr}
Arguments
| Name | Description | Required |
|---|---|---|
input |
Path to existing omega-prime file (.mcap or .parquet) | Yes |
odr |
Path to ASAM OpenDRIVE .xodr file | Yes |
Options
| Name | Description | Required | Default |
|---|---|---|---|
--output |
Output path (.mcap or .parquet). If not provided, uses '_with_odr. |
No | - |
--help |
Show this message and exit. | No | - |
omega-prime materialize-projection
Export the currently projected coordinates as canonical coordinates. Useful for viewers such as Lichtblick that do not apply OSI projection metadata.
Usage
omega-prime materialize-projection [OPTIONS] {input} {output}
Arguments
| Name | Description | Required |
|---|---|---|
input |
Path to an omega-prime MCAP or Parquet file | Yes |
output |
Output path (.mcap or .parquet); must differ from input | Yes |
Options
| Name | Description | Required | Default |
|---|---|---|---|
--flatten-map |
Flatten OpenDRIVE elevation and banking for viewers that use a flat object Z reference. | No | - |
--help |
Show this message and exit. | No | - |