Edit

Share via


Bno055Sensor Class

Definition

BNO055 - inertial measurement unit (IMU)

public class Bno055Sensor : IDisposable
[System.Device.Model.Interface("BNO055 - inertial measurement unit (IMU)")]
public class Bno055Sensor : IDisposable
type Bno055Sensor = class
    interface IDisposable
[<System.Device.Model.Interface("BNO055 - inertial measurement unit (IMU)")>]
type Bno055Sensor = class
    interface IDisposable
Public Class Bno055Sensor
Implements IDisposable
Inheritance
Bno055Sensor
Attributes
Implements

Constructors

Bno055Sensor(I2cDevice, OperationMode, Boolean)

Create an BNO055 sensor

Fields

DefaultI2cAddress

The default I2C Address, page 91 of the main documentation https://www.bosch-sensortec.com/media/boschsensortec/downloads/datasheets/bst-bno055-ds000.pdf

SecondI2cAddress

This is the second I2C Address. It needs to be activated to be valid

Properties

Accelerometer

Get the accelerometer Acceleration Vector (100Hz) Three axis of acceleration (gravity + linear motion) Default unit in m/s^2, can be changed for mg

Gravity

Get the gravity Gravity Vector (100Hz) Three axis of gravitational acceleration (minus any movement) Default unit in m/s^2, can be changed for mg

Gyroscope

Get the gyroscope

Info

Get the information about various sensor system versions and ID

LinearAcceleration

Get the linear acceleration Linear Acceleration Vector (100Hz) Three axis of linear acceleration data (acceleration minus gravity) Default unit in m/s^2, can be changed for mg

Magnetometer

Get the Magnetometer

OperationMode

Get/Set the operation mode

Orientation

Get the orientation (Euler Angles) X = Heading, Y = Roll, Z = Pitch

PowerMode

Set/Get the power mode

Quaternion

Get the quaternion, unit is 1 Quaternion (unit less) = 2^14 returned result

Temperature

Get the temperature

TemperatureSource

Set/Get the temperature source

Units

Set/Get the units used. By default, international system is used

Methods

Dispose()

Performs application-defined tasks associated with freeing, releasing, or resetting unmanaged resources.

GetAccelerometerCalibrationData()

Get the accelerometer calibration data

GetAxisMap()

Get the Axis map

GetCalibrationStatus()

Returns the calibration status for the system and sensors

GetError()

Get the latest error

GetGyroscopeCalibrationData()

Get the gyroscope calibration data

GetInteruptStatus()

Get the interupt status

GetMagnetometerCalibrationData()

Get the magnetometer calibration data

GetStatus()

Get the status. If there is an error, GetError() will give more details

RunSelfTest()

Run a self test. In case of error, use GetStatus() and GetError() to get the last error

SetAccelerometerCalibrationData(Vector4)

Set the accelerometer calibration data

SetAxisMap(AxisSetting, AxisSetting, AxisSetting)

Set the Axis map

SetExternalCrystal(Boolean)

Set internal or external crystal usage. Note: if you don't have an external crystal, don't use this function

SetGyroscopeCalibrationData(Vector3)

Set the gyroscope calibration data

SetMagnetometerCalibrationData(Vector4)

Set the magnetometer calibration data

Applies to