class documentation
Class which provides interface to MPU6886 6-axis motion tracking device.
Method | __enter__ |
Undocumented |
Method | __exit__ |
Undocumented |
Method | __init__ |
Undocumented |
Method | calibrate |
Undocumented |
Method | get |
Undocumented |
Method | sleep |
Undocumented |
Method | sleep |
Undocumented |
Instance Variable | address |
Undocumented |
Instance Variable | i2c |
Undocumented |
Property | acceleration |
Acceleration measured by the sensor. By default will return a 3-tuple of X, Y, Z axis acceleration values in m/s^2 as floats. Will return values in g if constructor was provided `accel_sf=SF_M_S2` parameter. |
Property | gyro |
X, Y, Z radians per second as floats. |
Property | temperature |
Die temperature in celcius as a float. |
Property | whoami |
Value of the whoami register. |
Method | _accel |
Undocumented |
Method | _gyro |
Undocumented |
Method | _register |
Undocumented |
Method | _register |
Undocumented |
Method | _register |
Undocumented |
Instance Variable | _accel |
Undocumented |
Instance Variable | _accel |
Undocumented |
Instance Variable | _gyro |
Undocumented |
Instance Variable | _gyro |
Undocumented |
Instance Variable | _gyro |
Undocumented |
def __init__(self, i2c, address=104, accel_fs=ACCEL_FS_SEL_2G, gyro_fs=GYRO_FS_SEL_250DPS, accel_sf=SF_M_S2, gyro_sf=SF_RAD_S, gyro_offset=( 0, 0, 0)):
¶
Undocumented