diff options
author | Mathias Agopian <mathias@google.com> | 2011-05-17 22:54:42 -0700 |
---|---|---|
committer | Mathias Agopian <mathias@google.com> | 2012-06-27 17:07:54 -0700 |
commit | 984826cc158193e61e3a00359ef4f6699c7d748a (patch) | |
tree | 22c7bfb0fb0367137f1e4a4d1a0bb6921600a0e1 /services/sensorservice/LinearAccelerationSensor.h | |
parent | a1b7db95b6ccf5be9d8dfaac1b8f45494813edc0 (diff) | |
download | frameworks_native-984826cc158193e61e3a00359ef4f6699c7d748a.zip frameworks_native-984826cc158193e61e3a00359ef4f6699c7d748a.tar.gz frameworks_native-984826cc158193e61e3a00359ef4f6699c7d748a.tar.bz2 |
9-axis sensor fusion with Kalman filter
Add support for 9-axis gravity and linear-acceleration sensors
virtual orientation sensor using 9-axis fusion
Change-Id: I6717539373fce781c10e97b6fa59f68a831a592f
Diffstat (limited to 'services/sensorservice/LinearAccelerationSensor.h')
-rw-r--r-- | services/sensorservice/LinearAccelerationSensor.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/services/sensorservice/LinearAccelerationSensor.h b/services/sensorservice/LinearAccelerationSensor.h index c577086..5deb24f 100644 --- a/services/sensorservice/LinearAccelerationSensor.h +++ b/services/sensorservice/LinearAccelerationSensor.h @@ -22,19 +22,19 @@ #include <gui/Sensor.h> -#include "SensorDevice.h" #include "SensorInterface.h" #include "GravitySensor.h" // --------------------------------------------------------------------------- - namespace android { // --------------------------------------------------------------------------- +class SensorDevice; +class SensorFusion; + class LinearAccelerationSensor : public SensorInterface { SensorDevice& mSensorDevice; GravitySensor mGravitySensor; - float mData[3]; virtual bool process(sensors_event_t* outEvent, const sensors_event_t& event); |