platform/core/system/sensord.git
10 years agoModifying geomagnetic_RV files for new estimate_orientation 09/33209/1
Ramasamy [Wed, 7 Jan 2015 04:52:04 +0000 (10:22 +0530)]
Modifying geomagnetic_RV files for new estimate_orientation

- Adapting geomagnetic_RV octave files to the restructured
  estmate_orientation ocateve implementation
- cleanup

Change-Id: I84ce43db89cddbb7f664b67608e90ef9c2068d99

10 years agoAdapting estimate_orientation to support geomagnetic_RV 08/33208/1
Ramasamy [Wed, 7 Jan 2015 04:36:16 +0000 (10:06 +0530)]
Adapting estimate_orientation to support geomagnetic_RV

Restructuring estimate_orientation octave code to support both
quaternion generation using accel/gyro/mag or only using accel/mag
hardware sensors.

Change-Id: I0976df35d488d6bafb9ce064027ff7fd6e352dbd

10 years agoadding estimate_geomagtic_rv implementation 49/33149/2
Ramasamy [Tue, 6 Jan 2015 09:38:23 +0000 (15:08 +0530)]
adding estimate_geomagtic_rv implementation

Adding wrapper octave implementation for computing geomagnetic
rotation vector which would use the same estimate_orientation
implementation for computing the 9-axis rotation vector.

Change-Id: Id3f16a34357bc5439276521ac72c368cd7c8d591

10 years agoUpdating estimate_gravity implementation for quaternion outputs 36/33136/3
Ramasamy [Tue, 6 Jan 2015 07:42:15 +0000 (13:12 +0530)]
Updating estimate_gravity implementation for quaternion outputs

Updating estimate_gravity file to support output of orientation
estimation in terms of quaternions.

Change-Id: I1343cf2ab819680e445363becb5c72879430dc71

10 years agoUpdating sf_orientation implementation for quaternion 23/33123/3
Ramasamy [Tue, 6 Jan 2015 06:01:26 +0000 (11:31 +0530)]
Updating sf_orientation implementation for quaternion

Updating the sf_orientation octave implementation to support
the orientation computed interms of quaternions instead of euler
angles.

Change-Id: I5dc5e12ba9e70dc41bc20ebfef97cbd69b2ab808

10 years agoUpdating estimate_orientation call to output quaternions 16/33116/3
Ramasamy [Tue, 6 Jan 2015 05:37:12 +0000 (11:07 +0530)]
Updating estimate_orientation call to output quaternions

- Updating the estimate_orientation ocatave implementation to output
orientation values in terms of quaternions instead of euler angles.
- cleanup

Change-Id: Ida5a39a3270eafb26807a1bf218f3d48c32d789b

10 years agoRemoving low pass filtering from design 09/33109/3
Ramasamy [Tue, 6 Jan 2015 04:29:35 +0000 (09:59 +0530)]
Removing low pass filtering from design

- low pass filtering has already been removed from sensor fusion
implementation to improve estimated orientation response speed.
- updating the same in octave design

Change-Id: I1b9a3ea985424a9fa7db28655b11f674daa5ae75

10 years agoAdding simulation initialization file for Geomagnetic RV 05/33105/3
Ramasamy [Tue, 6 Jan 2015 03:38:03 +0000 (09:08 +0530)]
Adding simulation initialization file for Geomagnetic RV

Adding octave simulation initialization file which-
1) takes accelerometer and geomagnetic sensor inputs
2) calls geomagnetic rotation vector computation based on sensor
   fusion
3) converts the rotation vector to euler angles and plot the
   output

Change-Id: I61714d7d107925d3aa8e0400ac2900f7a70b0bc7

10 years agosensord: use LIBDIR macro for finding library path 00/33100/1
Kibak Yoon [Mon, 5 Jan 2015 15:56:18 +0000 (00:56 +0900)]
sensord: use LIBDIR macro for finding library path

Signed-off-by: Kibak Yoon <kibak.yoon@samsung.com>
Change-Id: Ia9ae92b3213f5ea9b0121c39e9137f9fe1b9274e

10 years agosensord: change int to intptr_t for avoiding build-break 99/33099/1
Kibak Yoon [Mon, 5 Jan 2015 15:22:37 +0000 (00:22 +0900)]
sensord: change int to intptr_t for avoiding build-break

Signed-off-by: Kibak Yoon <kibak.yoon@samsung.com>
Change-Id: I46b024ef239b3ac91d5ccccfb908811168f9f8e9

