Struct mavlink::matrixpilot::AIRSPEEDS_DATA
source · pub struct AIRSPEEDS_DATA {
pub time_boot_ms: u32,
pub airspeed_imu: i16,
pub airspeed_pitot: i16,
pub airspeed_hot_wire: i16,
pub airspeed_ultrasonic: i16,
pub aoa: i16,
pub aoy: i16,
}
Available on crate feature
matrixpilot
only.Expand description
id: 182 The airspeed measured by sensors and IMU.
Fields§
§time_boot_ms: u32
Timestamp (milliseconds since system boot).
airspeed_imu: i16
Airspeed estimate from IMU, cm/s.
airspeed_pitot: i16
Pitot measured forward airpseed, cm/s.
airspeed_hot_wire: i16
Hot wire anenometer measured airspeed, cm/s.
airspeed_ultrasonic: i16
Ultrasonic measured airspeed, cm/s.
aoa: i16
Angle of attack sensor, degrees * 10.
aoy: i16
Yaw angle sensor, degrees * 10.
Implementations§
source§impl AIRSPEEDS_DATA
impl AIRSPEEDS_DATA
pub const ENCODED_LEN: usize = 16usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for AIRSPEEDS_DATA
impl Clone for AIRSPEEDS_DATA
source§fn clone(&self) -> AIRSPEEDS_DATA
fn clone(&self) -> AIRSPEEDS_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 AIRSPEEDS_DATA
impl Debug for AIRSPEEDS_DATA
source§impl Default for AIRSPEEDS_DATA
impl Default for AIRSPEEDS_DATA
source§impl<'de> Deserialize<'de> for AIRSPEEDS_DATA
impl<'de> Deserialize<'de> for AIRSPEEDS_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 AIRSPEEDS_DATA
impl MessageData for AIRSPEEDS_DATA
const ID: u32 = 182u32
const NAME: &'static str = "AIRSPEEDS"
const EXTRA_CRC: u8 = 154u8
const ENCODED_LEN: usize = 16usize
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 AIRSPEEDS_DATA
impl PartialEq for AIRSPEEDS_DATA
source§impl Serialize for AIRSPEEDS_DATA
impl Serialize for AIRSPEEDS_DATA
impl StructuralPartialEq for AIRSPEEDS_DATA
Auto Trait Implementations§
impl Freeze for AIRSPEEDS_DATA
impl RefUnwindSafe for AIRSPEEDS_DATA
impl Send for AIRSPEEDS_DATA
impl Sync for AIRSPEEDS_DATA
impl Unpin for AIRSPEEDS_DATA
impl UnwindSafe for AIRSPEEDS_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
)