OSDN Git Service

Bug fix for SensorFusion data rate.
authorAravind Akella <aakella@google.com>
Fri, 6 Dec 2013 00:24:59 +0000 (16:24 -0800)
committerAravind Akella <aakella@google.com>
Tue, 10 Dec 2013 01:57:12 +0000 (01:57 +0000)
commit88509090387eeb400771a786171866710cca230c
tree1ccd7ebc46d1cc33d1d4a8c5b28db778f080c446
parentd837548947abf5018d05f4cb17fe31cab41ea3c3
Bug fix for SensorFusion data rate.

SensorFusion is always returning data at the slowest possible sampling rate (5 Hz). batch() is getting called twice, first time with the requested rate and second time with the slowest rate (which overwrites the requested rate). Fix batch call in SensorFusion::activate()

Bug: 12064319
Change-Id: If62f3e514233f69810336fd22b136b4395b667d3
services/sensorservice/SensorFusion.cpp
services/sensorservice/SensorFusion.h