OSDN Git Service

Magnetometer calibration
authorAdriana Reus <adriana.reus@intel.com>
Wed, 14 May 2014 12:59:45 +0000 (15:59 +0300)
committersuyyala <sridhar.uyyala@intel.com>
Tue, 20 May 2014 18:06:09 +0000 (11:06 -0700)
commit4a088e67ef7a1556ad0ab066d2fbe3116631a0a6
tree6ac1a4b34becaade6bc7c39d0bee393fa7c0a93a
parent11359b89231c8086dfdf6e61185206ed2c7c351f
Magnetometer calibration

Implementation ported from the MCG HAL.
Algorithm gathers a sample set and computes the hard iron bias offset
and the soft iron bias matrix inversion. Once the calibration data is
set it's used for the following events until a better calibration data
is generated. Samples are continuously gathered.

Change-Id: Ia170190713bca7d54acb385c005ef4394242f24f
Signed-off-by: Adriana Reus <adriana.reus@intel.com>
Android.mk
calibration.h [new file with mode: 0644]
compass-calibration.c [new file with mode: 0644]
control.c
matrix-ops.c [new file with mode: 0644]
matrix-ops.h [new file with mode: 0644]
transform.c