Gyroscope RV Sensor 76/84076/7
authorakhilkedia94 <akhil.kedia@samsung.com>
Tue, 16 Aug 2016 11:40:06 +0000 (20:40 +0900)
committerakhilkedia94 <akhil.kedia@samsung.com>
Thu, 25 Aug 2016 02:52:46 +0000 (11:52 +0900)
commitfd20718e52379e8ccb0de0b727c5f85862aad182
tree3fb0b4f3a543eec8ef9bfbf653fe558d8c70d25a
parent5934d9ea1345ca495e2d9b9f42c7fc2cbf0a0eac
Gyroscope RV Sensor

Created a Rotation Vector Sensor which uses only accel and gyro

Note - In lines 288-290 of src/sensor/rotation_vector/fusion_utils/
orientation_filter.cpp, the fusion backend does not update the quaternion
if acceleration and gyroscope values are higher than a very low threshold.

While this may improve performance in high noise situations, doing so
causes the sensor to not update its values in most common-use scenarios.

I would hence recommend to remove the 3 if conditions in the lines above.

Change-Id: I0b96e6235c52f76195529b918bd54e29bf946631
Signed-off-by: akhilkedia94 <akhil.kedia@samsung.com>
src/sensor/rotation_vector/gyro_rv_sensor.cpp [new file with mode: 0644]
src/sensor/rotation_vector/gyro_rv_sensor.h [new file with mode: 0644]
src/server/sensor_loader.cpp