EvoIMU#

class EvoIMU(channel, i2c=I2CA, address=0x28)#

BNO055-style IMU helper that exposes Euler heading data.

resetHeading()#

Store the current heading as the zero point for relative heading.

Returns:

None.

getRelativeHeading()#

Read heading relative to the last reset, tracking rotations across wrap.

Returns:

Floating-point heading in degrees.

getEuler()#

Read the Euler orientation registers.

Returns:

(x, y, z) tuple in degrees.

getEulerX()#
getEulerY()#
getEulerZ()#

Read one Euler axis.

Returns:

Floating-point angle in degrees.