Fix for Nan issues in virtual sensor using fusion 71/33971/2
authorRamasamy <ram.kannan@samsung.com>
Mon, 19 Jan 2015 09:51:04 +0000 (15:21 +0530)
committerRamasamy Kannan <ram.kannan@samsung.com>
Wed, 21 Jan 2015 03:10:13 +0000 (19:10 -0800)
commitf932454643baa487de733160e6ff9221e1a44d21
treeae3d74b388d1f4b12bc069c974afad6ecd89695c
parentd1cf325dd254ca512ecd731601cfa07662d29d5b
Fix for Nan issues in virtual sensor using fusion

- Very small float values during multiplication with other small
float values get rounded of to zero.
- This fix ensures that very small values are set to negligible
values instead before they are rounded of to zero.

Change-Id: Ic8c60137586c1835838ccdb2ebbd85e4f3662927
src/sensor_fusion/orientation_filter.cpp