Struct i2cdev_bno055::BNO055 [] [src]

pub struct BNO055<T: I2CDevice + Sized> {
    pub i2cdev: T,
    pub mode: BNO055OperationMode,
}

Fields

Methods

impl<T> BNO055<T> where
    T: I2CDevice + Sized
[src]

[src]

[src]

Reset the BNO055, initializing the register map to default values More in section 3.2

[src]

Sets the operating mode, see BNO055OperationMode More in section 3.3

[src]

[src]

Sets the power mode, see BNO055PowerMode More in section 3.2

[src]

Sets the register page More in section 4.2

[src]

Gets a quaternion reading from the BNO055 Must be in a valid operating mode

[src]

Gets the revision of software, bootloader, accelerometer, magnetometer, and gyroscope of the BNO055

[src]

Get the system status

[src]

Get the calibration status

[src]

Get the calibration details. Can be used with set_calibration to load previous configs.

[src]

Set the calibration details. Can be used with get_calibration to load previous configs.

[src]

Get euler angle representation of orientation. The x component is the heading, y is the roll, z is pitch, all in radians

[src]

Trait Implementations

impl<T: Copy + I2CDevice + Sized> Copy for BNO055<T>
[src]

impl<T: Clone + I2CDevice + Sized> Clone for BNO055<T>
[src]

[src]

Returns a copy of the value. Read more

1.0.0
[src]

Performs copy-assignment from source. Read more

impl<T> Magnetometer for BNO055<T> where
    T: I2CDevice + Sized
[src]

[src]

Returns 'Ok(mag)' if available, otherwise returns 'Err(Self::Error)'

impl<T> Gyroscope for BNO055<T> where
    T: I2CDevice + Sized
[src]

[src]

Returns 'Ok(ang_rate)' if available, otherwise returns 'Err(Self::Error)'

impl<T> Accelerometer for BNO055<T> where
    T: I2CDevice + Sized
[src]

[src]

Returns 'Ok(accel)' if available, otherwise returns 'Err(Self::Error)'

impl<T> Thermometer for BNO055<T> where
    T: I2CDevice + Sized
[src]

[src]

Get a temperature from the sensor in degrees celsius Read more