ME 405
bno055.BNO055 Class Reference
Inheritance diagram for bno055.BNO055:
bno055_base.BNO055_BASE

Public Member Functions

def __init__ (self, i2c, address=0x28, crystal=True, transpose=(0, 1, 2), sign=(0, 0, 0))
 
def orient (self)
 
def config (self, dev, value=None)
 
def iget (self, reg)
 
- Public Member Functions inherited from bno055_base.BNO055_BASE
def reset (self)
 
def scaled_tuple (self, addr, scale, buf=bytearray(6), fmt='< hhh')
 
def temperature (self)
 
def cal_status (self, s=bytearray(4))
 
def calibrated (self)
 
def mode (self, new_mode=None)
 
def external_crystal (self)
 

Public Attributes

 sign
 
 transpose
 
 buf6
 
 buf8
 
 w
 
 x
 
 y
 
 z
 
- Public Attributes inherited from bno055_base.BNO055_BASE
 address
 
 crystal
 
 mag
 
 accel
 
 lin_acc
 
 gravity
 
 gyro
 
 euler
 
 quaternion
 

Static Public Attributes

tuple acc_range = (2, 4, 8, 16)
 
tuple acc_bw = (8, 16, 31, 62, 125, 250, 500, 1000)
 
tuple gyro_range = (2000, 1000, 500, 250, 125)
 
tuple gyro_bw = (523, 230, 116, 47, 23, 12, 64, 32)
 
tuple mag_rate = (2, 6, 8, 10, 15, 20, 25, 30)
 

Constructor & Destructor Documentation

◆ __init__()

def bno055.BNO055.__init__ (   self,
  i2c,
  address = 0x28,
  crystal = True,
  transpose = (0, 1, 2),
  sign = (0, 0, 0) 
)

Reimplemented from bno055_base.BNO055_BASE.

Member Function Documentation

◆ config()

def bno055.BNO055.config (   self,
  dev,
  value = None 
)

◆ iget()

def bno055.BNO055.iget (   self,
  reg 
)

◆ orient()

def bno055.BNO055.orient (   self)

Member Data Documentation

◆ acc_bw

tuple bno055.BNO055.acc_bw = (8, 16, 31, 62, 125, 250, 500, 1000)
static

◆ acc_range

tuple bno055.BNO055.acc_range = (2, 4, 8, 16)
static

◆ buf6

bno055.BNO055.buf6

◆ buf8

bno055.BNO055.buf8

◆ gyro_bw

tuple bno055.BNO055.gyro_bw = (523, 230, 116, 47, 23, 12, 64, 32)
static

◆ gyro_range

tuple bno055.BNO055.gyro_range = (2000, 1000, 500, 250, 125)
static

◆ mag_rate

tuple bno055.BNO055.mag_rate = (2, 6, 8, 10, 15, 20, 25, 30)
static

◆ sign

bno055.BNO055.sign

◆ transpose

bno055.BNO055.transpose

◆ w

bno055.BNO055.w

◆ x

bno055.BNO055.x

◆ y

bno055.BNO055.y

◆ z

bno055.BNO055.z

The documentation for this class was generated from the following file: