Struct mavlink::common::WIND_COV_DATA
source · pub struct WIND_COV_DATA {
pub time_usec: u64,
pub wind_x: f32,
pub wind_y: f32,
pub wind_z: f32,
pub var_horiz: f32,
pub var_vert: f32,
pub wind_alt: f32,
pub horiz_accuracy: f32,
pub vert_accuracy: f32,
}
common
only.Expand description
id: 231 Wind estimate from vehicle. Note that despite the name, this message does not actually contain any covariances but instead variability and accuracy fields in terms of standard deviation (1-STD)..
Fields§
§time_usec: u64
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..
wind_x: f32
Wind in North (NED) direction (NAN if unknown).
wind_y: f32
Wind in East (NED) direction (NAN if unknown).
wind_z: f32
Wind in down (NED) direction (NAN if unknown).
var_horiz: f32
Variability of wind in XY, 1-STD estimated from a 1 Hz lowpassed wind estimate (NAN if unknown).
var_vert: f32
Variability of wind in Z, 1-STD estimated from a 1 Hz lowpassed wind estimate (NAN if unknown).
wind_alt: f32
Altitude (MSL) that this measurement was taken at (NAN if unknown).
horiz_accuracy: f32
Horizontal speed 1-STD accuracy (0 if unknown).
vert_accuracy: f32
Vertical speed 1-STD accuracy (0 if unknown).
Implementations§
source§impl WIND_COV_DATA
impl WIND_COV_DATA
pub const ENCODED_LEN: usize = 40usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for WIND_COV_DATA
impl Clone for WIND_COV_DATA
source§fn clone(&self) -> WIND_COV_DATA
fn clone(&self) -> WIND_COV_DATA
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for WIND_COV_DATA
impl Debug for WIND_COV_DATA
source§impl Default for WIND_COV_DATA
impl Default for WIND_COV_DATA
source§impl<'de> Deserialize<'de> for WIND_COV_DATA
impl<'de> Deserialize<'de> for WIND_COV_DATA
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 MessageData for WIND_COV_DATA
impl MessageData for WIND_COV_DATA
const ID: u32 = 231u32
const NAME: &'static str = "WIND_COV"
const EXTRA_CRC: u8 = 105u8
const ENCODED_LEN: usize = 40usize
type Message = MavMessage
fn deser(_version: MavlinkVersion, __input: &[u8]) -> Result<Self, ParserError>
fn ser(&self, version: MavlinkVersion, bytes: &mut [u8]) -> usize
source§impl PartialEq for WIND_COV_DATA
impl PartialEq for WIND_COV_DATA
source§impl Serialize for WIND_COV_DATA
impl Serialize for WIND_COV_DATA
impl StructuralPartialEq for WIND_COV_DATA
Auto Trait Implementations§
impl Freeze for WIND_COV_DATA
impl RefUnwindSafe for WIND_COV_DATA
impl Send for WIND_COV_DATA
impl Sync for WIND_COV_DATA
impl Unpin for WIND_COV_DATA
impl UnwindSafe for WIND_COV_DATA
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
source§impl<T> CloneToUninit for Twhere
T: Clone,
impl<T> CloneToUninit for Twhere
T: Clone,
source§unsafe fn clone_to_uninit(&self, dst: *mut T)
unsafe fn clone_to_uninit(&self, dst: *mut T)
clone_to_uninit
)