Events File
Event files are used to import in Qinertia time event markers. They are used to time stamp, for example, a camera shutter event or for Lidar data synchronization.
ASCII Events Format
This is the easiest way to input events is using a CSV like text file format.
The file format is composed of an optional header followed by events markers stored line by line. If Qinertia doesn't find the header, the default configuration values are used. The file can use either Windows, Unix or Linux line ending conventions and should use UTF-8 encoding.
ASCII header
The header is used to configure how Qinertia should parse and import the file. The header always starts with the $qevent
magic keyword to identify it. Then each parameter can be set using a succession of <param>:<value>
pairs stored line by line.
If there is no header or the parameter is not present in the file, Qinertia will use the default value that is indicated in bold.
Param | Optional | Description |
---|---|---|
$version | Match ASCII file format version, should be set to 1 | |
$timeSource | Events time stamp format:
Default value is | |
$gpsWeekNumber | GPS week number to use in case If |
ASCII data
The ASCII events data part is just a succession of events stored line per line. Each column field is separated by a tabulation '\t'
or semicolon ';'
character.
Field | Type | Unit | Optional | Description |
---|---|---|---|---|
timestamp | - | - | The event time stamp expressed in the format specified by the $time_source header field. | |
id | string | - | Event name/id |
Example
The example below shows a few events with the file header: