platform/core/system/sensord.git
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 "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

10 years agoMerge "Updating gyroscope test file for compatibility with changes in public code...
Kibak Yoon [Thu, 27 Nov 2014 06:25:05 +0000 (22:25 -0800)]
Merge "Updating gyroscope test file for compatibility with changes in public code" into tizen

10 years agoMerge "Updating pressure test file for compatibility with changes in public code...
Kibak Yoon [Thu, 27 Nov 2014 06:24:42 +0000 (22:24 -0800)]
Merge "Updating pressure test file for compatibility with changes in public code" into tizen

10 years agoMerge "Configuring geomagnetic test file with changes in public code for IIO interfac...
Kibak Yoon [Thu, 27 Nov 2014 06:24:22 +0000 (22:24 -0800)]
Merge "Configuring geomagnetic test file with changes in public code for IIO interface" into tizen

10 years agoMerge "Updating accelerometer test file for compatibility with changes in public...
Kibak Yoon [Thu, 27 Nov 2014 06:23:54 +0000 (22:23 -0800)]
Merge "Updating accelerometer test file for compatibility with changes in public code" into tizen

10 years agoUpdating pressure test file for compatibility with changes in public code 07/30707/2
Vibhor Gaur [Mon, 24 Nov 2014 12:36:16 +0000 (18:06 +0530)]
Updating pressure test file for compatibility with changes in public code

Change-Id: I7f70f6ca7ac5641fc03e6fea9b8f82616e6a875d

10 years agoUpdating gyroscope test file for compatibility with changes in public code 06/30706/2
Vibhor Gaur [Mon, 24 Nov 2014 12:23:05 +0000 (17:53 +0530)]
Updating gyroscope test file for compatibility with changes in public code

Change-Id: I913ae44de5fa30ee8c4a91cc7a62a7ff93f0588d

10 years agoUpdating accelerometer test file for compatibility with changes in public code 03/30703/3
Vibhor Gaur [Mon, 24 Nov 2014 12:05:55 +0000 (17:35 +0530)]
Updating accelerometer test file for compatibility with changes in public code

Change-Id: I601ca6fb00d046fcf8fb38cfb17cd6bd7f13a2e4

10 years agoConfiguring geomagnetic test file with changes in public code for IIO interface 83/30883/3
Vibhor Gaur [Wed, 26 Nov 2014 12:13:43 +0000 (17:43 +0530)]
Configuring geomagnetic test file with changes in public code for IIO interface

Change-Id: I33d93962102b0d69cc8c515fa4d2086d52584115

10 years agoAdding configuration details for linear accel sensor 07/30807/3
Ramasamy [Tue, 25 Nov 2014 11:22:01 +0000 (16:52 +0530)]
Adding configuration details for linear accel sensor

- Adding configuration information for linear accel virtual sensor

Change-Id: I9f10ad057ac007cf7576560875cb2572a9efb7df

10 years agoAdding configuration for gravity virtual sensor 01/30801/3
Ramasamy [Tue, 25 Nov 2014 10:52:18 +0000 (16:22 +0530)]
Adding configuration for gravity virtual sensor

- Adding configuration information for gravity virtual sensor
- Adding diagram for understanding gravity configuration
- Updated orientation sensor diagram to represent correct y-axis
  rotation.

Change-Id: I8e10ad057ac007cf7576560875cb2572a9efb7df

10 years agoAdding diagram to Configuration document 92/30792/2
Ramasamy [Tue, 25 Nov 2014 09:28:55 +0000 (14:58 +0530)]
Adding diagram to Configuration document

- Adding device orientation diagram
- Formating document for better readability

Change-Id: Ib14b4b95f3ba14b924f0da16683bd1bc077c4ac3

10 years agoUpdating orientation input units support for gravity 78/30778/2
Ramasamy [Tue, 25 Nov 2014 08:12:53 +0000 (13:42 +0530)]
Updating orientation input units support for gravity

- Adding support for input orientation in terms of degrees and
radians during computation of gravity.

Change-Id: Ib14b4b95f3ba98b924f0da16683bd1bc077c4ac3

10 years agoAdding Virtual Sensor Configuration Information 02/30702/4
Ramasamy [Mon, 24 Nov 2014 12:10:44 +0000 (17:40 +0530)]
Adding Virtual Sensor Configuration Information