10 years agoMerge "sensord: add sensor api for avoiding build break" into tizen
Kibak Yoon [Mon, 5 Jan 2015 15:02:01 +0000 (07:02 -0800)]
Merge "sensord: add sensor api for avoiding build break" into tizen

10 years agoMerge "sensord: update for being the compatible with the x32 and x64" into tizen
Kibak Yoon [Mon, 5 Jan 2015 15:00:50 +0000 (07:00 -0800)]
Merge "sensord: update for being the compatible with the x32 and x64" into tizen

10 years agosensord: add sensor api for avoiding build break 95/33095/1
Kibak Yoon [Mon, 5 Jan 2015 14:57:27 +0000 (23:57 +0900)]
sensord: add sensor api for avoiding build break

Signed-off-by: Kibak Yoon <kibak.yoon@samsung.com>
Change-Id: Icb6934702fcef2c10e72c513d682caa1ed08c21e

10 years agoMerge "Removed compiler warning - unsused variable" into tizen
Kibak Yoon [Mon, 5 Jan 2015 14:33:02 +0000 (06:33 -0800)]
Merge "Removed compiler warning - unsused variable" into tizen

10 years agosensord: update for being the compatible with the x32 and x64 79/32479/5
Kibak Yoon [Thu, 18 Dec 2014 12:27:11 +0000 (21:27 +0900)]
sensord: update for being the compatible with the x32 and x64

* replaced "/usr/lib" by %{_libdir}
* replaced "/usr/include" by %{_includedir}

refered from the below url:
https://wiki.tizen.org/wiki/HOW-TO_Build_a_Tizen_distribution_for_x64_arch

Signed-off-by: Kibak Yoon <kibak.yoon@samsung.com>
Change-Id: I4c57f6ec79754aa20cd103d34e6a00ebfffff42c

10 years agoMerge "Adding test case for rotation_vector sensor" into tizen
Kibak Yoon [Mon, 5 Jan 2015 01:13:14 +0000 (17:13 -0800)]
Merge "Adding test case for rotation_vector sensor" into tizen

10 years agoMerge "Adding missing sensor_rv.h file" into tizen
Kibak Yoon [Mon, 5 Jan 2015 01:13:04 +0000 (17:13 -0800)]
Merge "Adding missing sensor_rv.h file" into tizen

10 years agoMerge changes I8c246a45,I8b9be20f into tizen
Kibak Yoon [Mon, 5 Jan 2015 01:12:51 +0000 (17:12 -0800)]
Merge changes I8c246a45,I8b9be20f into tizen

* changes:
  Updated sensor framework common files for RV sensor
  Adding Makelist support for virtual sensor configuration

10 years agoMerge "Adding lock in virtual sensor layer for sensor fusion library" into tizen
Kibak Yoon [Mon, 5 Jan 2015 01:12:20 +0000 (17:12 -0800)]
Merge "Adding lock in virtual sensor layer for sensor fusion library" into tizen

10 years agoMerge "Updating virtual sensor xml configuration for multiple devices" into tizen
Kibak Yoon [Mon, 5 Jan 2015 01:12:08 +0000 (17:12 -0800)]
Merge "Updating virtual sensor xml configuration for multiple devices" into tizen

10 years agoMerge "Fixing 64 bit compiler issue for sensor_data class" into tizen
Kibak Yoon [Mon, 5 Jan 2015 01:11:47 +0000 (17:11 -0800)]
Merge "Fixing 64 bit compiler issue for sensor_data class" into tizen

10 years agoMerge "Removed compiler warning - comparison between signed and unsigned integers...
Kibak Yoon [Mon, 5 Jan 2015 01:11:30 +0000 (17:11 -0800)]
Merge "Removed compiler warning - comparison between signed and unsigned integers" into tizen

10 years agoMerge "Removed compiler warning - pointer of type 'void *' used in arithmetic" into...
Kibak Yoon [Mon, 5 Jan 2015 01:11:04 +0000 (17:11 -0800)]
Merge "Removed compiler warning - pointer of type 'void *' used in arithmetic" into tizen

10 years agoMerge "Removed compiler warning - dereferencing type-punned pointer will break strict...
Kibak Yoon [Mon, 5 Jan 2015 01:10:30 +0000 (17:10 -0800)]
Merge "Removed compiler warning - dereferencing type-punned pointer will break strict-aliasing rules" into tizen

10 years agoMerge "Removed compiler warning - Comparison between signed and unsigned integers...
Kibak Yoon [Mon, 5 Jan 2015 01:10:12 +0000 (17:10 -0800)]
Merge "Removed compiler warning - Comparison between signed and unsigned integers" into tizen

