pub struct LocalPositionNed {
pub time_boot_ms: u32,
pub x: f32,
pub y: f32,
pub z: f32,
pub vx: f32,
pub vy: f32,
pub vz: f32,
}Expand description
MAVLink LOCAL_POSITION_NED message.
The minimum supported MAVLink version is MAVLink 1.
§Description
The filtered local position (e.g. fused computer vision and accelerometers). Coordinate frame is right-handed, Z-axis down (aeronautical frame, NED / north-east-down convention)
§Encoding/Decoding
Message encoding/decoding are provided by implementing core::convert::TryFrom<Payload> for
LocalPositionNed (encoding) and [IntoPayload] (decoding) traits.
These traits are implemented by Message proc macro.
Fields§
§time_boot_ms: u32MAVLink field time_boot_ms.
Timestamp (time since system boot).
x: f32MAVLink field x.
X Position
y: f32MAVLink field y.
Y Position
z: f32MAVLink field z.
Z Position
vx: f32MAVLink field vx.
X Speed
vy: f32MAVLink field vy.
Y Speed
vz: f32MAVLink field vz.
Z Speed
Implementations§
Source§impl LocalPositionNed
impl LocalPositionNed
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 LocalPositionNed
impl Clone for LocalPositionNed
Source§fn clone(&self) -> LocalPositionNed
fn clone(&self) -> LocalPositionNed
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for LocalPositionNed
impl Debug for LocalPositionNed
Source§impl Default for LocalPositionNed
impl Default for LocalPositionNed
Source§impl<'de> Deserialize<'de> for LocalPositionNed
impl<'de> Deserialize<'de> for LocalPositionNed
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<LocalPositionNed> for Common
impl From<LocalPositionNed> for Common
Source§fn from(value: LocalPositionNed) -> Self
fn from(value: LocalPositionNed) -> Self
Source§impl IntoPayload for LocalPositionNed
impl IntoPayload for LocalPositionNed
Source§impl MessageSpec for LocalPositionNed
impl MessageSpec for LocalPositionNed
Source§impl MessageSpecStatic for LocalPositionNed
impl MessageSpecStatic for LocalPositionNed
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 LocalPositionNed
impl NamedType for LocalPositionNed
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 LocalPositionNed
impl PartialEq for LocalPositionNed
Source§impl Serialize for LocalPositionNed
impl Serialize for LocalPositionNed
Source§impl TryFrom<&Payload> for LocalPositionNed
impl TryFrom<&Payload> for LocalPositionNed
Source§impl Type for LocalPositionNed
impl Type for LocalPositionNed
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.