Skip to content

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...
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...

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 INTEGER Set to -1 for n_cpus-1 workers. [default: 1] No -
--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. [default: no-save-as-parquet] No -
--skip-existing / --no-skip-existing Only convert not yet converted files [default: no-skip-existing] No -
--write-log / --no-write-log Write a log file with the conversion process [default: no-write-log] 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 FILE 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 FILE 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 INTEGER [default: 500] No -
--width INTEGER [default: 1600] No -
--start-frame INTEGER [default: 0] No -
--end-frame INTEGER [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 PATH Output path (.mcap or .parquet). If not provided, uses '_with_odr.' in the same directory. No -
--help Show this message and exit. No -