summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/export-to-postgresql.py
diff options
context:
space:
mode:
authorRoderick Colenbrander <roderick.colenbrander@sony.com>2017-03-07 15:45:01 -0800
committerSiarhei Vishniakou <svv@google.com>2019-11-07 11:14:12 -0600
commitf7fa190a798fb97eced2ce5d892f43dfcf467f0c (patch)
tree9d448dafcf349a6438ab1d08cca3dd998c5b6ec1 /tools/perf/scripts/python/export-to-postgresql.py
parent4b6c5de73c9b5deb98f725b3731dece8f4693587 (diff)
UPSTREAM: HID: sony: Calibrate DS4 motion sensors
The DS4 motion sensors require calibration for accurate operation. This patch adds calibration for both the accelerometer and the gyroscope. Calibration requires reading device specific scaling factors and offsets. For precision reasons we store these values as a numerator and denominator and apply the values when processing the data. Signed-off-by: Roderick Colenbrander <roderick.colenbrander@sony.com> Signed-off-by: Jiri Kosina <jkosina@suse.cz> (cherry picked from commit 55a07d62db0feda2e37f6962a1b2799e2a8b42ba) Bug: 111431828 Signed-off-by: Kim Low <kim-huei.low@sony.com> Change-Id: I335e4d0e8720e7dc62041b43d107fd69a592d9a9 Signed-off-by: Siarhei Vishniakou <svv@google.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions