2.2.6.4 Trace-file formatting script
The OSI repository contains a Python script for converting trace files from one format to another.
The formatting script is stored in open-simulation-interface/osi3trace/
.
osi2read.py
osi2read.py
converts trace files to human-readable .txth
trace files.
This script takes the following parameters:
--data
,-d
-
String containing the path to the file with serialized data.
--type
,-t
-
Optional string describing the message type used to serialize data.
'SensorView'
,'GroundTruth'
, or'SensorData'
are permitted values. The default value is'SensorView'
. --output
,-o
-
Optional string containing the name of the output file. The default value is
None
, in which case the output file name is set to the name of the input file, with the file extension being replaced by.txth
.
Related topics