pub struct EkfExt {
pub timestamp: u64,
pub windspeed: f32,
pub wind_dir: f32,
pub wind_z: f32,
pub airspeed: f32,
pub beta: f32,
pub alpha: f32,
}Expand description
MAVLink EKF_EXT message.
Minimum supported MAVLink version is MAVLink 2.
§Description
Extended EKF state estimates for ASLUAVs
§Encoding/Decoding
Message encoding/decoding are provided by implementing core::convert::TryFrom<Payload> for
EkfExt (encoding) and [IntoPayload] (decoding) traits.
These traits are implemented by Message proc macro.
Fields§
§timestamp: u64MAVLink field timestamp.
Time since system start
windspeed: f32MAVLink field Windspeed.
Magnitude of wind velocity (in lateral inertial plane)
wind_dir: f32MAVLink field WindDir.
Wind heading angle from North
wind_z: f32MAVLink field WindZ.
Z (Down) component of inertial wind velocity
airspeed: f32MAVLink field Airspeed.
Magnitude of air velocity
beta: f32MAVLink field beta.
Sideslip angle
alpha: f32MAVLink field alpha.
Angle of attack
Implementations§
Source§impl EkfExt
impl EkfExt
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<'de> Deserialize<'de> for EkfExt
impl<'de> Deserialize<'de> for EkfExt
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 IntoPayload for EkfExt
impl IntoPayload for EkfExt
Source§impl MessageSpec for EkfExt
impl MessageSpec for EkfExt
Source§impl MessageSpecStatic for EkfExt
impl MessageSpecStatic for EkfExt
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 EkfExt
impl NamedType for EkfExt
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 Type for EkfExt
impl Type for EkfExt
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.