10 years agoMerge "Removed warning - use of deprecated function" into tizen
Kibak Yoon [Mon, 5 Jan 2015 01:09:52 +0000 (17:09 -0800)]
Merge "Removed warning - use of deprecated function" into tizen

10 years agoMerge "Removed compiler warning - implicit declaration of a function" into tizen
Kibak Yoon [Mon, 5 Jan 2015 01:09:31 +0000 (17:09 -0800)]
Merge "Removed compiler warning - implicit declaration of a function" into tizen

10 years agoMerge "Removed compiler warning - ignoring return value" into tizen
Kibak Yoon [Mon, 5 Jan 2015 01:09:17 +0000 (17:09 -0800)]
Merge "Removed compiler warning - ignoring return value" into tizen

10 years agoAdding test case for rotation_vector sensor 12/33012/1
Ramasamy [Fri, 2 Jan 2015 08:39:39 +0000 (14:09 +0530)]
Adding test case for rotation_vector sensor

- Adding test case for rotation vector sensor
- updated spec and cmake files for new test case

Change-Id: I9fd81a5d05c07f2f3ed0be0b7165f8a11a782ab6

10 years agoAdding missing sensor_rv.h file 08/33008/1
Ramasamy [Fri, 2 Jan 2015 06:32:53 +0000 (12:02 +0530)]
Adding missing sensor_rv.h file

- Adding missing sensor_rv.h from local machine to repository to
avoid compiler errors.

Change-Id: I679ba00b31ca07a799ad0c8b4fc0b7753c02bb47

10 years agoUpdated sensor framework common files for RV sensor 05/33005/1
Ramasamy [Fri, 2 Jan 2015 06:01:45 +0000 (11:31 +0530)]
Updated sensor framework common files for RV sensor

- Updated sensor_common.h file for RV sensor
- Updated client_common.cpp file for RV sensor

Change-Id: I8c246a45b5ea99a4ae46837115842b3fe1240d40

10 years agoAdding Makelist support for virtual sensor configuration 03/33003/3
Ramasamy [Fri, 2 Jan 2015 05:16:09 +0000 (10:46 +0530)]
Adding Makelist support for virtual sensor configuration

- Added xml configuration support for CMakelist
- Updated spec file for virtual sensor xml

Change-Id: I8b9be20f0f3d4ae728a172237640454e4880de36

10 years agoAdding lock in virtual sensor layer for sensor fusion library 01/33001/1
Ramasamy [Fri, 2 Jan 2015 04:43:05 +0000 (10:13 +0530)]
Adding lock in virtual sensor layer for sensor fusion library

- Adding mutex lock in virtual sensor layer to restrict usage and
access to sensor fusion library.
- adding lock for event driven and polling based calls

Change-Id: I2202d046544de4d8474606179a516a5e38b77548

10 years agoUpdating virtual sensor xml configuration for multiple devices 00/33000/1
Ramasamy [Fri, 2 Jan 2015 04:23:28 +0000 (09:53 +0530)]
Updating virtual sensor xml configuration for multiple devices

- Updated virtual sensor xml configuration file to support
multiple devices and emulators
- Updated virtual sensor xml parser to support additional
functionality

Change-Id: I647958a6010e7ecebfc282ba72bf61ac6706d5cf

10 years agoAdding Rotation Vector virtual sensor 99/32999/2
Ramasamy [Fri, 2 Jan 2015 04:05:02 +0000 (09:35 +0530)]
Adding Rotation Vector virtual sensor

- Added 9-axis rotation vector based on sensor fusion
- Added xml configuration support for virtual sensor
- Added xml configuration for loading rotation vector library
- Updated build and spec files

Change-Id: I540b277019aa9a946e267b89c39a15e168dbe9f0

10 years agoUpdating linear acceleration range in get_properties 98/32998/1
Ramasamy [Fri, 2 Jan 2015 03:35:11 +0000 (09:05 +0530)]
Updating linear acceleration range in get_properties

- Updating the min_range and max_range values in get_properties to
to shown according to accelerometer range.
- cleanup

Change-Id: I2f2c68b8e29aad658d1cea1eed8ef7fc3bd0a2c4

10 years agoFix for orientation values being set to Nan 97/32997/1
Ramasamy [Fri, 2 Jan 2015 03:20:16 +0000 (08:50 +0530)]
Fix for orientation values being set to Nan

