pub struct ESC_INFO_DATA {
pub time_usec: u64,
pub error_count: [u32; 4],
pub counter: u16,
pub failure_flags: [u16; 4],
pub temperature: [i16; 4],
pub index: u8,
pub count: u8,
pub connection_type: EscConnectionType,
pub info: u8,
}development only.Expand description
ESC information for lower rate streaming. Recommended streaming rate 1Hz. See ESC_STATUS for higher-rate ESC data.
ID: 290
Fields§
§time_usec: u64Timestamp (UNIX Epoch time or time since system boot). The receiving end can infer timestamp format (since 1.1.1970 or since system boot) by checking for the magnitude the number.
error_count: [u32; 4]Number of reported errors by each ESC since boot.
counter: u16Counter of data packets received.
failure_flags: [u16; 4]Bitmap of ESC failure flags.
temperature: [i16; 4]Temperature of each ESC. INT16_MAX: if data not supplied by ESC.
index: u8Index of the first ESC in this message. minValue = 0, maxValue = 60, increment = 4.
count: u8Total number of ESCs in all messages of this type. Message fields with an index higher than this should be ignored because they contain invalid data.
connection_type: EscConnectionTypeConnection type protocol for all ESC.
info: u8Information regarding online/offline status of each ESC.
Implementations§
Source§impl ESC_INFO_DATA
impl ESC_INFO_DATA
pub const ENCODED_LEN: usize = 46usize
pub const DEFAULT: Self
Trait Implementations§
Source§impl Clone for ESC_INFO_DATA
impl Clone for ESC_INFO_DATA
Source§fn clone(&self) -> ESC_INFO_DATA
fn clone(&self) -> ESC_INFO_DATA
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read more