Adding html document for information on configuring virtual
sensors.

Change-Id: I296dc7be45b201c70d151e7dac2e2b5325d5abd6

10 years agoUpdating the get_properties method 83/30683/1
Ramasamy [Mon, 24 Nov 2014 08:09:01 +0000 (13:39 +0530)]
Updating the get_properties method

- Updating get_properties method for gravity and linear
acceleration

Change-Id: I296dc7be45b201c55d151e7dac2e2b5325d5abc5

10 years agoUpdating configurability support for Orientation Sensor 81/30681/1
Ramasamy [Mon, 24 Nov 2014 08:01:46 +0000 (13:31 +0530)]
Updating configurability support for Orientation Sensor

- Added support for getting output orientation as both radians and
degrees
- Updating orientation sensor properties

Change-Id: I296dc7be45b201c70d151e7dac2e2b5325d5abc5

10 years agoAdding cconfig parent class for XML configuration 79/30679/1
Ramasamy [Mon, 24 Nov 2014 07:46:58 +0000 (13:16 +0530)]
Adding cconfig parent class for XML configuration

Adding cconfig parent class for XML configuration

Added cconfig parent class for cvirtual_sensor_config and
csensor_config. Removed config namespace as XML configuration
related code is small to have a separate namespace. Cleanup of
namespace related code. Changed derived class
cvirtual_sensor_config and csensor_config classes code based
on new cconfig parent class

Change-Id: I296dc7be45b201c70d040e7dac2e2b5325d5abc5

10 years agoSynchronizing temperature sensor plugin with addition of IIO interface support 77/30677/1
Vibhor Gaur [Mon, 24 Nov 2014 06:24:00 +0000 (11:54 +0530)]
Synchronizing temperature sensor plugin with addition of IIO interface support

Change-Id: I8e10ad057ac667cf7576560875cb2572a9efb7df

10 years agoMerge "Updating Linear Acceleration Virtual Sensor Code" into tizen
Kibak Yoon [Mon, 24 Nov 2014 04:17:46 +0000 (20:17 -0800)]
Merge "Updating Linear Acceleration Virtual Sensor Code" into tizen

10 years agoMerge "Updating Gravity Virtual Sensor Code" into tizen
Kibak Yoon [Mon, 24 Nov 2014 04:17:29 +0000 (20:17 -0800)]
Merge "Updating Gravity Virtual Sensor Code" into tizen

10 years agoMerge "Updating Orientation Virtual Sensor Code" into tizen
Kibak Yoon [Mon, 24 Nov 2014 04:17:06 +0000 (20:17 -0800)]
Merge "Updating Orientation Virtual Sensor Code" into tizen

10 years agoMerge "Synchronizing light sensor plugin with addition of IIO interface support"...
Kibak Yoon [Mon, 24 Nov 2014 04:16:35 +0000 (20:16 -0800)]
Merge "Synchronizing light sensor plugin with addition of IIO interface support" into tizen

10 years agoMerge "Updated year in license header to 2014" into tizen
Kibak Yoon [Mon, 24 Nov 2014 04:16:30 +0000 (20:16 -0800)]
Merge "Updated year in license header to 2014" into tizen

10 years agoSynchronizing pressure sensor plugin with addition of IIO interface support 47/30647/1
Amit Dharmapurikar [Fri, 21 Nov 2014 12:38:58 +0000 (18:08 +0530)]
Synchronizing pressure sensor plugin with addition of IIO interface support

Change-Id: I298a4e11dd2944724988d0fce061f4fee7a3e459
Signed-off-by: Amit Dharmapurikar <amit.vd@samsung.com>
10 years agoSynchronizing light sensor plugin with addition of IIO interface support 22/30622/2
Vibhor Gaur [Fri, 21 Nov 2014 10:05:04 +0000 (15:35 +0530)]
Synchronizing light sensor plugin with addition of IIO interface support

Change-Id: Icd70f7833feef03ce6d9daf7dd4aabf721d5d146

10 years agoUpdating Linear Acceleration Virtual Sensor Code 95/30595/2
Ramasamy [Fri, 21 Nov 2014 04:24:58 +0000 (09:54 +0530)]
Updating Linear Acceleration Virtual Sensor Code

