895401859313187f15a800e62d43e6bcbf48fada |
|
15-Jun-2012 |
JP Abgrall <jpa@google.com> |
Revert "HACK: libsensors: Initial attempt at MotionApps 5.1 for MPU6050 + AKM8975" Need to revert this. The new iio hal breaks the build for other devices. I first need understand the dependencies. This reverts commit c0aca57ba5869c883bb8ce2dd1d90db86c8212f9.
/hardware/invensense/libsensors/MPLSensor.h
|
c0aca57ba5869c883bb8ce2dd1d90db86c8212f9 |
|
15-Jun-2012 |
JP Abgrall <jpa@google.com> |
HACK: libsensors: Initial attempt at MotionApps 5.1 for MPU6050 + AKM8975 The code in this patch still needs work. But checking it in will allow other parts of the sensor stack to have something to work with. 1. Have sensor HAL for IIO driver, which uses MPU6050 + AKM8975 (on 2nd bus). 2. Include MPL binaries (libmllite.so/libmplmpu.so). 3. Include necessary header files. 4. remove light sensor dependency. 5. add missing include file. 6. modify the module name into "manta". 7. remove mlsdk directory. 8. Fix some known issues. 9. Sync up to June.12. 10. Tweak slightly so that it can be used with other sensors on manta. Change-Id: Ibabcef6efe279724ad5d6f7640d66f99c59feaaf Signed-off-by: Mars Lee <mlee@invensense.com>
/hardware/invensense/libsensors/MPLSensor.h
|
7d8af67e7ac5586970424acdad1c78b392e6e3d2 |
|
07-Oct-2011 |
Rosa Chow <rchow@invensense.com> |
Write to calibration file depends on figure 8 motion (compass) This patch will allow writing to calibration file when compass is enabled and figure 8 is performed. Previously, writing to calibration file depends on gyro no motion state. Change-Id: I81ea466e9878ecbfdc0241ec577da856c919b74b
/hardware/invensense/libsensors/MPLSensor.h
|
be6c0220038706c329ea7e40bf07b1fa130977c8 |
|
09-Sep-2011 |
Rosa <rchow@invensense.com> |
Fix various issues with the sensor HAL This commit fixes the following reported issues: 1) there are a lot of LOG spew Silent Poll__setDelay and Poll__activiate LOG spew. Changed "setDelay handle" to LOGD instead of of LOGE. 2) Gyro HAL reports a resolution of 0.28 rad/s, that is 16 deg/s. That seems wrong. It appears the previous values we used was under the most sensitive settings, the new value is using an average setting instead. 3) The orientation sensor reports a name of "MPL Orientation (android deprecated format)". Please remove the "android deprecated format" from the name. Removed "android deprecated format" 4) MPL linear accel reports a max range of 10240.0 m/s^2. This seems wrong (that 1000+ Gs!!) Please rename to "MPL Linear Acceleration" (accel is not a word). It appears that the dynamic sensor list does not recognize the accel id (or compass id) that were passed, causing the system to always read the initialized value. This is now fixed. Renamed to MPL Linear Acceleration and MPL labels to be more humanly readable. 5) Fix for more accurate time stamps. This is a small subset of what we committed to Rocky's team and Kevin felt it was an easy change. Instead of using system time stamp, the fix is to retrive timestamp directly from the driver when an IRQ is fired. Change-Id: I8cfbd7cdecbd2e25613204ec1013e6079de97f37
/hardware/invensense/libsensors/MPLSensor.h
|
986d38918eb72f00a67189a942da432df17e504e |
|
17-Aug-2011 |
Kevin Powell <kpowell@invensense.com> |
dynamically construct the sensor list. MPL integration is modified such that the list of sensors returned at sensorservice init time is dynamic and is based on whether or not the InvenSense 9axis binary is present. Real values for the sensor properties (range, power, res) are provided. Change-Id: I594597e8c7a8368c15e9095d61a6ce6d3c55d8f2
/hardware/invensense/libsensors/MPLSensor.h
|
42331858975144405f95243be8427084ee7d478d |
|
01-Aug-2011 |
Jean-Baptiste Queru <jbq@google.com> |
Invensense sensor code, moved to the open-source side Change-Id: I616c13fdbc2235e400660f6f7a97f879b30879fc
/hardware/invensense/libsensors/MPLSensor.h
|