adafruit_bno055
- Adafruit 9-DOF Absolute Orientation IMU Fusion Breakout - BNO055¶
This is a CircuitPython driver for the Bosch BNO055 nine degree of freedom inertial measurement unit module with sensor fusion.
- Author(s): Radomir Dopieralski
-
class
adafruit_bno055.
BNO055
(i2c, address=40)[source]¶ Driver for the BNO055 9DOF IMU sensor.
-
acceleration
¶ Gives the raw accelerometer readings, in m/s.
-
accelerometer
¶ Gives the raw accelerometer readings, in m/s.
Warning
This is deprecated. Use
acceleration
instead. It’ll work with other drivers too.
-
calibrated
¶ Boolean indicating calibration status.
-
calibration_status
¶ Tuple containing sys, gyro, accel, and mag calibration data.
-
euler
¶ Gives the calculated orientation angles, in degrees.
-
external_crystal
¶ Switches the use of external crystal on or off.
-
gravity
¶ Returns the gravity vector, without acceleration in m/s.
-
gyro
¶ Gives the raw gyroscope reading in radians per second.
-
gyroscope
¶ Gives the raw gyroscope reading in degrees per second.
Warning
This is deprecated. Use
gyro
instead. It’ll work with other drivers too.
-
linear_acceleration
¶ Returns the linear acceleration, without gravity, in m/s.
-
magnetic
¶ Gives the raw magnetometer readings in microteslas.
-
magnetometer
¶ Gives the raw magnetometer readings in microteslas.
Warning
This is deprecated. Use
magnetic
instead. It’ll work with other drivers too.
-
mode
¶ Switch the mode of operation and return the previous mode.
Mode of operation defines which sensors are enabled and whether the measurements are absolute or relative:
Mode Accel Compass Gyro Absolute CONFIG_MODE ACCONLY_MODE X MAGONLY_MODE X GYRONLY_MODE X ACCMAG_MODE X X ACCGYRO_MODE X X MAGGYRO_MODE X X AMG_MODE X X X IMUPLUS_MODE X X COMPASS_MODE X X X M4G_MODE X X NDOF_FMC_OFF_MODE X X X X NDOF_MODE X X X X The default mode is
NDOF_MODE
.
-
quaternion
¶ Gives the calculated orientation as a quaternion.
-
temperature
¶ Measures the temperature of the chip in degrees Celsius.
-
use_external_crystal
¶ Switches the use of external crystal on or off.
-