- Updating Linear Acceleration sensor after testing on SDK
- Updating based on latest public code
- Updating for new XML based configuration file

Change-Id: I1981b0ce9a5a10525d54c3d6977075cd1f70e6d0

10 years agoUpdating Gravity Virtual Sensor Code 94/30594/1
Ramasamy [Fri, 21 Nov 2014 04:09:34 +0000 (09:39 +0530)]
Updating Gravity Virtual Sensor Code

- Updating Gravity sensor after testing on SDK
- Updating based on latest public code
- Updating for new XML based configuration file

Change-Id: I2000b0ce9a5a10525d54c3d6977075cd1f70e6d0

10 years agoUpdating Orientation Virtual Sensor Code 93/30593/1
Ramasamy [Fri, 21 Nov 2014 03:57:29 +0000 (09:27 +0530)]
Updating Orientation Virtual Sensor Code

- Updating Orientation sensor after testing on SDK
- Updating based on latest public code
- Updating for new XML based configuration file

Change-Id: I089d201406e03f283ed6a9bac2b1dbb8241bc219

10 years agoUpdated year in license header to 2014 92/30592/1
Ramasamy [Fri, 21 Nov 2014 03:31:55 +0000 (09:01 +0530)]
Updated year in license header to 2014

Updating license header year from 2013 to 2014

Change-Id: I11173a52e23c67e1234a0abce1f10b959cb5610f

10 years agoAdding virtual sensor XML and parser files 53/30553/2
Ramasamy [Thu, 20 Nov 2014 06:24:27 +0000 (11:54 +0530)]
Adding virtual sensor XML and parser files

Adding new virtual sensor XML file and XML parser files that are
needed for configuration of the virtual sensors.

Change-Id: I66673a52e23c67e1234a0abce1f10b959cb5610f

10 years agoMerge "Cleanup of sensor fusion related code" into tizen
Kibak Yoon [Thu, 20 Nov 2014 14:14:11 +0000 (06:14 -0800)]
Merge "Cleanup of sensor fusion related code" into tizen

10 years agoMerge "Renaming cconfig files and references to csensor_config" into tizen
Kibak Yoon [Thu, 20 Nov 2014 14:13:57 +0000 (06:13 -0800)]
Merge "Renaming cconfig files and references to csensor_config" into tizen

10 years agoMerge "Priority queue implementation for the event queue after change in public code...
Kibak Yoon [Thu, 20 Nov 2014 14:13:45 +0000 (06:13 -0800)]
Merge "Priority queue implementation for the event queue after change in public code for IIO driver suppoert" into tizen

10 years agoRenaming cconfig files and references to csensor_config 23/30523/2
Ramasamy [Thu, 20 Nov 2014 05:38:23 +0000 (11:08 +0530)]
Renaming cconfig files and references to csensor_config

renaming cconfig to csensor_config to add cvirtual_sensor_config
class for adding virtual sensor configuration. A virtual parent
class cconfig will be added later.

Change-Id: I801793991233a0b27cafdf0792c57443a098a067

10 years agoCleanup of sensor fusion related code 24/30524/2
Ramasamy [Wed, 19 Nov 2014 12:11:05 +0000 (17:41 +0530)]
Cleanup of sensor fusion related code

Cleanup of legacy sensor fusion code remaining after private
code sync with public code.

Change-Id: I66673a52e23c67e4839a0abce1f10b959cb5610f

10 years agoMerge "Updating sensor fusion library based on testing on Tizen SDK" into tizen
Kibak Yoon [Thu, 20 Nov 2014 05:03:50 +0000 (21:03 -0800)]
Merge "Updating sensor fusion library based on testing on Tizen SDK" into tizen

10 years agoSynchronizing proxi sensor plugin with addition of IIO interface support 52/30552/1
Amit Dharmapurikar [Thu, 20 Nov 2014 04:59:04 +0000 (10:29 +0530)]
Synchronizing proxi sensor plugin with addition of IIO interface support

Change-Id: Ic505aab62f6a42572a6cf441a9eb18b196ccb524
Signed-off-by: Amit Dharmapurikar <amit.vd@samsung.com>
10 years agoUpdating sensor fusion library based on testing on Tizen SDK 22/30522/1
Ramasamy [Wed, 19 Nov 2014 11:09:32 +0000 (16:39 +0530)]
Updating sensor fusion library based on testing on Tizen SDK

