pub struct DebugFloatArray {
pub time_usec: u64,
pub name: [u8; 10],
pub array_id: u16,
pub data: [f32; 58],
}Expand description
MAVLink DEBUG_FLOAT_ARRAY message.
The minimum supported MAVLink version is MAVLink 2.
§Description
Large debug/prototyping array. The message uses the maximum available payload for data. The array_id and name fields are used to discriminate between messages in code and in user interfaces (respectively). Do not use in production code.
§Encoding/Decoding
Message encoding/decoding are provided by implementing core::convert::TryFrom<Payload> for
DebugFloatArray (encoding) and [IntoPayload] (decoding) traits.
These traits are implemented by Message proc macro.
Fields§
§time_usec: u64MAVLink field time_usec.
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 of the number.
name: [u8; 10]MAVLink field name.
Name, for human-friendly display in a Ground Control Station
array_id: u16MAVLink field array_id.
Unique ID used to discriminate between arrays
data: [f32; 58]MAVLink field data.
data
Implementations§
Source§impl DebugFloatArray
impl DebugFloatArray
Sourcepub const fn spec() -> MessageInfo
pub const fn spec() -> MessageInfo
Returns specification for this message.
Sourcepub const fn message_id() -> MessageId
pub const fn message_id() -> MessageId
Message ID.
Sourcepub const fn min_supported_mavlink_version() -> MavLinkVersion
pub const fn min_supported_mavlink_version() -> MavLinkVersion
Minimum supported MAVLink version for this message.
Trait Implementations§
Source§impl Clone for DebugFloatArray
impl Clone for DebugFloatArray
Source§fn clone(&self) -> DebugFloatArray
fn clone(&self) -> DebugFloatArray
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for DebugFloatArray
impl Debug for DebugFloatArray
Source§impl Default for DebugFloatArray
impl Default for DebugFloatArray
Source§impl<'de> Deserialize<'de> for DebugFloatArray
impl<'de> Deserialize<'de> for DebugFloatArray
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 From<DebugFloatArray> for Common
impl From<DebugFloatArray> for Common
Source§fn from(value: DebugFloatArray) -> Self
fn from(value: DebugFloatArray) -> Self
Source§impl IntoPayload for DebugFloatArray
impl IntoPayload for DebugFloatArray
Source§impl MessageSpec for DebugFloatArray
impl MessageSpec for DebugFloatArray
Source§impl MessageSpecStatic for DebugFloatArray
impl MessageSpecStatic for DebugFloatArray
Source§fn spec() -> MessageInfo
fn spec() -> MessageInfo
Source§fn message_id() -> MessageId
fn message_id() -> MessageId
ID.Source§fn min_supported_mavlink_version() -> MavLinkVersion
fn min_supported_mavlink_version() -> MavLinkVersion
Source§impl NamedType for DebugFloatArray
impl NamedType for DebugFloatArray
fn sid() -> SpectaID
Source§fn named_data_type(
type_map: &mut TypeCollection,
generics: &[DataType],
) -> NamedDataType
fn named_data_type( type_map: &mut TypeCollection, generics: &[DataType], ) -> NamedDataType
Source§fn definition_named_data_type(type_map: &mut TypeCollection) -> NamedDataType
fn definition_named_data_type(type_map: &mut TypeCollection) -> NamedDataType
Source§impl PartialEq for DebugFloatArray
impl PartialEq for DebugFloatArray
Source§impl Serialize for DebugFloatArray
impl Serialize for DebugFloatArray
Source§impl TryFrom<&Payload> for DebugFloatArray
impl TryFrom<&Payload> for DebugFloatArray
Source§impl Type for DebugFloatArray
impl Type for DebugFloatArray
Source§fn inline(type_map: &mut TypeCollection, generics: Generics<'_>) -> DataType
fn inline(type_map: &mut TypeCollection, generics: Generics<'_>) -> DataType
Source§fn reference(type_map: &mut TypeCollection, generics: &[DataType]) -> Reference
fn reference(type_map: &mut TypeCollection, generics: &[DataType]) -> Reference
definition will be put into the type map.