pub struct SensorAirflowAngles {
pub timestamp: u64,
pub angleofattack: f32,
pub angleofattack_valid: u8,
pub sideslip: f32,
pub sideslip_valid: u8,
}Expand description
MAVLink SENSOR_AIRFLOW_ANGLES message.
Minimum supported MAVLink version is MAVLink 2.
§Description
Calibrated airflow angle measurements
§Encoding/Decoding
Message encoding/decoding are provided by implementing core::convert::TryFrom<Payload> for
SensorAirflowAngles (encoding) and [IntoPayload] (decoding) traits.
These traits are implemented by Message proc macro.
Fields§
§timestamp: u64MAVLink field timestamp.
Timestamp
angleofattack: f32MAVLink field angleofattack.
Angle of attack
angleofattack_valid: u8MAVLink field angleofattack_valid.
Angle of attack measurement valid
sideslip: f32MAVLink field sideslip.
Sideslip angle
sideslip_valid: u8MAVLink field sideslip_valid.
Sideslip angle measurement valid
Implementations§
Source§impl SensorAirflowAngles
impl SensorAirflowAngles
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 SensorAirflowAngles
impl Clone for SensorAirflowAngles
Source§fn clone(&self) -> SensorAirflowAngles
fn clone(&self) -> SensorAirflowAngles
Returns a copy of the value. Read more
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source. Read moreSource§impl Debug for SensorAirflowAngles
impl Debug for SensorAirflowAngles
Source§impl Default for SensorAirflowAngles
impl Default for SensorAirflowAngles
Source§impl<'de> Deserialize<'de> for SensorAirflowAngles
impl<'de> Deserialize<'de> for SensorAirflowAngles
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>,
Deserialize this value from the given Serde deserializer. Read more
Source§impl From<SensorAirflowAngles> for All
impl From<SensorAirflowAngles> for All
Source§fn from(value: SensorAirflowAngles) -> Self
fn from(value: SensorAirflowAngles) -> Self
Converts to this type from the input type.
Source§impl IntoPayload for SensorAirflowAngles
impl IntoPayload for SensorAirflowAngles
Source§impl MessageSpec for SensorAirflowAngles
impl MessageSpec for SensorAirflowAngles
Source§impl MessageSpecStatic for SensorAirflowAngles
impl MessageSpecStatic for SensorAirflowAngles
Source§fn spec() -> MessageInfo
fn spec() -> MessageInfo
Returns specification for this message.
Source§fn message_id() -> MessageId
fn message_id() -> MessageId
Message
ID.Source§fn min_supported_mavlink_version() -> MavLinkVersion
fn min_supported_mavlink_version() -> MavLinkVersion
Minimum supported MAVLink version for this message.
Source§impl NamedType for SensorAirflowAngles
impl NamedType for SensorAirflowAngles
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
this is equivalent to Type::inline but returns a NamedDataType instead.
Source§fn definition_named_data_type(type_map: &mut TypeCollection) -> NamedDataType
fn definition_named_data_type(type_map: &mut TypeCollection) -> NamedDataType
this is equivalent to [Type::definition] but returns a NamedDataType instead.
Source§impl PartialEq for SensorAirflowAngles
impl PartialEq for SensorAirflowAngles
Source§impl Serialize for SensorAirflowAngles
impl Serialize for SensorAirflowAngles
Source§impl TryFrom<&Payload> for SensorAirflowAngles
impl TryFrom<&Payload> for SensorAirflowAngles
Source§impl Type for SensorAirflowAngles
impl Type for SensorAirflowAngles
Source§fn inline(type_map: &mut TypeCollection, generics: Generics<'_>) -> DataType
fn inline(type_map: &mut TypeCollection, generics: Generics<'_>) -> DataType
Returns the definition of a type using the provided generics. Read more
Source§fn reference(type_map: &mut TypeCollection, generics: &[DataType]) -> Reference
fn reference(type_map: &mut TypeCollection, generics: &[DataType]) -> Reference
Generates a datatype corresponding to a reference to this type,
as determined by its category. Getting a reference to a type implies that
it should belong in the type map (since it has to be referenced from somewhere),
so the output of
definition will be put into the type map.impl Flatten for SensorAirflowAngles
impl Message for SensorAirflowAngles
impl StructuralPartialEq for SensorAirflowAngles
Auto Trait Implementations§
impl Freeze for SensorAirflowAngles
impl RefUnwindSafe for SensorAirflowAngles
impl Send for SensorAirflowAngles
impl Sync for SensorAirflowAngles
impl Unpin for SensorAirflowAngles
impl UnwindSafe for SensorAirflowAngles
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
Mutably borrows from an owned value. Read more