Updating sensor fusion library based on testing sensor fusion
solution on Tizen SDK using emulator event injector inputs.

Change-Id: I80179399aaa3a0b27cafdf0792c57443a098a067

10 years agoSynchronizing geo sensor plugin with addition of IIO interface support 68/30368/1
Amit Dharmapurikar [Mon, 17 Nov 2014 09:48:22 +0000 (15:18 +0530)]
Synchronizing geo sensor plugin with addition of IIO interface support

Change-Id: I089d290206e03f283ed6a9bac2b1dbb8241bc219
Signed-off-by: Amit Dharmapurikar <amit.vd@samsung.com>
10 years agoPriority queue implementation for the event queue after change in public code for... 06/30306/2
Vibhor Gaur [Fri, 14 Nov 2014 09:41:56 +0000 (15:11 +0530)]
Priority queue implementation for the event queue after change in public code for IIO driver suppoert

-Adding priority queue implementation after public code is changed for sync with private code.
-Shifting addition into priority list to server side as compared to the previous implementation where it was done on the shared side.Optimizes the number of instructions executed and enables insertion during event registration.
-priority list has been declared extern in csensor_event_queue.h  since we cannot include the file command_worker.cpp(where it is initially declared) in csensor_event_queue.h as it creates a cyclic dependency and fails in build.

Change-Id: I4ca49167c78beac802ba868543817d326e6d8a8e

10 years agoMerge "Gyro sensor plugin synchronization with IIO interface support" into tizen
Kibak Yoon [Fri, 14 Nov 2014 02:06:35 +0000 (18:06 -0800)]
Merge "Gyro sensor plugin synchronization with IIO interface support" into tizen

10 years agoMerge "Synchronizing sensord code with IIO driver support for accelerometer plugin...
Kibak Yoon [Fri, 14 Nov 2014 02:03:42 +0000 (18:03 -0800)]
Merge "Synchronizing sensord code with IIO driver support for accelerometer plugin" into tizen

10 years agoGyro sensor plugin synchronization with IIO interface support 24/30124/1
Amit Dharmapurikar [Tue, 11 Nov 2014 12:01:38 +0000 (17:31 +0530)]
Gyro sensor plugin synchronization with IIO interface support

- Modified gyro plugin as per latest code
- Added IIO driver interface support on RD-PQ target
- Added a minor fix in sensor_hal class and modifide accel_sensor_hal.cpp accordingly

Change-Id: I86b40f1f4c4bfecfda6406694c4c650751109009
Signed-off-by: Amit Dharmapurikar <amit.vd@samsung.com>
10 years agoMerge "Updating orientation sensor based on porting to SDK" into tizen
Kibak Yoon [Mon, 3 Nov 2014 06:59:19 +0000 (22:59 -0800)]
Merge "Updating orientation sensor based on porting to SDK" into tizen

10 years agoSynchronizing sensord code with IIO driver support for accelerometer plugin 47/29547/2
Amit Dharmapurikar [Wed, 29 Oct 2014 11:40:34 +0000 (17:10 +0530)]
Synchronizing sensord code with IIO driver support for accelerometer plugin

The sensord code improvements are as follows:
  - sensor HAL plugin design has been changed to include common plugin code in sensor_hal parent
    class instead of individual sensor HAL plugins
  - the new plugin design allows easy modification for IIO or input based driver interface
  - sensor client library API has been changed
  - policy for loading plugins is based on configuration as well as the plugin directory path
  - code cleanup and bug fixes

Contributors:
Jae Hyun Jo <jaehyun7.jo@samsung.com>
Hyun-sung <hs81.go@samsung.com>
Kibak Yoon <kibak.yoon@samsung.com>
Amit Vithalrao Dharmapurikar <amit.vd@samsung.com>

Change-Id: I87776b07b6202af1c82ec4cdbff85df0553af8cb
Signed-off-by: Amit Dharmapurikar <amit.vd@samsung.com>
10 years agoUpdating orientation sensor based on porting to SDK 89/29589/1
Ramasamy [Thu, 30 Oct 2014 04:55:27 +0000 (10:25 +0530)]
Updating orientation sensor based on porting to SDK

- Updated orientation sensor class and implementation based on
porting and testing of tizen SDK.

