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)
committerNick Vaccaro <nvaccaro@google.com>
Fri, 31 Jan 2014 22:33:51 +0000 (22:33 +0000)
commitebff73c37d5f1581702430f4a0348c160b99b57e
tree978ae3c39ef5dd058aeaced2adac6b03d200fbbb
parentade9a911d04dbd4bfbd3e80a917ea67a581b4797
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