pub struct LocalPositionNedSystemGlobalOffset {
pub time_boot_ms: u32,
pub x: f32,
pub y: f32,
pub z: f32,
pub roll: f32,
pub pitch: f32,
pub yaw: f32,
}Expand description
MAVLink LOCAL_POSITION_NED_SYSTEM_GLOBAL_OFFSET message.
Minimum supported MAVLink version is MAVLink 1.
§Description
The offset in X, Y, Z and yaw between the LOCAL_POSITION_NED messages of MAV X and the global coordinate frame in NED coordinates. 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
LocalPositionNedSystemGlobalOffset (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
roll: f32MAVLink field roll.
Roll
pitch: f32MAVLink field pitch.
Pitch
yaw: f32MAVLink field yaw.
Yaw
Implementations§
Source§impl LocalPositionNedSystemGlobalOffset
impl LocalPositionNedSystemGlobalOffset
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 LocalPositionNedSystemGlobalOffset
impl Clone for LocalPositionNedSystemGlobalOffset
Source§fn clone(&self) -> LocalPositionNedSystemGlobalOffset
fn clone(&self) -> LocalPositionNedSystemGlobalOffset
1.0.0 · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl<'de> Deserialize<'de> for LocalPositionNedSystemGlobalOffset
impl<'de> Deserialize<'de> for LocalPositionNedSystemGlobalOffset
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<LocalPositionNedSystemGlobalOffset> for Common
impl From<LocalPositionNedSystemGlobalOffset> for Common
Source§fn from(value: LocalPositionNedSystemGlobalOffset) -> Self
fn from(value: LocalPositionNedSystemGlobalOffset) -> Self
Source§impl MessageSpecStatic for LocalPositionNedSystemGlobalOffset
impl MessageSpecStatic for LocalPositionNedSystemGlobalOffset
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 LocalPositionNedSystemGlobalOffset
impl NamedType for LocalPositionNedSystemGlobalOffset
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 LocalPositionNedSystemGlobalOffset
impl PartialEq for LocalPositionNedSystemGlobalOffset
Source§fn eq(&self, other: &LocalPositionNedSystemGlobalOffset) -> bool
fn eq(&self, other: &LocalPositionNedSystemGlobalOffset) -> bool
self and other values to be equal, and is used by ==.Source§impl Type for LocalPositionNedSystemGlobalOffset
impl Type for LocalPositionNedSystemGlobalOffset
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.