Change-Id: I6eac7359fcf36af0b669922572dc7ae777aff1e3

10 years agoAdding sensor fusion pre-processing equations 06/29406/1
Ramasamy [Mon, 27 Oct 2014 11:30:56 +0000 (17:00 +0530)]
Adding sensor fusion pre-processing equations

Adding sensor fusion equations relating to post processing of sensor
related data.

Change-Id: I53ee77d6d982dc4e26540717280c29d8c74e9cb7

10 years agoRestructuring and Updating sensor fusion documentation 96/29096/3
Ramasamy [Tue, 21 Oct 2014 09:41:03 +0000 (15:11 +0530)]
Restructuring and Updating sensor fusion documentation

- restructuring documentation folder structure.
- Updating documentation for new diagrams.

Change-Id: Ib34df41528deb8630db87d1051d90960289d7df1

10 years agoAdding/Updating images for documentation 30/29030/1
Ramasamy [Mon, 20 Oct 2014 08:29:10 +0000 (13:59 +0530)]
Adding/Updating images for documentation

Adding updated sensor fusion documentation images for:
  - orientation estimation
  - gravity and linear accelertion computation
  - gravity projection diagram

Change-Id: I16140e327fdd18c18679b6ef3dc2a5889983bfc0

10 years agoMerge "Prioritizing event queue for virtual sensors" into tizen
Kibak Yoon [Mon, 20 Oct 2014 07:15:03 +0000 (00:15 -0700)]
Merge "Prioritizing event queue for virtual sensors" into tizen

10 years agoCleanup of sensor fusion library 29/28929/1
Ramasamy [Fri, 17 Oct 2014 07:30:29 +0000 (13:00 +0530)]
Cleanup of sensor fusion library

Cleanup and removal of unused code from sensor fusion library.

Change-Id: If738e42f5fd14af57dfb11aa2cd77c7c73718c30

10 years agoUpdating test file for gravity and orientation sensor 14/28814/2
Vibhor Gaur [Thu, 16 Oct 2014 10:54:01 +0000 (16:24 +0530)]
Updating test file for gravity and orientation sensor

-Updating error check conditions for start and stop handle.
-Removing redundant bool error_state variable.
-Removing redundant else condition after parameter count check.
-Removing redundant if condition assosciated with error_state.
-Updating print logs in callback by printing timestamp before other values.

Change-Id: I6a6144b6fb2806a7186580971ba4ff9ab97c7ab9

10 years agoPrioritizing event queue for virtual sensors 99/28599/11
Vibhor Gaur [Fri, 10 Oct 2014 09:37:16 +0000 (15:07 +0530)]
Prioritizing event queue for virtual sensors

-Prioritizing events coming from accelerometer,gyroscope and geomagnetic sensors in the event queue for orientation,gravity and linear acceleration virtual sensors.

Change-Id: I763b765190e5fd0a38897d874a3fccec413592e5

10 years agoUpdating test file for linear acceleration sensor 40/28740/4
Vibhor Gaur [Wed, 15 Oct 2014 08:50:22 +0000 (14:20 +0530)]
Updating test file for linear acceleration sensor

-Updating error check conditions for start and stop handle.
-Removing redundant bool error_state variable.
-Removing redundant else condition after parameter count check.
-Removing redundant if condition assosciated with error_state.
 -Updating print logs in callback by printing timestamp before other values.

Change-Id: I04151938310d11f2ce5b5a506ffb71180d2967b8

10 years agoMerge "Updating test file for gyroscope sensor" into tizen
Kibak Yoon [Wed, 15 Oct 2014 13:33:54 +0000 (06:33 -0700)]
Merge "Updating test file for gyroscope sensor" into tizen

10 years agoUpdating test file for gyroscope sensor 11/28711/3
Vibhor Gaur [Tue, 14 Oct 2014 12:08:35 +0000 (17:38 +0530)]
Updating test file for gyroscope sensor

-Updating error check conditions for start and stop handle.
-Removing redundant bool error_state variable.
-Removing redundant else condition after parameter count check.
-Removing redundant if condition assosciated with error_state.
-Updating print logs in callback by printing timestamp before other values.
-Fixing ./gyroscope to ./gyro n printformat as file name is gyro.c

Change-Id: Ia64d8dbee24f6fc85e54ec333fb6ff9067564156