blob: b8631a496a775bb2a17dae00c52a2e9935d9bc96 [file] [log] [blame]
edition = "2023";
package milotic_hft;
import "sensor_identifier.proto";
message HighFrequencySensorReading {
oneof reading {
float float_reading = 1;
// Add support for other types of readings.
}
int64 timestamp_ns = 2; // Nanosecond timestamp of the readings.
}
message HighFrequencySensorsReadings {
repeated HighFrequencySensorReading timestamped_readings = 1;
SensorIdentifier sensor_identifier = 2;
}
message HighFrequencySensorsReadingsBatch {
repeated HighFrequencySensorsReadings high_frequency_sensors = 1;
int32 configured_sampling_interval_ms = 2; // If set, it means all sensors in high_frequency_sensors has been configured to the same sampling interval
}