- Fixing issue where low floating point values are rounded of to
zero.
- indexing issue.
- Cleanup

Change-Id: Ief4a37395b50f8946bf1d622c0895a881c3a7619

10 years agoRemoved compiler warning - comparison between signed and unsigned integers 25/32825/1
Ankur [Wed, 24 Dec 2014 12:07:22 +0000 (17:37 +0530)]
Removed compiler warning - comparison between signed and unsigned integers

-The signed variables were positive the whole time. So, converted them from ssize_t to size_t

Change-Id: I743cd86f864ac22820951302679f2889e42e11b9

10 years agoRemoved compiler warning - pointer of type 'void *' used in arithmetic 24/32824/1
Ankur [Wed, 24 Dec 2014 12:04:20 +0000 (17:34 +0530)]
Removed compiler warning - pointer of type 'void *' used in arithmetic

-The void * pointer was being directly used in the calculation without type cast.
-Tested after change. Seems to work fine.

Change-Id: I483f946d870b3b5b1415139dbd0f442796b18059

10 years agoRemoved compiler warning - dereferencing type-punned pointer will break strict-aliasi... 21/32821/1
Ankur [Wed, 24 Dec 2014 12:01:20 +0000 (17:31 +0530)]
Removed compiler warning - dereferencing type-punned pointer will break strict-aliasing rules

-Tested the change. Works fine.

Change-Id: Ib2dfbd9fb67fe1c634df84ef833953db471fbd74

10 years agoRemoved compiler warning - Comparison between signed and unsigned integers 55/32755/1
Ankur [Tue, 23 Dec 2014 13:22:50 +0000 (18:52 +0530)]
Removed compiler warning - Comparison between signed and unsigned integers

-In client.cpp, the variable was an index for 'for' loop, and was always positive, so can be changed on unsigned.
-In sensor_plugin_loader.cpp, the variable was intialized with a variable which was unsigned int, and later was right shifted
which will remain positive, so can be changed to unsigned int

Change-Id: I9efeea4c4a90186378eefbe24f76eb945ae9a3db

10 years agoRemoved compiler warning - unsused variable 53/32753/1
Ankur [Tue, 23 Dec 2014 12:57:12 +0000 (18:27 +0530)]
Removed compiler warning - unsused variable

-Removed unused variable from the test file test/src/geomagnetic.c

Change-Id: I29bfb955c0ff715dfa9458c45d2a509a78ced99d

10 years agoRemoved warning - use of deprecated function 35/32735/2
Ankur [Tue, 23 Dec 2014 10:06:40 +0000 (15:36 +0530)]
Removed warning - use of deprecated function

-The function g_type_init() has been deprecated in glib from version 2.36. So no need to call this for version 2.36 and above.
-There is a macro for the glib version called - GLIB_VERSION_2_36 (2_36 can be replaced by the version number)
-So, used this macro to check if the glib version is old or new and based on that function call should be placed.

Change-Id: I291c32825ade29375b46df4ba2cef3a3fc13503e

10 years agoRemoved compiler warning - implicit declaration of a function 31/32731/1
Ankur [Tue, 23 Dec 2014 08:51:37 +0000 (14:21 +0530)]
Removed compiler warning - implicit declaration of a function

-Needed to include #include <string.h> before using the string functions.
-Already submitted a similar change.
-Some of the files here, which were showing warning, were already fixed.
But, seems some other change has removed the #include <string.h>. So, I am resubmitting it.
-Remaining files - earlier string functions were not being used.

Change-Id: I8d1c98de81ee39308343f42034c414501e60d653

10 years agoRemoved compiler warning - ignoring return value 30/32730/1
Ankur [Tue, 23 Dec 2014 07:08:48 +0000 (12:38 +0530)]
Removed compiler warning - ignoring return value

-Warning related to return value of asprintf() being ignored.
- asprintf returns -1 if failed. Added an if statement to check if the asprintf has failed or not.

Change-Id: I35a80554dd730e1722b975e488335910fd330d56

10 years agoMerge "Adding polling based support for testing proximity sensor" into tizen
Kibak Yoon [Mon, 22 Dec 2014 12:55:49 +0000 (04:55 -0800)]
Merge "Adding polling based support for testing proximity sensor" into tizen

10 years agoMerge "Adding polling based support for testing gyroscope sensor" into tizen
Kibak Yoon [Mon, 22 Dec 2014 12:49:27 +0000 (04:49 -0800)]
Merge "Adding polling based support for testing gyroscope sensor" into tizen

