pub struct LocalPositionNedCov {
pub time_usec: u64,
pub estimator_type: MavEstimatorType,
pub x: f32,
pub y: f32,
pub z: f32,
pub vx: f32,
pub vy: f32,
pub vz: f32,
pub ax: f32,
pub ay: f32,
pub az: f32,
pub covariance: [f32; 45],
}Expand description
MAVLink LOCAL_POSITION_NED_COV 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
LocalPositionNedCov (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.
estimator_type: MavEstimatorTypeMAVLink field estimator_type.
Class id of the estimator this estimate originated from.
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
ax: f32MAVLink field ax.
X Acceleration
ay: f32MAVLink field ay.
Y Acceleration
az: f32MAVLink field az.
Z Acceleration
covariance: [f32; 45]MAVLink field covariance.
Row-major representation of position, velocity and acceleration 9x9 cross-covariance matrix upper right triangle (states: x, y, z, vx, vy, vz, ax, ay, az; first nine entries are the first ROW, next eight entries are the second row, etc.). If unknown, assign NaN value to first element in the array.
Implementations§
Source§impl LocalPositionNedCov
impl LocalPositionNedCov
Sourcepub const fn spec() -> MessageInfo
pub const fn spec() -> MessageInfo
Returns specification for this message.
Sourcepub const fn message_id() -> u32
pub const fn message_id() -> u32
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 LocalPositionNedCov
impl Clone for LocalPositionNedCov
Source§fn clone(&self) -> LocalPositionNedCov
fn clone(&self) -> LocalPositionNedCov
1.0.0 (const: unstable) · Source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source. Read moreSource§impl Debug for LocalPositionNedCov
impl Debug for LocalPositionNedCov
Source§impl Default for LocalPositionNedCov
impl Default for LocalPositionNedCov
Source§fn default() -> LocalPositionNedCov
fn default() -> LocalPositionNedCov
Source§impl<'de> Deserialize<'de> for LocalPositionNedCov
impl<'de> Deserialize<'de> for LocalPositionNedCov
Source§fn deserialize<__D>(
__deserializer: __D,
) -> Result<LocalPositionNedCov, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
fn deserialize<__D>(
__deserializer: __D,
) -> Result<LocalPositionNedCov, <__D as Deserializer<'de>>::Error>where
__D: Deserializer<'de>,
impl Flatten for LocalPositionNedCov
Source§impl From<LocalPositionNedCov> for Common
impl From<LocalPositionNedCov> for Common
Source§fn from(value: LocalPositionNedCov) -> Common
fn from(value: LocalPositionNedCov) -> Common
Source§impl IntoPayload for LocalPositionNedCov
impl IntoPayload for LocalPositionNedCov
impl Message for LocalPositionNedCov
Source§impl MessageSpec for LocalPositionNedCov
impl MessageSpec for LocalPositionNedCov
Source§impl MessageSpecStatic for LocalPositionNedCov
impl MessageSpecStatic for LocalPositionNedCov
Source§fn spec() -> MessageInfo
fn spec() -> MessageInfo
Source§fn message_id() -> u32
fn message_id() -> u32
ID.Source§fn min_supported_mavlink_version() -> MavLinkVersion
fn min_supported_mavlink_version() -> MavLinkVersion
Source§impl NamedType for LocalPositionNedCov
impl NamedType for LocalPositionNedCov
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 LocalPositionNedCov
impl PartialEq for LocalPositionNedCov
Source§fn eq(&self, other: &LocalPositionNedCov) -> bool
fn eq(&self, other: &LocalPositionNedCov) -> bool
self and other values to be equal, and is used by ==.Source§impl Serialize for LocalPositionNedCov
impl Serialize for LocalPositionNedCov
Source§fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
fn serialize<__S>(
&self,
__serializer: __S,
) -> Result<<__S as Serializer>::Ok, <__S as Serializer>::Error>where
__S: Serializer,
impl StructuralPartialEq for LocalPositionNedCov
Source§impl TryFrom<&Payload> for LocalPositionNedCov
impl TryFrom<&Payload> for LocalPositionNedCov
Source§impl Type for LocalPositionNedCov
impl Type for LocalPositionNedCov
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.