Struct librobotcontrol_sys::rc_mpu_data_t
source · #[repr(C)]pub struct rc_mpu_data_t {Show 17 fields
pub accel: [f64; 3],
pub gyro: [f64; 3],
pub mag: [f64; 3],
pub temp: f64,
pub raw_gyro: [i16; 3],
pub raw_accel: [i16; 3],
pub accel_to_ms2: f64,
pub gyro_to_degs: f64,
pub dmp_quat: [f64; 4],
pub dmp_TaitBryan: [f64; 3],
pub tap_detected: c_int,
pub last_tap_direction: c_int,
pub last_tap_count: c_int,
pub fused_quat: [f64; 4],
pub fused_TaitBryan: [f64; 3],
pub compass_heading: f64,
pub compass_heading_raw: f64,
}
Fields§
§accel: [f64; 3]
§gyro: [f64; 3]
§mag: [f64; 3]
§temp: f64
§raw_gyro: [i16; 3]
§raw_accel: [i16; 3]
§accel_to_ms2: f64
§gyro_to_degs: f64
§dmp_quat: [f64; 4]
§dmp_TaitBryan: [f64; 3]
§tap_detected: c_int
§last_tap_direction: c_int
§last_tap_count: c_int
§fused_quat: [f64; 4]
§fused_TaitBryan: [f64; 3]
§compass_heading: f64
§compass_heading_raw: f64
Trait Implementations§
source§impl Clone for rc_mpu_data_t
impl Clone for rc_mpu_data_t
source§fn clone(&self) -> rc_mpu_data_t
fn clone(&self) -> rc_mpu_data_t
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 rc_mpu_data_t
impl Debug for rc_mpu_data_t
source§impl Default for rc_mpu_data_t
impl Default for rc_mpu_data_t
source§fn default() -> rc_mpu_data_t
fn default() -> rc_mpu_data_t
Returns the “default value” for a type. Read more