10 years agoMerge "Adding polling based support for testing of light sensor" into tizen
Kibak Yoon [Mon, 22 Dec 2014 12:49:15 +0000 (04:49 -0800)]
Merge "Adding polling based support for testing of light sensor" into tizen

10 years agoAdding polling based support for testing proximity sensor 70/32670/4
Vibhor Gaur [Mon, 22 Dec 2014 12:45:52 +0000 (18:15 +0530)]
Adding polling based support for testing proximity sensor

Change-Id: I0a5c82eb75a615348a348f56bf9254bc0d4f17c9

10 years agoAdding polling based support for testing of light sensor 49/32649/6
Vibhor Gaur [Mon, 22 Dec 2014 12:34:12 +0000 (18:04 +0530)]
Adding polling based support for testing of light sensor

Change-Id: Iab85d66ad648a2ecd5669938b448728ddfe898c7

10 years agoAdding polling based support for testing pressure sensor 18/32618/2
Vibhor Gaur [Mon, 22 Dec 2014 12:20:40 +0000 (17:50 +0530)]
Adding polling based support for testing pressure sensor

Change-Id:  I843b060db3f28a76cbac33c7deebb701055e8681

10 years agoAdding polling based support for testing gyroscope sensor 68/32368/4
Vibhor Gaur [Mon, 22 Dec 2014 12:09:15 +0000 (17:39 +0530)]
Adding polling based support for testing gyroscope sensor

Change-Id: Ibff596783a3d5c69f8fedc284df2f46cea144315

10 years agoMerge "Removed warnings related to unused variables" into tizen
Kibak Yoon [Mon, 22 Dec 2014 12:06:26 +0000 (04:06 -0800)]
Merge "Removed warnings related to unused variables" into tizen

10 years agoRemoved warnings related to unused variables 74/32674/1
Ankur [Mon, 22 Dec 2014 12:05:34 +0000 (17:35 +0530)]
Removed warnings related to unused variables

-Removed two unused variables. Both variables were never being intialised or being assigned or being used anywhere in the code.
The variables were just declared. Safe to remove such variables.

Change-Id: I998a1c0c2978d48150c1b15e9b0cc083e430c73a

10 years agoAdding polling based support for testing accelerometer 58/32358/7
Vibhor Gaur [Mon, 22 Dec 2014 11:58:25 +0000 (17:28 +0530)]
Adding polling based support for testing accelerometer

Change-Id: Id1a4343e8ad9ca44d9bb5a1027526ed50f88b6e2

10 years agoFixing 64 bit compiler issue for sensor_data class 46/32646/3
Ramasamy [Mon, 22 Dec 2014 05:39:57 +0000 (11:09 +0530)]
Fixing 64 bit compiler issue for sensor_data class

Removed constructor default initialization for timestamp in
sensor_data class.sensor_data class is used only in sensor
fusion scenario. Since Sensor Fusion requires that timestamp
is always initialized in virtual sensors, timestamp
initialization in sensor_data class can be removed.

Change-Id: Ic2b4e96f6c0bcdcab53697a5f681e914b5fea5f9

10 years agoMerge "Adding orientation filter to support quaternion output" into tizen
Kibak Yoon [Mon, 22 Dec 2014 11:38:08 +0000 (03:38 -0800)]
Merge "Adding orientation filter to support quaternion output" into tizen

10 years agoMerge "Removed compiler warning for converting bool 'false' to pointer 'void *'"...
Kibak Yoon [Mon, 22 Dec 2014 11:37:54 +0000 (03:37 -0800)]
Merge "Removed compiler warning for converting bool 'false' to pointer 'void *'" into tizen

10 years agoMerge "Adding polling based support for testing of temperature sensor" into tizen
Kibak Yoon [Mon, 22 Dec 2014 11:29:09 +0000 (03:29 -0800)]
Merge "Adding polling based support for testing of temperature sensor" into tizen

10 years agoMerge "Removed warnings related to comparison between signed and unsigned int" into...
Kibak Yoon [Mon, 22 Dec 2014 11:28:41 +0000 (03:28 -0800)]
Merge "Removed warnings related to comparison between signed and unsigned int" into tizen

10 years agoMerge "Removed compiler warnings related to unused variable" into tizen
Kibak Yoon [Mon, 22 Dec 2014 11:28:23 +0000 (03:28 -0800)]
Merge "Removed compiler warnings related to unused variable" into tizen

10 years agoMerge "Completed adding html documentation for sensor fusion" into tizen
Kibak Yoon [Mon, 22 Dec 2014 11:25:49 +0000 (03:25 -0800)]
Merge "Completed adding html documentation for sensor fusion" into tizen

