Struct mavlink::asluav::VFR_HUD_DATA
source · pub struct VFR_HUD_DATA {
pub airspeed: f32,
pub groundspeed: f32,
pub alt: f32,
pub climb: f32,
pub heading: i16,
pub throttle: u16,
}
Available on crate feature
asluav
only.Expand description
id: 74 Metrics typically displayed on a HUD for fixed wing aircraft..
Fields§
§airspeed: f32
Vehicle speed in form appropriate for vehicle type. For standard aircraft this is typically calibrated airspeed (CAS) or indicated airspeed (IAS) - either of which can be used by a pilot to estimate stall speed..
groundspeed: f32
Current ground speed..
alt: f32
Current altitude (MSL)..
climb: f32
Current climb rate..
heading: i16
Current heading in compass units (0-360, 0=north)..
throttle: u16
Current throttle setting (0 to 100)..
Implementations§
source§impl VFR_HUD_DATA
impl VFR_HUD_DATA
pub const ENCODED_LEN: usize = 20usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for VFR_HUD_DATA
impl Clone for VFR_HUD_DATA
source§fn clone(&self) -> VFR_HUD_DATA
fn clone(&self) -> VFR_HUD_DATA
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moresource§impl Debug for VFR_HUD_DATA
impl Debug for VFR_HUD_DATA
source§impl Default for VFR_HUD_DATA
impl Default for VFR_HUD_DATA
source§impl<'de> Deserialize<'de> for VFR_HUD_DATA
impl<'de> Deserialize<'de> for VFR_HUD_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>,
Deserialize this value from the given Serde deserializer. Read more
source§impl MessageData for VFR_HUD_DATA
impl MessageData for VFR_HUD_DATA
const ID: u32 = 74u32
const NAME: &'static str = "VFR_HUD"
const EXTRA_CRC: u8 = 20u8
const ENCODED_LEN: usize = 20usize
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 VFR_HUD_DATA
impl PartialEq for VFR_HUD_DATA
source§impl Serialize for VFR_HUD_DATA
impl Serialize for VFR_HUD_DATA
impl StructuralPartialEq for VFR_HUD_DATA
Auto Trait Implementations§
impl Freeze for VFR_HUD_DATA
impl RefUnwindSafe for VFR_HUD_DATA
impl Send for VFR_HUD_DATA
impl Sync for VFR_HUD_DATA
impl Unpin for VFR_HUD_DATA
impl UnwindSafe for VFR_HUD_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
Mutably borrows from an owned value. Read more
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)
🔬This is a nightly-only experimental API. (
clone_to_uninit
)