Struct mavlink::avssuas::RAW_IMU_DATA
source · pub struct RAW_IMU_DATA {
pub time_usec: u64,
pub xacc: i16,
pub yacc: i16,
pub zacc: i16,
pub xgyro: i16,
pub ygyro: i16,
pub zgyro: i16,
pub xmag: i16,
pub ymag: i16,
pub zmag: i16,
pub id: u8,
pub temperature: i16,
}
avssuas
only.Expand description
id: 27 The RAW IMU readings for a 9DOF sensor, which is identified by the id (default IMU1). This message should always contain the true raw values without any scaling to allow data capture and system debugging..
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: i16
X acceleration (raw).
yacc: i16
Y acceleration (raw).
zacc: i16
Z acceleration (raw).
xgyro: i16
Angular speed around X axis (raw).
ygyro: i16
Angular speed around Y axis (raw).
zgyro: i16
Angular speed around Z axis (raw).
xmag: i16
X Magnetic field (raw).
ymag: i16
Y Magnetic field (raw).
zmag: i16
Z Magnetic field (raw).
id: u8
Id. Ids are numbered from 0 and map to IMUs numbered from 1 (e.g. IMU1 will have a message with id=0).
temperature: i16
Temperature, 0: IMU does not provide temperature values. If the IMU is at 0C it must send 1 (0.01C)..
Implementations§
source§impl RAW_IMU_DATA
impl RAW_IMU_DATA
pub const ENCODED_LEN: usize = 29usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for RAW_IMU_DATA
impl Clone for RAW_IMU_DATA
source§fn clone(&self) -> RAW_IMU_DATA
fn clone(&self) -> RAW_IMU_DATA
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
source
. Read moresource§impl Debug for RAW_IMU_DATA
impl Debug for RAW_IMU_DATA
source§impl Default for RAW_IMU_DATA
impl Default for RAW_IMU_DATA
source§impl<'de> Deserialize<'de> for RAW_IMU_DATA
impl<'de> Deserialize<'de> for RAW_IMU_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>,
source§impl MessageData for RAW_IMU_DATA
impl MessageData for RAW_IMU_DATA
const ID: u32 = 27u32
const NAME: &'static str = "RAW_IMU"
const EXTRA_CRC: u8 = 144u8
const ENCODED_LEN: usize = 29usize
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 RAW_IMU_DATA
impl PartialEq for RAW_IMU_DATA
source§impl Serialize for RAW_IMU_DATA
impl Serialize for RAW_IMU_DATA
impl StructuralPartialEq for RAW_IMU_DATA
Auto Trait Implementations§
impl Freeze for RAW_IMU_DATA
impl RefUnwindSafe for RAW_IMU_DATA
impl Send for RAW_IMU_DATA
impl Sync for RAW_IMU_DATA
impl Unpin for RAW_IMU_DATA
impl UnwindSafe for RAW_IMU_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
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)
clone_to_uninit
)