10 years agoMerge "Adding description for Measurement update system" into tizen
Kibak Yoon [Mon, 22 Dec 2014 11:24:24 +0000 (03:24 -0800)]
Merge "Adding description for Measurement update system" into tizen

10 years agoMerge "Removed warnings related to unintialized variables" into tizen
Kibak Yoon [Mon, 22 Dec 2014 11:20:43 +0000 (03:20 -0800)]
Merge "Removed warnings related to unintialized variables" into tizen

10 years agoMerge "Added missing function call" into tizen
Kibak Yoon [Mon, 22 Dec 2014 11:20:26 +0000 (03:20 -0800)]
Merge "Added missing function call" into tizen

10 years agoMerge "Removed missing parantheses warning" into tizen
Kibak Yoon [Mon, 22 Dec 2014 11:20:12 +0000 (03:20 -0800)]
Merge "Removed missing parantheses warning" into tizen

10 years agoMerge "Fixed implicit declaration warnings" into tizen
Kibak Yoon [Mon, 22 Dec 2014 11:19:47 +0000 (03:19 -0800)]
Merge "Fixed implicit declaration warnings" into tizen

10 years agoRemoved compiler warning for converting bool 'false' to pointer 'void *' 71/32671/1
Ankur [Mon, 22 Dec 2014 11:07:30 +0000 (16:37 +0530)]
Removed compiler warning for converting bool 'false' to pointer 'void *'

-In the function sensor_get_sensor() in src/libsensord/client.cpp boolean 'false' was being converted to void *
This was showing as a warning at compile time. For returning failed cases, NULL should be returned.
The call to sensor_info_to_sensor in this function also returns NULL when failed.
-Tested the code after change. Seems to be working fine.

Change-Id: Id100370c9bc8b9f62c86acb6968f766b10370d7b

10 years agoAdding orientation filter to support quaternion output 63/32663/1
Ramasamy [Mon, 22 Dec 2014 10:16:46 +0000 (15:46 +0530)]
Adding orientation filter to support quaternion output

- orientation_filter would output device orientation as quaternion
to support rotation_vector virtual sensor.

Change-Id: I5e0cdcb1b218c59d32965deac76629f04c728899

10 years agoRemoved warnings related to comparison between signed and unsigned int 61/32661/1
Ankur [Mon, 22 Dec 2014 09:42:25 +0000 (15:12 +0530)]
Removed warnings related to comparison between signed and unsigned int

-converted int variables to unsinged int to remove warnings for comparison between signed and unsigned integers.

Change-Id: I3e0187d002b19b215a5d542d1206ba51ef663368

10 years agoAdding polling based support for testing of temperature sensor 58/32658/2
Vibhor Gaur [Mon, 22 Dec 2014 09:02:22 +0000 (14:32 +0530)]
Adding polling based support for testing of temperature sensor

Change-Id: I3ff0750bd160c3259062a4f91542b69947597b53

10 years agoRemoved compiler warnings related to unused variable 57/32657/1
Ankur [Mon, 22 Dec 2014 08:51:48 +0000 (14:21 +0530)]
Removed compiler warnings related to unused variable

-changed the variable (MS_TO_US) declaration to a macro as done in other files
this removes the warning in csensor_event_listener.cpp regarding unused variable.
-similarly, based on this, changed all occurrences of (MIN_DELIVERY_DIFF_FACTOR) from variable declaration to macro
this removes the warning in csensor_event_listener.cpp regarding unused variable.

Change-Id: I98708ed5eca0d84dd959d5a59ad865f5381c0b26

10 years agoCompleted adding html documentation for sensor fusion 41/32641/1
Ramasamy [Mon, 22 Dec 2014 03:57:20 +0000 (09:27 +0530)]
Completed adding html documentation for sensor fusion

Added all sections for sensor fusion html documentation.

Change-Id: Ibb50bad292c6056b6dd8d37b80ca0a8dda88ae74

10 years agoAdding description for Measurement update system 67/32567/3
Ramasamy [Fri, 19 Dec 2014 05:41:18 +0000 (11:11 +0530)]
Adding description for Measurement update system

Adding description for the sensor fusion measurement update system
in html documentation.

Change-Id: I7dc24f7940cfb8d607313fe9b3cd405abf1666e2

10 years agoMerge "Fixed Intialization Warnings" into tizen
Kibak Yoon [Fri, 19 Dec 2014 01:47:24 +0000 (17:47 -0800)]
Merge "Fixed Intialization Warnings" into tizen

