Struct mavlink::avssuas::ESC_INFO_DATA
source · 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,
}
avssuas
only.Expand description
id: 290 ESC information for lower rate streaming. Recommended streaming rate 1Hz. See ESC_STATUS for higher-rate ESC data..
Fields§
§time_usec: u64
Timestamp (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: u16
Counter 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: u8
Index of the first ESC in this message. minValue = 0, maxValue = 60, increment = 4..
count: u8
Total 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: EscConnectionType
Connection type protocol for all ESC..
info: u8
Information 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 moresource§impl Debug for ESC_INFO_DATA
impl Debug for ESC_INFO_DATA
source§impl Default for ESC_INFO_DATA
impl Default for ESC_INFO_DATA
source§impl<'de> Deserialize<'de> for ESC_INFO_DATA
impl<'de> Deserialize<'de> for ESC_INFO_DATA
source§fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error>where
__D: Deserializer<'de>,
source§impl MessageData for ESC_INFO_DATA
impl MessageData for ESC_INFO_DATA
const ID: u32 = 290u32
const NAME: &'static str = "ESC_INFO"
const EXTRA_CRC: u8 = 251u8
const ENCODED_LEN: usize = 46usize
type Message = MavMessage
fn deser(_version: MavlinkVersion, __input: &[u8]) -> Result<Self, ParserError>
fn ser(&self, version: MavlinkVersion, bytes: &mut [u8]) -> usize
source§impl PartialEq for ESC_INFO_DATA
impl PartialEq for ESC_INFO_DATA
source§impl Serialize for ESC_INFO_DATA
impl Serialize for ESC_INFO_DATA
impl StructuralPartialEq for ESC_INFO_DATA
Auto Trait Implementations§
impl Freeze for ESC_INFO_DATA
impl RefUnwindSafe for ESC_INFO_DATA
impl Send for ESC_INFO_DATA
impl Sync for ESC_INFO_DATA
impl Unpin for ESC_INFO_DATA
impl UnwindSafe for ESC_INFO_DATA
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)