Struct mavlink::avssuas::AVSS_DRONE_IMU_DATA
source · pub struct AVSS_DRONE_IMU_DATA {
pub time_boot_ms: u32,
pub q1: f32,
pub q2: f32,
pub q3: f32,
pub q4: f32,
pub xacc: f32,
pub yacc: f32,
pub zacc: f32,
pub xgyro: f32,
pub ygyro: f32,
pub zgyro: f32,
}
Available on crate feature
avssuas
only.Expand description
id: 60052 Drone IMU data. Quaternion order is w, x, y, z and a zero rotation would be expressed as (1 0 0 0)..
Fields§
§time_boot_ms: u32
Timestamp (time since FC boot)..
q1: f32
Quaternion component 1, w (1 in null-rotation).
q2: f32
Quaternion component 2, x (0 in null-rotation).
q3: f32
Quaternion component 3, y (0 in null-rotation).
q4: f32
Quaternion component 4, z (0 in null-rotation).
xacc: f32
X acceleration.
yacc: f32
Y acceleration.
zacc: f32
Z acceleration.
xgyro: f32
Angular speed around X axis.
ygyro: f32
Angular speed around Y axis.
zgyro: f32
Angular speed around Z axis.
Implementations§
source§impl AVSS_DRONE_IMU_DATA
impl AVSS_DRONE_IMU_DATA
pub const ENCODED_LEN: usize = 44usize
pub const DEFAULT: Self = _
Trait Implementations§
source§impl Clone for AVSS_DRONE_IMU_DATA
impl Clone for AVSS_DRONE_IMU_DATA
source§fn clone(&self) -> AVSS_DRONE_IMU_DATA
fn clone(&self) -> AVSS_DRONE_IMU_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 AVSS_DRONE_IMU_DATA
impl Debug for AVSS_DRONE_IMU_DATA
source§impl Default for AVSS_DRONE_IMU_DATA
impl Default for AVSS_DRONE_IMU_DATA
source§impl<'de> Deserialize<'de> for AVSS_DRONE_IMU_DATA
impl<'de> Deserialize<'de> for AVSS_DRONE_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>,
Deserialize this value from the given Serde deserializer. Read more
source§impl MessageData for AVSS_DRONE_IMU_DATA
impl MessageData for AVSS_DRONE_IMU_DATA
const ID: u32 = 60_052u32
const NAME: &'static str = "AVSS_DRONE_IMU"
const EXTRA_CRC: u8 = 101u8
const ENCODED_LEN: usize = 44usize
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 AVSS_DRONE_IMU_DATA
impl PartialEq for AVSS_DRONE_IMU_DATA
source§impl Serialize for AVSS_DRONE_IMU_DATA
impl Serialize for AVSS_DRONE_IMU_DATA
impl StructuralPartialEq for AVSS_DRONE_IMU_DATA
Auto Trait Implementations§
impl Freeze for AVSS_DRONE_IMU_DATA
impl RefUnwindSafe for AVSS_DRONE_IMU_DATA
impl Send for AVSS_DRONE_IMU_DATA
impl Sync for AVSS_DRONE_IMU_DATA
impl Unpin for AVSS_DRONE_IMU_DATA
impl UnwindSafe for AVSS_DRONE_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
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
)