1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33
// Copyright 2021 bmc::labs Gmbh. All rights reserved.
//
// Authors:
// Florian Eich <florian@bmc-labs.com>
// Jonas Reitemeyer <alumni@bmc-labs.com>
//! `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.
mod bindings;
mod channel;
mod lap;
mod run;
mod util;
pub use channel::{Channel, ChannelData};
pub use lap::{Lap, LapInfo};
pub use run::Run;