![]() |
SparkFun BMI330 Arduino Library
v1.0.0-2-gdbddb99
Arduino Library for the SparkFun Qwiic BMI330 6-DoF IMU (Bosch BMI330)
|
Tilt detector settings. More...
#include <sfDevBMI330.h>
Public Attributes | |
| uint8_t | segmentSize = 100 |
| Samples averaged into the reference vector, 20 ms/LSB. More... | |
| uint8_t | minTiltAngle = 210 |
| Minimum angle to report, as 256 * cos(angle). 210 is about 35 degrees. More... | |
| uint16_t | betaAccelMean = 0xF069 |
| Exponential smoothing factor for the mean, Q15. More... | |
Tilt detector settings.
Tilt fires when the device's gravity vector has moved more than minTiltAngle away from a slowly-updated reference vector. Defaults are the device's power-on values.
| uint16_t sfe_bmi330_tilt_config_t::betaAccelMean = 0xF069 |
Exponential smoothing factor for the mean, Q15.
| uint8_t sfe_bmi330_tilt_config_t::minTiltAngle = 210 |
Minimum angle to report, as 256 * cos(angle). 210 is about 35 degrees.
| uint8_t sfe_bmi330_tilt_config_t::segmentSize = 100 |
Samples averaged into the reference vector, 20 ms/LSB.