#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct Frame {
#[prost(int32, tag = "1")]
pub acc_x: i32,
#[prost(int32, tag = "2")]
pub acc_y: i32,
#[prost(int32, tag = "3")]
pub acc_z: i32,
#[prost(int32, tag = "4")]
pub ang_x: i32,
#[prost(int32, tag = "5")]
pub ang_y: i32,
#[prost(int32, tag = "6")]
pub ang_z: i32,
#[prost(float, tag = "7")]
pub temp: f32,
#[prost(int32, tag = "8")]
pub ir_l: i32,
#[prost(int32, tag = "9")]
pub red_l: i32,
#[prost(int32, tag = "10")]
pub amb_l: i32,
#[prost(int32, tag = "11")]
pub ir_r: i32,
#[prost(int32, tag = "12")]
pub red_r: i32,
#[prost(int32, tag = "13")]
pub amb_r: i32,
#[prost(int32, tag = "14")]
pub ir_p: i32,
#[prost(int32, tag = "15")]
pub red_p: i32,
#[prost(int32, tag = "16")]
pub amb_p: i32,
}
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct Sensor {
#[prost(bool, tag = "1")]
pub read: bool,
#[prost(uint32, tag = "2")]
pub address: u32,
#[prost(fixed32, tag = "3")]
pub data: u32,
}
#[derive(Clone, PartialEq, ::prost::Message)]
pub struct Imu {
#[prost(uint32, tag = "1")]
pub read: u32,
#[prost(uint32, tag = "2")]
pub address: u32,
#[prost(bytes = "vec", tag = "3")]
pub data: ::prost::alloc::vec::Vec<u8>,
}
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct Adc {
#[prost(uint32, tag = "1")]
pub voltage: u32,
#[prost(bool, tag = "2")]
pub charging: bool,
#[prost(bool, tag = "3")]
pub usb: bool,
}
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct Diagnostics {
#[prost(message, optional, tag = "1")]
pub adc: ::core::option::Option<Adc>,
#[prost(bool, tag = "2")]
pub imu_ok: bool,
#[prost(bool, tag = "3")]
pub sensor_ok: bool,
}
#[derive(Clone, Copy, PartialEq, ::prost::Message)]
pub struct Calibration {
#[prost(float, tag = "1")]
pub offset_l: f32,
#[prost(float, tag = "2")]
pub offset_r: f32,
#[prost(float, tag = "3")]
pub offset_p: f32,
#[prost(bool, tag = "4")]
pub enable: bool,
#[prost(bool, tag = "5")]
pub low_power_mode: bool,
}