[−][src]Struct mavlink::common::HIL_SENSOR_DATA
id: 107 The IMU readings in SI units in NED body frame.
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..
xacc: f32
X acceleration.
yacc: f32
Y acceleration.
zacc: f32
Z acceleration.
xgyro: f32
Angular speed around X axis in body frame.
ygyro: f32
Angular speed around Y axis in body frame.
zgyro: f32
Angular speed around Z axis in body frame.
xmag: f32
X Magnetic field.
ymag: f32
Y Magnetic field.
zmag: f32
Z Magnetic field.
abs_pressure: f32
Absolute pressure.
diff_pressure: f32
Differential pressure (airspeed).
pressure_alt: f32
Altitude calculated from pressure.
temperature: f32
Temperature.
fields_updated: u32
Bitmap for fields that have updated since last message, bit 0 = xacc, bit 12: temperature, bit 31: full reset of attitude/position/velocities/etc was performed in sim..
Implementations
impl HIL_SENSOR_DATA
[src]
pub const ENCODED_LEN: usize
[src]
pub fn deser(
version: MavlinkVersion,
_input: &[u8]
) -> Result<Self, ParserError>
[src]
version: MavlinkVersion,
_input: &[u8]
) -> Result<Self, ParserError>
pub fn ser(&self) -> Vec<u8>
[src]
Trait Implementations
impl Clone for HIL_SENSOR_DATA
[src]
fn clone(&self) -> HIL_SENSOR_DATA
[src]
fn clone_from(&mut self, source: &Self)
1.0.0[src]
impl Debug for HIL_SENSOR_DATA
[src]
impl Default for HIL_SENSOR_DATA
[src]
fn default() -> HIL_SENSOR_DATA
[src]
impl<'de> Deserialize<'de> for HIL_SENSOR_DATA
[src]
fn deserialize<__D>(__deserializer: __D) -> Result<Self, __D::Error> where
__D: Deserializer<'de>,
[src]
__D: Deserializer<'de>,
impl PartialEq<HIL_SENSOR_DATA> for HIL_SENSOR_DATA
[src]
fn eq(&self, other: &HIL_SENSOR_DATA) -> bool
[src]
fn ne(&self, other: &HIL_SENSOR_DATA) -> bool
[src]
impl Serialize for HIL_SENSOR_DATA
[src]
fn serialize<__S>(&self, __serializer: __S) -> Result<__S::Ok, __S::Error> where
__S: Serializer,
[src]
__S: Serializer,
impl StructuralPartialEq for HIL_SENSOR_DATA
[src]
Auto Trait Implementations
impl RefUnwindSafe for HIL_SENSOR_DATA
impl Send for HIL_SENSOR_DATA
impl Sync for HIL_SENSOR_DATA
impl Unpin for HIL_SENSOR_DATA
impl UnwindSafe for HIL_SENSOR_DATA
Blanket Implementations
impl<T> Any for T where
T: 'static + ?Sized,
[src]
T: 'static + ?Sized,
impl<T> Borrow<T> for T where
T: ?Sized,
[src]
T: ?Sized,
impl<T> BorrowMut<T> for T where
T: ?Sized,
[src]
T: ?Sized,
fn borrow_mut(&mut self) -> &mut T
[src]
impl<T> DeserializeOwned for T where
T: for<'de> Deserialize<'de>,
[src]
T: for<'de> Deserialize<'de>,
impl<T> From<T> for T
[src]
impl<T, U> Into<U> for T where
U: From<T>,
[src]
U: From<T>,
impl<T> ToOwned for T where
T: Clone,
[src]
T: Clone,
type Owned = T
The resulting type after obtaining ownership.
fn to_owned(&self) -> T
[src]
fn clone_into(&self, target: &mut T)
[src]
impl<T, U> TryFrom<U> for T where
U: Into<T>,
[src]
U: Into<T>,
type Error = Infallible
The type returned in the event of a conversion error.
fn try_from(value: U) -> Result<T, <T as TryFrom<U>>::Error>
[src]
impl<T, U> TryInto<U> for T where
U: TryFrom<T>,
[src]
U: TryFrom<T>,