10 years agoRemoved missing parantheses warning 95/32495/1
Ankur [Thu, 18 Dec 2014 14:28:08 +0000 (19:58 +0530)]
Removed missing parantheses warning

-Added missing parantheses arounf an assignment in a condition.
-Removed Missing Parantheses Warning.

Change-Id: Ib7814ef31a911896e868b11cfc057284573bee7a

10 years agoAdded missing function call 94/32494/1
Ankur [Thu, 18 Dec 2014 14:14:49 +0000 (19:44 +0530)]
Added missing function call

- Missing Function call to sf_stop() in one of the test cases - linear_acceleration.c
- Also, it was leading to a warning about use before intialization warning.

Change-Id: Ic0df7b6334945ac62048fee9ddcdb32fdf0fcba9

10 years agoRemoved warnings related to unintialized variables 93/32493/1
Ankur [Thu, 18 Dec 2014 13:58:45 +0000 (19:28 +0530)]
Removed warnings related to unintialized variables

-Warnings related to variables being used without initialization. Intialized the variables.
Actually, the variables were not beng used without initialization but the cases where the variables are being used are mutually exclusive.
So, varaibles have to be intialized to some intial value to remove the warning.

Change-Id: I4041e9d3256c40acb8cdbebbc810275123601603

10 years agoFixed implicit declaration warnings 82/32482/1
Ankur [Thu, 18 Dec 2014 13:24:40 +0000 (18:54 +0530)]
Fixed implicit declaration warnings

-Fixed warnings related to implicit delcaration of strcmp() function.
Error: missing #include<string.h> from the files which are using the function strcmp

Change-Id: Ia8c3fec21b7f622543b646063ec9718f5b1cba83

10 years agoFixed Compilation warnings related to Intialization 73/32473/1
Ankur [Thu, 18 Dec 2014 10:43:02 +0000 (16:13 +0530)]
Fixed Compilation warnings related to Intialization

-Error fixed: Variable was being used before intialization
-Testing will be done once the test cases are completed.

Change-Id: I5316bce003717d97f6e3cd65a909d94e1c84ad0c

10 years agoFixed Intialization Warnings 59/32359/1
Ankur [Wed, 17 Dec 2014 11:11:59 +0000 (16:41 +0530)]
Fixed Intialization Warnings

-Reordered some variable intializations to remove warnings related to order of initializations.
Change-Id: Ibf56efd6f19c11229a18fbe6a613ffcf2b172a16

10 years agoAdding information for time update system 21/32121/2
Ramasamy [Tue, 16 Dec 2014 04:06:57 +0000 (09:36 +0530)]
Adding information for time update system

Adding description for Time update System section in sensor fusion
html documentation.

Change-Id: I94f87c6ccd3f4bfcfc005d37a480e4fd57fb11c8

10 years agoAdding information for Driving System 07/32007/3
Ramasamy [Mon, 15 Dec 2014 03:49:38 +0000 (09:19 +0530)]
Adding information for Driving System

Updating documentation for 'Orientation Computation based on driving system'
section in html documentation.

Change-Id: Ibb483e5ba4e658f1710bec934666a7696e5ab92c

10 years agoAdding information for Aiding system 36/31936/3
Ramasamy [Fri, 12 Dec 2014 10:32:42 +0000 (16:02 +0530)]
Adding information for Aiding system

Added explanation for orientation computation based on aiding system
for sensor fusion html documentation.

Change-Id: I49ced6087a178c8e57e2b39940b148585ddaf67a

10 years agoAdding explanation for preprocessing sensor data 36/31836/3
Ramasamy [Thu, 11 Dec 2014 04:33:00 +0000 (10:03 +0530)]
Adding explanation for preprocessing sensor data

- Adding explanation for the section on preprocessing sensor data, in html
documentation.

Change-Id: I3c372a56680531b9ef1859ccc5bd6b5d981f3ee0

10 years agoMerge changes Ia892d299,I601ca6fb into tizen
Kibak Yoon [Tue, 16 Dec 2014 05:51:09 +0000 (21:51 -0800)]
Merge changes Ia892d299,I601ca6fb into tizen

* changes:
  Supporting edge conditions during gravity computation
  Adding explanation for orientation estimation

10 years agoSupporting edge conditions during gravity computation 35/31835/3
Ramasamy [Thu, 11 Dec 2014 03:56:16 +0000 (09:26 +0530)]
Supporting edge conditions during gravity computation

