Query Cosworth PDS, MoTeC LD, and Racelogic VBOX telemetry directly in DuckDB
Maintainer(s):
tobi
Installing and Loading
INSTALL motorsport_telemetry FROM community;
LOAD motorsport_telemetry;
Example
SELECT name, unit, frequency_hz, sample_count
FROM telemetry_metadata('run.ld')
WHERE sample_count > 0;
SELECT *
FROM read_telemetry('run.ld',
rate := 100,
channels := 'Ground Speed,Throttle Pos,Brake Pedal Pos');
About motorsport_telemetry
motorsport_telemetry reads Pi Research/Cosworth PDS, MoTeC i2 LD, and
Racelogic VBOX VBO telemetry without an export step. It provides exact
channel metadata, native-rate long-form samples, and projected wide readers
with time/channel pruning and type-aware interpolation. Integer and event
channels always use previous-value semantics; only floating-point channels
can interpolate linearly. The parsers memory-map native files and table
functions produce vectorized DuckDB output.
Added Functions
| function_name | function_type | description | comment | examples |
|---|---|---|---|---|
| read_cosworth | table | NULL | NULL | |
| read_motec | table | NULL | NULL | |
| read_telemetry | table | NULL | NULL | |
| read_vbo | table | NULL | NULL | |
| telemetry_can_convert | scalar | NULL | NULL | |
| telemetry_column_comments | table | NULL | NULL | |
| telemetry_convert | scalar | NULL | NULL | |
| telemetry_metadata | table | NULL | NULL | |
| telemetry_samples | table | NULL | NULL | |
| telemetry_units | table | NULL | NULL | |
| write_telemetry | table | NULL | NULL |
Overloaded Functions
This extension does not add any function overloads.
Added Types
This extension does not add any types.
Added Settings
This extension does not add any settings.