From 7a813e844252612cd8f7fa4e391825477d8b63d0 Mon Sep 17 00:00:00 2001 From: Etienne Le Grand Date: Tue, 23 Apr 2013 14:22:23 -0700 Subject: Modify sign of bias in uncalibrated magnetometer bug 8632692 Change-Id: If92f0030e53d41a7d0bc3c3b003f5eb939123945 --- include/hardware/sensors.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/hardware/sensors.h') diff --git a/include/hardware/sensors.h b/include/hardware/sensors.h index 2a0063b..7778e8f 100644 --- a/include/hardware/sensors.h +++ b/include/hardware/sensors.h @@ -442,10 +442,10 @@ enum { * These values should be continuous (no re-calibration should cause a jump). * - 3 fields for hard iron bias estimates: x_bias, y_bias, z_bias. * Each field is a component of the estimated hard iron calibration. - * They represent the offsets to apply to the uncalibrated readings to obtain - * calibrated readings (x_calibrated = x_uncalib + x_bias) + * They represent the offsets to apply to the calibrated readings to obtain + * uncalibrated readings (x_uncalib ~= x_calibrated + x_bias) * These values are expected to jump as soon as the estimate of the hard iron - * changes. + * changes, and they should be stable the rest of the time. * * If this sensor is present, then the corresponding * SENSOR_TYPE_MAGNETIC_FIELD must be present and both must return the -- cgit v1.1