- Adding edge use cases for gravity computation when rotation
happens with pitch or roll at 90 degrees.

Change-Id: Ia892d29964b62bada616e8da23cff5844308a59b

10 years agoAdding explanation for orientation estimation 33/31733/2
Ramasamy [Tue, 9 Dec 2014 04:11:08 +0000 (09:41 +0530)]
Adding explanation for orientation estimation

Change-Id: I601ca6fb11a146fcf8fb38cfb17cd6bd7f13a2e4

10 years agoCleanup of unsupported sensors related code 03/31503/2
Ramasamy [Fri, 5 Dec 2014 11:44:10 +0000 (17:14 +0530)]
Cleanup of unsupported sensors related code

- Removing code related to motion sensor
- cleanup of code for unused sensors

Change-Id: I8e10ad057ac007cf7576560875cb5072a9efb7df

10 years agoMerge changes I913ae44d,I913ae44d into tizen
Kibak Yoon [Mon, 8 Dec 2014 11:10:31 +0000 (03:10 -0800)]
Merge changes I913ae44d,I913ae44d into tizen

* changes:
  Adding equations for measurement system, gravity, Linear Accel
  Adding document time update related equations

10 years agoMerge "Adding document equations for aiding and driving systems" into tizen
Kibak Yoon [Mon, 8 Dec 2014 11:06:31 +0000 (03:06 -0800)]
Merge "Adding document equations for aiding and driving systems" into tizen

10 years agoAdding equations for measurement system, gravity, Linear Accel 56/31456/1
Ramasamy [Fri, 5 Dec 2014 05:15:15 +0000 (10:45 +0530)]
Adding equations for measurement system, gravity, Linear Accel

- Adding equations for measurement update system, gravity
computation and linear acceleration

Change-Id: I913ae44de5fa30ee8c4a90bb5c62a7ff93f0588d

10 years agoAdding document time update related equations 56/31356/1
Ramasamy [Thu, 4 Dec 2014 10:03:36 +0000 (15:33 +0530)]
Adding document time update related equations

- Added time update related equations to sensor fusion document.
- cleanup of outdated section and diagram.

Change-Id: I913ae44de5fa30ee8c4a91cc5c62a7ff93f0588d

10 years agoAdding document equations for aiding and driving systems 35/31235/1
Ramasamy [Wed, 3 Dec 2014 04:28:05 +0000 (09:58 +0530)]
Adding document equations for aiding and driving systems

- Adding equations for aiding system and driving system
orientation estimation
- changed equation formating

Change-Id: I913ae44de5fa30ee8c4a91aa3a62a7ff93f0588d

10 years agoUpdating preprocessing and aiding system documentation 66/31166/2
Ramasamy [Tue, 2 Dec 2014 08:50:34 +0000 (14:20 +0530)]
Updating preprocessing and aiding system documentation

- Added new equations for preprocessing and aiding system
- Changed formating for documentation.
- Updated diagrams for orientation and gravity.

Change-Id: I913cd22de5fa30ee8c4a91cc7a62a7ff93f0588d

10 years agoMerge "Updating preprocessing and aiding system documentation" into tizen
Kibak Yoon [Tue, 2 Dec 2014 08:52:35 +0000 (00:52 -0800)]
Merge "Updating preprocessing and aiding system documentation" into tizen

10 years agoMerge "Configuring proxi test file by removing redundancies and making compatible...
Kibak Yoon [Thu, 27 Nov 2014 06:41:58 +0000 (22:41 -0800)]
Merge "Configuring proxi test file by removing redundancies and making compatible with IIO interface support" into tizen

10 years agoMerge "Fixing build issues in virtual sensors test files" into tizen
Kibak Yoon [Thu, 27 Nov 2014 06:41:09 +0000 (22:41 -0800)]
Merge "Fixing build issues in virtual sensors test files" into tizen

10 years agoFixing build issues in virtual sensors test files 60/30860/2
Vibhor Gaur [Wed, 26 Nov 2014 06:33:13 +0000 (12:03 +0530)]
Fixing build issues in virtual sensors test files

Change-Id: Ic009931a0bac60f27cd832e089097c034e5721af

10 years agoConfiguring proxi test file by removing redundancies and making compatible with IIO... 56/30756/3
Vibhor Gaur [Tue, 25 Nov 2014 05:50:32 +0000 (11:20 +0530)]
Configuring proxi test file by removing redundancies and making compatible with IIO interface support

Change-Id: I8a38fcad95460b09cb8f78eb07d61f5521b16541