Struct mavlink::matrixpilot::ALTITUDES_DATA
source · pub struct ALTITUDES_DATA {
pub time_boot_ms: u32,
pub alt_gps: i32,
pub alt_imu: i32,
pub alt_barometric: i32,
pub alt_optical_flow: i32,
pub alt_range_finder: i32,
pub alt_extra: i32,
}
Available on crate feature
matrixpilot
only.Expand description
id: 181 The altitude measured by sensors and IMU.
Fields§
§time_boot_ms: u32
Timestamp (milliseconds since system boot).
alt_gps: i32
GPS altitude (MSL) in meters, expressed as * 1000 (millimeters).
alt_imu: i32
IMU altitude above ground in meters, expressed as * 1000 (millimeters).
alt_barometric: i32
barometeric altitude above ground in meters, expressed as * 1000 (millimeters).
alt_optical_flow: i32
Optical flow altitude above ground in meters, expressed as * 1000 (millimeters).
alt_range_finder: i32
Rangefinder Altitude above ground in meters, expressed as * 1000 (millimeters).
alt_extra: i32
Extra altitude above ground in meters, expressed as * 1000 (millimeters).
Implementations§
source§impl ALTITUDES_DATA
impl ALTITUDES_DATA
pub const ENCODED_LEN: usize = 28usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for ALTITUDES_DATA
impl Clone for ALTITUDES_DATA
source§fn clone(&self) -> ALTITUDES_DATA
fn clone(&self) -> ALTITUDES_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 ALTITUDES_DATA
impl Debug for ALTITUDES_DATA
source§impl Default for ALTITUDES_DATA
impl Default for ALTITUDES_DATA
source§impl<'de> Deserialize<'de> for ALTITUDES_DATA
impl<'de> Deserialize<'de> for ALTITUDES_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 ALTITUDES_DATA
impl MessageData for ALTITUDES_DATA
const ID: u32 = 181u32
const NAME: &'static str = "ALTITUDES"
const EXTRA_CRC: u8 = 55u8
const ENCODED_LEN: usize = 28usize
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 ALTITUDES_DATA
impl PartialEq for ALTITUDES_DATA
source§impl Serialize for ALTITUDES_DATA
impl Serialize for ALTITUDES_DATA
impl StructuralPartialEq for ALTITUDES_DATA
Auto Trait Implementations§
impl Freeze for ALTITUDES_DATA
impl RefUnwindSafe for ALTITUDES_DATA
impl Send for ALTITUDES_DATA
impl Sync for ALTITUDES_DATA
impl Unpin for ALTITUDES_DATA
impl UnwindSafe for ALTITUDES_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
)