diff options
author | Etienne Le Grand <etn@google.com> | 2013-04-23 14:38:46 -0700 |
---|---|---|
committer | Android Git Automerger <android-git-automerger@android.com> | 2013-04-23 14:38:46 -0700 |
commit | 4daa2f8ea99631655fa469b3af33c0d3477dd42b (patch) | |
tree | 6475b37d3056120aa503b0b66dfa34c9d6b80bdd | |
parent | a3f1b92b774c07bcbd9437142718d8faa99ba4c2 (diff) | |
parent | 7a813e844252612cd8f7fa4e391825477d8b63d0 (diff) | |
download | libhardware-4daa2f8ea99631655fa469b3af33c0d3477dd42b.tar.gz |
am 7a813e84: Modify sign of bias in uncalibrated magnetometer
* commit '7a813e844252612cd8f7fa4e391825477d8b63d0':
Modify sign of bias in uncalibrated magnetometer
-rw-r--r-- | include/hardware/sensors.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/hardware/sensors.h b/include/hardware/sensors.h index 2a0063b7..7778e8f1 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 |