Skip to main content

Module sensor_data_io

Module sensor_data_io 

Source
Expand description

Sensor data I/O for the OxiPhysics engine.

Provides structured types and serialization/deserialization helpers for common physical sensor data streams including:

  • IMU (accelerometer, gyroscope, magnetometer)
  • Pressure sensor time series
  • Temperature sensor array
  • Strain gauge data
  • Force/torque sensor (6-DOF)
  • Optical encoder (position/velocity)
  • LVDT displacement sensor
  • Thermocouple calibration tables
  • Sensor fusion data (Kalman-filtered state)
  • Calibration matrix storage and retrieval

Structs§

CalibrationMatrix
A labelled calibration matrix with row/column metadata.
ChannelStats
Welford online-variance statistics accumulator for one scalar channel.
ForceTorqueLog
A log of sequential ForceTorqueSample records.
ForceTorqueSample
A single reading from a 6-DOF force/torque sensor.
ImuSample
A single sample from a 9-axis IMU.
ImuStream
A buffered sequence of ImuSample records with basic statistics.
KalmanState
The fused navigation state from a Kalman filter.
LvdtSample
A reading from an LVDT displacement sensor.
MultiChannelSensorLog
A generic multi-channel sensor log, suitable for storing any mix of floating-point channel data alongside a common timestamp.
OpticalEncoderSample
A reading from an optical encoder.
PressureSample
A single pressure sensor reading with timestamp.
PressureTimeSeries
A time-ordered series of pressure samples.
SensorDataHeader
Binary file header for sensor data archives.
SensorFusionRecord
Fused output combining IMU, pressure, and encoder data after Kalman filtering.
StrainGaugeSample
A reading from a resistive strain gauge.
TempArraySnapshot
Snapshot of all probes in a temperature array at one instant.
TempProbeReading
A reading from one probe in a distributed temperature array.
ThermocoupleCalibration
Polynomial calibration record for a thermocouple.

Enums§

ThermocoupleType
Thermocouple type classification.

Constants§

SENSOR_DATA_MAGIC
Magic bytes used to identify OxiPhysics sensor data binary files.
SENSOR_DATA_VERSION
Version of the sensor data binary format.