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
python_array_test only.Expand description
Metrics typically displayed on a HUD for fixed wing aircraft.
ID: 74
Fields§
§airspeed: f32Vehicle 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: f32Current ground speed.
alt: f32Current altitude (MSL).
climb: f32Current climb rate.
heading: i16Current heading in compass units (0-360, 0=north).
throttle: u16Current 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 duplicate 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
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