Struct mai400_api::raw_imu::RawIMU[][src]

pub struct RawIMU {
    pub accel: [i16; 3],
    pub gyro: [i16; 3],
    pub gyro_temp: u8,
}

Raw accelerometer and gyroscope data

Fields

Accelerometer (X, Y, Z) (3.9 mg/lsb)

Gyroscope (X, Y, Z) (8.75 mdps/lsb)

Gyroscope temperature (-1C/lsb)

Methods

impl RawIMU
[src]

Constructor. Converts a raw data array received from the MAI-400 into a usable structure

Trait Implementations

impl Clone for RawIMU
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl Debug for RawIMU
[src]

Formats the value using the given formatter. Read more

impl Default for RawIMU
[src]

Returns the "default value" for a type. Read more

impl PartialEq for RawIMU
[src]

This method tests for self and other values to be equal, and is used by ==. Read more

This method tests for !=.

Auto Trait Implementations

impl Send for RawIMU

impl Sync for RawIMU