hardware/intel/libsensors
Révision | 1ee37bf989b90d3b8dd24bae497c15350de5fbec (tree) |
---|---|
l'heure | 2015-09-02 23:04:30 |
Auteur | Constantin Musca <constantin.musca@inte...> |
Commiter | buildslave |
calibration.h: set accel BUCKET_TOLERANCE to 2.5
The Emdoor I8170 STK8312 accel sensor's Z axis has a
(2.3, 2.5) bias.
Set the accel BUCKET_TOLERANCE to 2.5 to allow compensation
for this sensor.
Change-Id: I39c434d5ba8c9b81558003751dd409b20ef93c85
Tracked-On: https://jira01.devtools.intel.com/browse/GMINL-17695
Tracked-On: https://jira01.devtools.intel.com/browse/GMINL-17696
Tracked-On: https://jira01.devtools.intel.com/browse/GMINL-17698
Signed-off-by: Constantin Musca <constantin.musca@intel.com>
Reviewed-on: https://android.intel.com:443/407030
@@ -39,7 +39,7 @@ gyro_cal_t; | ||
39 | 39 | /* Accelerometer bias estimation and compensation */ |
40 | 40 | |
41 | 41 | #define BUCKET_COUNT 3 |
42 | -#define BUCKET_TOLERANCE 1 /* Maximum monitoring distance from value of interest, in m/s² */ | |
42 | +#define BUCKET_TOLERANCE 2.5 /* Maximum monitoring distance from value of interest, in m/s² */ | |
43 | 43 | #define SLICES 100 /* We currently have 3 buckets per axis, and 100 slices per bucket ; then we distribute incoming samples among slices */ |
44 | 44 | |
45 | 45 | typedef struct |