Crate xdrk

source · []
Expand description

xrdk is a Rust wrapper around the shared library to access data in XRK or DRK format. Such data is recorded by devices from AiM Tech Srl, a company focused on data logging products for the motor racing segment.

The formats themselves are proprietary, but the data they contain is fairly straight forward:

  • some meta information about the library itself
  • information with regard to the laps contained, where a lap is a data segment within a list of segments produced by splitting the data because of some higher level information (e.g. arriving on the finishing line)
  • time series data of logged sensory measurements, where one sample is expressed as a timestamp and a corresponding measurement

This module wraps the original library and provides a safe, Rust-idiomatic interface to its functionality. Aside from the raw API provided by the library, higher level functions for retrieving data are provided.

Structs

Holds raw, unsynchronized data of a channel and additional metadata.
Holds data of a channel retrieved from a file.
Hold all channels of a lap.
Stores the start time within the recording and the time of a lap.
Holds access information for the file and provides access to it.