Adding methods for common sensor_fusion flow 99/36099/1
authorRamasamy <ram.kannan@samsung.com>
Mon, 2 Mar 2015 10:27:24 +0000 (15:57 +0530)
committerRamasamy <ram.kannan@samsung.com>
Mon, 2 Mar 2015 10:27:29 +0000 (15:57 +0530)
commitcd6e49282798d3c643e488c9bc9e2b869fbe3d8a
tree654a0c1617c5a93f70fd4c1631cfefbee7384af7
parent9e537f46b7a6efee960bd17d4a06e19c738bec60
Adding methods for common sensor_fusion flow

- Adding new methods for a common orientation computation flow
irrespective of the sensors used in the inputs
- Changing sensor inputs to pointers for checking if inputs are
enabled.
- Tested on rotation_matrix functionality which is not used in any
virtual sensor and using standalone test code.

Change-Id: I763305f06346db2cce87c61e870c0a43f0d1e0e0
src/sensor_fusion/orientation_filter.cpp
src/sensor_fusion/orientation_filter.h
src/sensor_fusion/test/orientation_sensor.cpp
src/sensor_fusion/test/orientation_sensor.h
src/sensor_fusion/test/test_projects/orientation_sensor_test/orientation_sensor_main.cpp