platform/core/system/sensord.git
9 years agoBug Fixing in test suite related to pointer reference 78/45578/2
Ankur [Fri, 7 Aug 2015 12:19:15 +0000 (17:49 +0530)]
Bug Fixing in test suite related to pointer reference

signed-off-by:"Ankur Garg <ankur29.garg@samsung.com>"
Change-Id: I7809eca0082fa17e19933eb15194ed696dda8db0

9 years agoFixing issue in the UV sensor HAL read data code 68/45068/8
Ramasamy [Fri, 31 Jul 2015 06:08:09 +0000 (15:08 +0900)]
Fixing issue in the UV sensor HAL read data code

Changed based on inputs received from driver team

Change-Id: Id595120289090ef600321d4e96d24dec83c9f34b

9 years agoAdding missing UV sensor API header file 51/44651/7
Ramasamy [Fri, 24 Jul 2015 08:17:41 +0000 (17:17 +0900)]
Adding missing UV sensor API header file

Missed to add the new API while while committing UV sensor code

Change-Id: Ifd0e7afd644dc18d9d6fc3730ce89c7bc568790d

9 years agoCleanup of old data and results for sensor fusion 43/44643/7
Ramasamy [Fri, 24 Jul 2015 07:49:10 +0000 (16:49 +0900)]
Cleanup of old data and results for sensor fusion

- removed results folder, as this is also captured in documentation.
- removed unused old data for sensor fusion.
- updated readme file.

Change-Id: I325147a0587fcd41780c5f26da593071b9edb33a

9 years agoAdding functional testing code for UV Sensor 33/44633/8
Ramasamy [Fri, 24 Jul 2015 07:38:49 +0000 (16:38 +0900)]
Adding functional testing code for UV Sensor

Updated existing automation test code to support UV sensor test.

Change-Id: I9ee70f5a3ce9786fd57e1e1efde5c23f9bbf0a91

9 years agoAdding Ultraviolet sensor support for Note 4 30/44630/9
Ramasamy [Fri, 24 Jul 2015 07:29:28 +0000 (16:29 +0900)]
Adding Ultraviolet sensor support for Note 4

- Added/updated files to support ultraviolet sensor for Note 4.
- Added build support
- Added API support
- Added configuration for Note 4 UV sensor

Change-Id: I7de07724d3498372c9a39c5da272eec4674e6af2

9 years agoMerge "Adding polling support for tilt sensor and polling fixing bug in fusion sensor...
Mu-Woong Lee [Wed, 12 Aug 2015 01:22:32 +0000 (18:22 -0700)]
Merge "Adding polling support for tilt sensor and polling fixing bug in fusion sensor   -Added polling support for tilt sensor -Fixed polling bug in get_sensor_data  function in fusion sensor file" into tizen

9 years agoMerge "Adding test cases for auto_rotation sensor in the existing test files" into...
Mu-Woong Lee [Wed, 12 Aug 2015 01:21:42 +0000 (18:21 -0700)]
Merge "Adding test cases for auto_rotation sensor in the existing test files" into tizen

9 years agoMerge "Enabling Auto_rotation to support landscape/potrait 90 degree events" into...
Mu-Woong Lee [Wed, 12 Aug 2015 01:20:55 +0000 (18:20 -0700)]
Merge "Enabling Auto_rotation to support landscape/potrait 90 degree events" into tizen

9 years agoAdding test cases for auto_rotation sensor in the existing test files 05/43705/10
Ankur [Tue, 11 Aug 2015 09:46:37 +0000 (15:16 +0530)]
Adding test cases for auto_rotation sensor in the existing test files

Change-Id: Ib467dbed75a582ccf85a4570c0096fc10afd9270
Signed-off-by: Ankur <ankur29.garg@samsung.com>
9 years agoEnabling Auto_rotation to support landscape/potrait 90 degree events 81/43681/7
Ankur [Tue, 11 Aug 2015 09:37:53 +0000 (15:07 +0530)]
Enabling Auto_rotation to support landscape/potrait 90 degree events

Tested on rd-pq

Change-Id: I9ce16a9fb8ba9f3235e19b5fb29e6063ab8f0f2a
Signed-off-by: Ankur <ankur29.garg@samsung.com>
9 years agoAdding polling support for tilt sensor and polling fixing bug in fusion sensor 26/43826/8
Ankur [Mon, 10 Aug 2015 10:39:13 +0000 (16:09 +0530)]
Adding polling support for tilt sensor and polling fixing bug in fusion sensor

-Added polling support for tilt sensor
-Fixed polling bug in get_sensor_data  function in fusion sensor file

Change-Id: I95fcee8a33482488ac61d7ae46f1f06554a1ac35

9 years agoBug Fixing for gaming_rotation_vector in get_sensor_data function 77/45577/1
Ankur [Fri, 7 Aug 2015 12:07:32 +0000 (17:37 +0530)]
Bug Fixing for gaming_rotation_vector in get_sensor_data function

signed-off-by:"Ankur Garg <ankur29.garg@samsung.com>"
Change-Id: Ie973230ce18b8a043e77d0dd9257223eff95ab1b

9 years agoMerge "Fixing problem related to flushing output to file in Fusion data collection...
Mu-Woong Lee [Thu, 30 Jul 2015 07:28:42 +0000 (00:28 -0700)]
Merge "Fixing problem related to flushing output to file in Fusion data collection test case" into tizen

9 years agoMerge "Removing unused functions and variables from geomagnetic rotation vector"...
Mu-Woong Lee [Thu, 30 Jul 2015 07:28:23 +0000 (00:28 -0700)]
Merge "Removing unused functions and variables from geomagnetic rotation vector" into tizen

9 years agoMerge "Improving the sensor fusion algorithm for orientation using accel & gyro"...
Mu-Woong Lee [Thu, 30 Jul 2015 07:27:31 +0000 (00:27 -0700)]
Merge "Improving the sensor fusion algorithm for orientation using accel & gyro" into tizen

9 years agoImproving the sensor fusion algorithm for orientation using accel & gyro 25/42725/4
Ramasamy [Thu, 2 Jul 2015 00:50:55 +0000 (09:50 +0900)]
Improving the sensor fusion algorithm for orientation using accel & gyro

- Improving algorithm by correcting gyroscope orientation using limited
accelerometer orientation.
- Change made and tested only on octave design code.

Change-Id: Ic6abd19ab9f64cb06149622b11533eb1754279aa

9 years agoFixing problem related to flushing output to file in Fusion data collection test... 81/42481/1
Ankur [Mon, 29 Jun 2015 09:22:46 +0000 (14:52 +0530)]
Fixing problem related to flushing output to file in Fusion data collection test case

Change-Id: I5747038fd33e5f0115f167a62f8a7bdd21f64f12

9 years agoRemoving unused functions and variables from geomagnetic rotation vector 97/40597/2
Vibhor Gaur [Fri, 5 Jun 2015 09:14:13 +0000 (14:44 +0530)]
Removing unused functions and variables from geomagnetic rotation vector

Change-Id: Ibbfed62b6b494c46b07af31bb67b9b24d1aa0297

9 years agoUpdating Test files to test the Uncal_gyro sensor 71/41571/3
Ankur [Tue, 16 Jun 2015 12:54:09 +0000 (18:24 +0530)]
Updating Test files to test the Uncal_gyro sensor

Add test cases for uncal_gyro sensor to the test files

Change-Id: I20243d3ec6e5967ee96a3120a3178af30ab2cd1d

9 years agoAdding Uncal Gyro Sensor and related files 70/41570/2
Ankur [Tue, 16 Jun 2015 12:48:42 +0000 (18:18 +0530)]
Adding Uncal Gyro Sensor and related files

Adding uncal_gyro sensor files.

Change-Id: I5d76a4a40ba774c50fcf0130c78e32011bd106a9

9 years agoAdding support for uncal_gyro sensor in fusion_sensor 29/41529/1
Ankur [Tue, 16 Jun 2015 09:20:48 +0000 (14:50 +0530)]
Adding support for uncal_gyro sensor in fusion_sensor

Modifying the fusion sensor to support uncallibrated gyroscope sensor

Change-Id: I223e58181b0cbcd3d152548cc2c6401826b35348

9 years agoMoving drift compensation before computing covariance in c++ library 03/40603/2
Ramasamy [Fri, 5 Jun 2015 11:04:44 +0000 (20:04 +0900)]
Moving drift compensation before computing covariance in c++ library

- Moving drift compensation before computing noise covariance as this
provides marginal improvement in orientation estimation.

Change-Id: Ic236f8400203e70d9b870186c8e098c4bcc8395f

9 years agoUpdating standalone c-library test code for orientation sensor 81/40581/2
Ramasamy [Fri, 5 Jun 2015 08:08:57 +0000 (17:08 +0900)]
Updating standalone c-library test code for orientation sensor

- Updating the standalone c-library test code to test if gyro bias
values are computed correctly in sensor fusion algorithm.
- these test code generally does not follow coding guidelines as
these files are not part of tizen build and is used only for internal
testing purposes.

Change-Id: Iada88a8e5f1122cb0381b4aaac0a57269b43edc5

9 years agoAdded code to compute gyro bias in orientation_filter 80/40580/3
Ramasamy [Fri, 5 Jun 2015 08:03:36 +0000 (17:03 +0900)]
Added code to compute gyro bias in orientation_filter

- orientation_filter code will compute gyro bias by adding gyro drift and stocastic
noise
- null offset bias will be computed and added to gyro bias on individual virtual
sensor code.
- needed for uncalibrated gyroscope virtual sensor

Change-Id: I09cc8af16c12ea77faee704d0ccf6ba0b4d72736

9 years agoMerge "Compensating drift before computing noise covariance" into tizen
Mu-Woong Lee [Mon, 15 Jun 2015 12:02:48 +0000 (05:02 -0700)]
Merge "Compensating drift before computing noise covariance" into tizen

9 years agoMerge "Adding octave code to compute gyro bias" into tizen
Mu-Woong Lee [Mon, 15 Jun 2015 12:00:47 +0000 (05:00 -0700)]
Merge "Adding octave code to compute gyro bias" into tizen

9 years agoMerge "Code Cleanup: cleaning up unused functions and variables from gaming rotation...
Mu-Woong Lee [Tue, 9 Jun 2015 13:10:26 +0000 (06:10 -0700)]
Merge "Code Cleanup: cleaning up unused functions and variables from gaming rotation vector" into tizen

9 years agoAdding tilt sensor event definitions [sensor_tilt.h] to avoid build break 21/40121/2
Ankur [Fri, 29 May 2015 09:03:13 +0000 (14:33 +0530)]
Adding tilt sensor event definitions [sensor_tilt.h] to avoid build break

the sensor_tilt.h file containing the tilt sensor event definitions was missing.
This was causing the build to break.
Added the tilt sensor event definitions with tilt_raw_data_event.

signed-off-by: Ankur Garg <ankur29.garg@samsung.com>
Change-Id: I2d7768d70d05c7e4c1be08910276b958e76ef761

9 years agoCompensating drift before computing noise covariance 76/40576/1
Ramasamy [Fri, 5 Jun 2015 07:45:00 +0000 (16:45 +0900)]
Compensating drift before computing noise covariance

- Improving accuracy of orientation detection by moving the drift
compensation code before computing noise covariance.
- resturcturing of the existing octave code.

Change-Id: I09691d944ae0c3d731b6fabd098a3652991f7dc7

9 years agoAdding octave code to compute gyro bias 69/40569/3
Ramasamy [Fri, 5 Jun 2015 07:19:01 +0000 (16:19 +0900)]
Adding octave code to compute gyro bias

- gyro bias is needed for calibrated gyroscope sensor event
- updated octave design code to simulate the gyroscope bias and plot it
- substituted euler error code(which showed only drift) with gyroscope
bias

Change-Id: I3e411db520d6103326c4e2950e05d6930e34dd9b

9 years agoCode Cleanup: cleaning up unused functions and variables from gaming rotation vector 22/40122/1
Ankur [Fri, 29 May 2015 09:12:59 +0000 (14:42 +0530)]
Code Cleanup: cleaning up unused functions and variables from gaming rotation vector

removing unused functions, variables and macros from gaming rotation vector

Change-Id: Ia59c6d171fc4ed01ffe5e670fbc61a9c3f67c05f

9 years agoAdding documentation for adding hardware fusion sensor in virtual sensors 77/39777/4
Ankur [Fri, 22 May 2015 06:33:54 +0000 (12:03 +0530)]
Adding documentation for adding hardware fusion sensor in virtual sensors

Change-Id: I12d4b3a93a811709be80db62df5950cc98894cba

9 years agoAdding common plugin for hardware/software sensor fusion - linear accel sensor 43/39543/2
Ankur [Mon, 18 May 2015 12:25:26 +0000 (17:55 +0530)]
Adding common plugin for hardware/software sensor fusion - linear accel sensor

Change-Id: Ie0a5eaf3607b14ced68d0cb545c29f0b442afff6

9 years agoFixing Proximity state definitions 05/39605/5
Ankur [Tue, 19 May 2015 11:09:57 +0000 (16:39 +0530)]
Fixing Proximity state definitions

Change-Id: I650b15614b923ed592061bb4bc393e300308480c

9 years agoUpdating Linear Acceleration sensor as per fusion sensor restructuring 38/39538/2
Ankur [Mon, 18 May 2015 12:12:58 +0000 (17:42 +0530)]
Updating Linear Acceleration sensor as per fusion sensor restructuring

Tested on rd-pq device with tizen 2.4 repo

Change-Id: I989940c47b8673e9f607c229e44188759659934f

9 years agoAdding common plugin for hardware/software sensor fusion - geomagnetic_rv 34/39534/2
Ankur [Mon, 18 May 2015 11:03:47 +0000 (16:33 +0530)]
Adding common plugin for hardware/software sensor fusion - geomagnetic_rv

Tested on rd-pq device with tizen 2.4 repo

Change-Id: Ifa9a10a1ab60dcde364f7b26f4e8ee4ea66df509

9 years agoAdding common plugin for hardware/software sensor fusion - gaming_rv 31/39531/5
Ankur [Mon, 18 May 2015 10:36:41 +0000 (16:06 +0530)]
Adding common plugin for hardware/software sensor fusion - gaming_rv

Tested on rd-pq device for tizen 2.4 repo

Change-Id: I62436db7534a325515ae49594cde02b02ef3e51f

9 years agoMerge "Adding common plugin for hardware/sensor fusion - gravity sensor" into tizen
Mu-Woong Lee [Wed, 27 May 2015 14:18:24 +0000 (07:18 -0700)]
Merge "Adding common plugin for hardware/sensor fusion - gravity sensor" into tizen

9 years agoMerge "Updating gravity sensor after fusion sensor restructuring" into tizen
Mu-Woong Lee [Wed, 27 May 2015 14:15:39 +0000 (07:15 -0700)]
Merge "Updating gravity sensor after fusion sensor restructuring" into tizen

9 years agoMerge "Adding common plugin for hardware/software fusion - orientation sensor" into...
Mu-Woong Lee [Tue, 26 May 2015 07:33:16 +0000 (00:33 -0700)]
Merge "Adding common plugin for hardware/software fusion - orientation sensor" into tizen

9 years agoMerge "Common plugin for Hardware/Software Rotation Vector" into tizen
Mu-Woong Lee [Tue, 26 May 2015 07:32:22 +0000 (00:32 -0700)]
Merge "Common plugin for Hardware/Software Rotation Vector" into tizen

9 years agoMerge "Removal of redundant variables and functions from orientation sensor: Code...
Mu-Woong Lee [Tue, 26 May 2015 07:31:13 +0000 (00:31 -0700)]
Merge "Removal of redundant variables and functions from orientation sensor: Code cleanup" into tizen

9 years agoUpdating gravity sensor after fusion sensor restructuring 24/39524/3
Ankur [Mon, 18 May 2015 10:01:59 +0000 (15:31 +0530)]
Updating gravity sensor after fusion sensor restructuring

Tested on rd-pq device with 2.4 repo

Change-Id: I8881c5823507b3ef02567eb13c628af5ea8e62a4

9 years agoAdding common plugin for hardware/sensor fusion - gravity sensor 30/39530/2
Ankur [Mon, 18 May 2015 10:20:19 +0000 (15:50 +0530)]
Adding common plugin for hardware/sensor fusion - gravity sensor

Tested on rd-pq device for 2.4 repo

Change-Id: Ia6599ce7dac2de2ac1935668d38297466374ab08

9 years agoAdding common plugin for hardware/software fusion - orientation sensor 20/39520/1
Ankur [Mon, 18 May 2015 08:00:53 +0000 (13:30 +0530)]
Adding common plugin for hardware/software fusion - orientation sensor

Support for common virtual sensor plugin for orientation sensor for both hardware and software based sensor fusion

Tested on rd-pq device with tizen 2.4 repo

Change-Id: I676cc594d167928508e3e82a585e2d5910d01e40

9 years agoCommon plugin for Hardware/Software Rotation Vector 58/39458/4
Ankur [Fri, 15 May 2015 12:12:23 +0000 (17:42 +0530)]
Common plugin for Hardware/Software Rotation Vector

Next Part: Support in fusion sensor to handle hal (replace rv_raw)

Change-Id: I736bd022626eed5e9086b9040906b706130e161c

9 years agoRemoval of redundant variables and functions from orientation sensor: Code cleanup 82/39482/2
Ankur [Fri, 15 May 2015 12:45:27 +0000 (18:15 +0530)]
Removal of redundant variables and functions from orientation sensor: Code cleanup

Cleanup of orientation sensor code: removal of unused variables and functions.

Change-Id: I54f99cd2193c78f40012a23766851f86830b5ed3

9 years agoUpdating test files to support the tilt sensor 56/39456/1
Ramasamy [Fri, 15 May 2015 10:07:10 +0000 (19:07 +0900)]
Updating test files to support the tilt sensor

- Adding support for tilt sensor in all test files

Change-Id: I7107668a844204b7087a5a89d7ca21aa9ece3e93

9 years agoAdding Tilt Sensor and related files 55/39455/1
Ramasamy [Fri, 15 May 2015 10:00:26 +0000 (19:00 +0900)]
Adding Tilt Sensor and related files

- Adding tilt sensor based on accelerometer only
- uses intermediate quaternion output of sensor fusion
- Used in Tizen Z1 for computing limited device orientation
- Adding all api, build files related to tilt

Change-Id: I7682da9238ca61e9d8fc1b392fb14afc33406d2d

9 years agoAdding support for computing tilt quaternion based on accelerometer 49/39449/1
Ramasamy [Fri, 15 May 2015 09:48:26 +0000 (18:48 +0900)]
Adding support for computing tilt quaternion based on accelerometer

- support for sensor fusion algorithm to compute tilt quaternion

Change-Id: I32135f270acc4eb8de1811e6f29182614dd7ce54

9 years agoAddition of Test case for fusion data collection 08/38008/7
Ankur [Thu, 9 Apr 2015 11:57:40 +0000 (17:27 +0530)]
Addition of Test case for fusion data collection

This test case registers accelerometer, gyroscope, magnetometer and proximity sensors from one single client.
This is useful for collecting data from these physical sensors for any particular motion.

Change-Id: Ie2c866c5ec624290f9988b17ee33ea92bc8752ca

9 years agoMerge "Adding polling based test functionality for sensors" into tizen
Mu-Woong Lee [Mon, 11 May 2015 07:28:21 +0000 (00:28 -0700)]
Merge "Adding polling based test functionality for sensors" into tizen

9 years agoAdding polling based test functionality for sensors 26/37926/8
Vibhor Gaur [Wed, 8 Apr 2015 12:06:30 +0000 (17:36 +0530)]
Adding polling based test functionality for sensors

-Adding functionality for getting sensor event logs using polling mechansim.
-Change is being integrated in the test suite after there was amajor restructuring of the test folder to combine all tests into one.

Change-Id: I23a817895a9e7db8f7c4284f0d0c6c697476f5e9

9 years agoMerge "Modifying error/return conditions during fusion sensor initialization" into...
Mu-Woong Lee [Mon, 11 May 2015 06:04:24 +0000 (23:04 -0700)]
Merge "Modifying error/return conditions during fusion sensor initialization" into tizen

9 years agoMerge "Restructuring get_device_orientation flow" into tizen
Mu-Woong Lee [Mon, 11 May 2015 06:02:15 +0000 (23:02 -0700)]
Merge "Restructuring get_device_orientation flow" into tizen

9 years agoMerge "Removing Compiler warning - unused variable" into tizen
Mu-Woong Lee [Mon, 11 May 2015 05:56:40 +0000 (22:56 -0700)]
Merge "Removing Compiler warning - unused variable" into tizen

9 years agoModifying error/return conditions during fusion sensor initialization 73/37373/3
Ramasamy [Wed, 25 Mar 2015 10:00:59 +0000 (15:30 +0530)]
Modifying error/return conditions during fusion sensor initialization

- Only failure of accel object initialization will return error
- Failure of gyro and magnetic object initialization will print info

Change-Id: I6cf67581d4a5fd18d87e418f095a067ceb07841e

9 years agoRemoved Compiler warning - incompatible pointer type 72/38972/1
Ankur [Tue, 5 May 2015 12:03:02 +0000 (17:33 +0530)]
Removed Compiler warning - incompatible pointer type

Change-Id: I73f52ea6bb3b7e6f5306bc1cc32c6d1cbf953648

9 years agoRemoving Compiler warning - unused variable 59/38959/1
Ankur [Mon, 4 May 2015 05:50:25 +0000 (11:20 +0530)]
Removing Compiler warning - unused variable

Removed unused variable

Change-Id: I73b3c36d2e30024fbb7e9f75014574bc1957ec77

9 years agoRestructuring get_device_orientation flow 67/37367/2
Ramasamy [Wed, 25 Mar 2015 09:22:37 +0000 (14:52 +0530)]
Restructuring get_device_orientation flow

- restructuring orientation_filter::get_device_orientation flow for easier maintenance
- cleanup

Change-Id: Ie1bf8025d462d71146db2466b67a3e9f8585e31c

9 years agoAdding new test case for testing sensors in parallel 33/37233/5
Ankur [Mon, 23 Mar 2015 07:05:03 +0000 (12:35 +0530)]
Adding new test case for testing sensors in parallel

This test case runs multiple sensor tests in parallel. It can be used for performance analysis of the various modules.

Change-Id: I10a3e7ec98140ce6ecdcb6a29a0b8d6052e3287e

9 years agoRestructuring test folder to include parallel sensor test case 93/37193/2
Ankur [Fri, 20 Mar 2015 10:38:08 +0000 (16:08 +0530)]
Restructuring test folder to include parallel sensor test case

Restructured the test folder to separate the functions from tc-common because
they will also be used by a new test case (to be added in the next patch) for testing multiple test cases in parallel.

Change-Id: If36de3b1123bd3811516fa859be73a753dc686e7

9 years agoUpdating event representation for rotation vector virtual sensor 92/37192/1
Vibhor Gaur [Fri, 20 Mar 2015 10:13:37 +0000 (15:43 +0530)]
Updating event representation for rotation vector virtual sensor

-Updating rpresentation from ROTATION_VECTOR_EVENT_RAW_DATA_REPORT_ON_TIME to ROTATION_VECTOR_RAW_DATA_EVENT

Change-Id: Iaee8da2a4523f48a08a251ab931e4fc82ccb0911

9 years agoUpdating octave design files for orientation 27/37027/1
Ramasamy [Wed, 18 Mar 2015 09:04:29 +0000 (14:34 +0530)]
Updating octave design files for orientation

- Updating octave design files based on latest sensor fusion C/C++
library code.

- Matching the functionalities between the octave code and C/C++
library code.

Change-Id: I24f26381fc07c5237d3965ddddb01a9d8c2013c3

9 years agoUpdating orientation sensor standalone test files 25/37025/1
Ramasamy [Wed, 18 Mar 2015 08:57:50 +0000 (14:27 +0530)]
Updating orientation sensor standalone test files

- Updating orientation sensor standalone test files after
restructuring or sensor fusion

Change-Id: I58519ba358290142d585f2d5aea9e667c61a4f33

9 years agoFixing gyro data handling and cleanup 23/37023/1
Ramasamy [Wed, 18 Mar 2015 08:46:45 +0000 (14:16 +0530)]
Fixing gyro data handling and cleanup

- Fixing code related to input gyro data handling.
- cleanup of orientation filter code.

Change-Id: I9efd0c69ed7c2ab0dcc334e460723d9f8cdea668

9 years agoImproved rotation matrix to quaternion conversion 20/37020/1
Ramasamy [Wed, 18 Mar 2015 08:02:51 +0000 (13:32 +0530)]
Improved rotation matrix to quaternion conversion

- This has better azimuth computation response over previous
implementation.

Change-Id: Ie631f1f3e3815c4553d4bb51efdabf23738f680a

9 years agoFixing value assignment to m_orientation 73/36873/1
Ramasamy [Mon, 16 Mar 2015 13:50:01 +0000 (19:20 +0530)]
Fixing value assignment to m_orientation

- fixing value assignment for m_orientation in orientation_filter
- cleanup of fusion_sensor

Change-Id: I3442dd275adc3952ff92b5911bcab2b6751ccf79

9 years agoMoving azimuth offset after rotation compensation 70/36870/1
Ramasamy [Mon, 16 Mar 2015 13:45:36 +0000 (19:15 +0530)]
Moving azimuth offset after rotation compensation

- moving computation of azimuth to range 0-360 after compensating
for azimuth rotation.
- initializing fusion sensor pointer.

Change-Id: Ie13af01dd3e76f2a3dd0bc1f2ae68726bcf3073d

9 years agoUpdating spec file after fusion framework restructuring 21/36821/1
Ramasamy [Mon, 16 Mar 2015 03:36:22 +0000 (09:06 +0530)]
Updating spec file after fusion framework restructuring

- updating the spec file to support new fusion framework structure as
this was not committed earlier.

Change-Id: If85a6286d23c2c656a0bb81570872fc0782526b1

9 years agoUpdating Rotation Vector sensor after fusion restructuring 97/36697/1
Ramasamy [Thu, 12 Mar 2015 03:45:32 +0000 (09:15 +0530)]
Updating Rotation Vector sensor after fusion restructuring

- Works in combination with the new fusion sensor
- supports new configuration xml
- cleanup

Change-Id: I0670885257fe0d5c607f1de87da74811985ab03f

9 years agoUpdating Geomagnetic RV sensor after fusion restructuring 96/36696/3
Ramasamy [Thu, 12 Mar 2015 03:39:30 +0000 (09:09 +0530)]
Updating Geomagnetic RV sensor after fusion restructuring

- Works in combination with the new fusion sensor
- supports new configuration xml
- cleanup

Change-Id: I60fec833776d3c5d3cbfc76f8fdaf3c7a198a708

9 years agoUpdating Gaming RV sensor after fusion restructuring 95/36695/1
Ramasamy [Thu, 12 Mar 2015 03:37:54 +0000 (09:07 +0530)]
Updating Gaming RV sensor after fusion restructuring

- Works in combination with the new fusion sensor
- supports new configuration xml
- cleanup

Change-Id: Icdacfa0bda9a247123eea07669a61c8e3d87bc1a

9 years agoUpdating orientation sensor after fusion restructuring 94/36694/1
Ramasamy [Thu, 12 Mar 2015 03:35:18 +0000 (09:05 +0530)]
Updating orientation sensor after fusion restructuring

- Works in combination with the new fusion sensor
- supports new configuration xml
- cleanup

Change-Id: I0694ff6c2cc5c4ab8d9000d53359eefc39198302

9 years agoUpdating sensor plugin loader and cmake files 93/36693/1
Ramasamy [Thu, 12 Mar 2015 03:32:45 +0000 (09:02 +0530)]
Updating sensor plugin loader and cmake files

- Adding sensor_fusion module to sensor plugin loader.
- Adding fusion folder to master cmake file.

Change-Id: I3ef1329b6c79d2123c458645c2fa6f9532a67988

9 years agoUpdating orientation filter to support new configuration handling 63/36663/1
Ramasamy [Wed, 11 Mar 2015 12:06:41 +0000 (17:36 +0530)]
Updating orientation filter to support new configuration handling

- Updated/cleanup of orientation filter to support new configuration
handling

Change-Id: I5a8b7001db7edbf48d88945937b7eede1f31fa37

9 years agoAdding API for fusion sensor 61/36661/1
Ramasamy [Wed, 11 Mar 2015 12:01:30 +0000 (17:31 +0530)]
Adding API for fusion sensor

- Added new fusion sensor events and included to sensor API
- Adding cmake support for API

Change-Id: Ib3acb6bb7329b84a54abac8fad0373be40dc631f

9 years agoUpdating virtual sensor configuration based on fusion sensor 60/36660/1
Ramasamy [Wed, 11 Mar 2015 11:47:27 +0000 (17:17 +0530)]
Updating virtual sensor configuration based on fusion sensor

- Adding new fusion sensor configuration
- Cleaning up existing fusion related configuration from orientation,
rotation vector, geomagnetic rotation vector and gaming rotation vector

Change-Id: Icb2284875fc84782a5df2321c49411e59b333390

9 years agoAdding method to unregister supported events for sensor_base 59/36659/1
Ramasamy [Wed, 11 Mar 2015 11:42:47 +0000 (17:12 +0530)]
Adding method to unregister supported events for sensor_base

- method is needed in virtual sensors to dynamically add and remove
virtual sensor events used in fusion sensor.

Change-Id: I1265808d67f79d240c2e2239c50ff5c02a098d16

9 years agoAdding new fusion sensor for single flow 42/36242/4
Ramasamy [Wed, 4 Mar 2015 06:30:37 +0000 (12:00 +0530)]
Adding new fusion sensor for single flow

- Adding new fusion sensor which executes orientation_filter only once
for all virtual sensors.
- Generates multiple events for orientation sensor, rv sensor, gaming_rv sensor
and geomagnetic_rv sensor based on event type registration
- Will work in complementary fashion to virtual sensors orientation, rv, gaming_rv and geomagnetic_rv
- maintains minimum operation interval.
- Sends only fusion events that are registered by applications

Change-Id: I1dfecc545a0f25647e7ec299c5f0a2bae05e6456

9 years agoRemoving orientation_filter standalone test 32/36232/1
Ramasamy [Wed, 4 Mar 2015 03:23:18 +0000 (08:53 +0530)]
Removing orientation_filter standalone test

- orientation_sensor standalone test performs all testing functionality
for orientation_filter
- removing redundant standalone test for orientation_filter

Change-Id: Ia688cb7f8334d6885709f5f47c614279fb988f74

9 years agoRestructuring all virtual sensors and sensor fusion for single flow 08/36208/1
Ramasamy [Tue, 3 Mar 2015 11:52:55 +0000 (17:22 +0530)]
Restructuring all virtual sensors and sensor fusion for single flow

- Removed separate methods for computing orientation/RVs and replaced
with single method
- Updated virtual sensors to use the single sensor fusion method
- Updated test files for using single method
- Cleanup.

Change-Id: Iacd555215cf1c146e2aa75451baa92751e67a2e1

9 years agoUpdating gaming_rv sensor to follow single sensor fusion flow 98/36198/2
Ramasamy [Tue, 3 Mar 2015 10:12:05 +0000 (15:42 +0530)]
Updating gaming_rv sensor to follow single sensor fusion flow

- The geomagnetic sensor input pointer is passed a value NULL
- Cleaning up unused initialization code and old flow code

Change-Id: I96e90b6a19e89b80071b8b821b486691640ce0d5

9 years agoUpdating geomagnetic_rv sensor to follow single sensor fusion flow 76/36176/2
Ramasamy [Tue, 3 Mar 2015 10:03:29 +0000 (15:33 +0530)]
Updating geomagnetic_rv sensor to follow single sensor fusion flow

- The gyro input pointer is passed a value NULL
- Cleaning up unused initialization code and old flow code

Change-Id: I438d8dc1615d2e9dcc3188c9f06ca7d8aa042d4c

9 years agoUpdating rotation vector sensor to follow single sensor fusion flow 59/36159/2
Ramasamy [Tue, 3 Mar 2015 09:44:23 +0000 (15:14 +0530)]
Updating rotation vector sensor to follow single sensor fusion flow

- updating rotation vector virtual sensor and related orientation_filter
  code to follow single sensor fusion flow.
- cleanup of initialization code and common code with orientation sensor
- updating orientation sensor code after code cleanup

Change-Id: I28593ec06711575b0646153b3f1fcc0cc43bf932

9 years agoChanging orientation sensor to follow single sensor fusion flow 06/36106/2
Ramasamy [Mon, 2 Mar 2015 11:56:40 +0000 (17:26 +0530)]
Changing orientation sensor to follow single sensor fusion flow

- Updating orientation sensor to work on common single sensor fusion
code flow.

Change-Id: I5581e833e33757a0e24d56a90717473bded3e172

9 years agoFixing return type issue in tc-common 04/36104/2
Ramasamy [Mon, 2 Mar 2015 11:35:23 +0000 (17:05 +0530)]
Fixing return type issue in tc-common

- Changing unsigned int to int for event variables and fixing warning.
- cleanup

Change-Id: I76c30ee886352e194f78ef40c245ab2989244972

9 years agoAdding methods for common sensor_fusion flow 99/36099/1
Ramasamy [Mon, 2 Mar 2015 10:27:24 +0000 (15:57 +0530)]
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

9 years agoUpdating documentation code for gaming_rv and geomagnetic_rv 88/36088/1 accepted/tizen_3.0.2015.q2_common tizen_3.0.2015.q2_common tizen_3.0.m1_mobile tizen_3.0.m1_tv accepted/tizen/3.0.2015.q2/common/20150625.135020 accepted/tizen/common/20150521.125440 accepted/tizen/mobile/20150313.083941 accepted/tizen/tv/20150302.123848 accepted/tizen/tv/20150313.083825 accepted/tizen/wearable/20150313.083854 submit/tizen/20150304.022845 submit/tizen_3.0.2015.q2_common/20150625.134010 submit/tizen_common/20150303.022446 submit/tizen_common/20150520.888885 submit/tizen_common/20151015.190624 submit/tizen_common/20151019.135620 submit/tizen_mobile/20150303.022210 submit/tizen_mobile/20150313.022842 submit/tizen_tv/20150302.084059 submit/tizen_tv/20150313.022842 submit/tizen_wearable/20150313.022842 tizen_3.0.m1_mobile_release tizen_3.0.m1_tv_release tizen_3.0.m2.a1_mobile_release tizen_3.0.m2.a1_tv_release
Ramasamy [Mon, 2 Mar 2015 07:30:08 +0000 (13:00 +0530)]
Updating documentation code for gaming_rv and geomagnetic_rv

Updating/correcting documentation code in api for gaming_rv and
geomagnetic_rv sensors

Change-Id: I286b82a8931a6922c4c8d9aeeca9749c23b4e51c

9 years agoAdding code to install sensor_gaming_rv.h to CMakelist 87/36087/1
Ramasamy [Mon, 2 Mar 2015 07:27:59 +0000 (12:57 +0530)]
Adding code to install sensor_gaming_rv.h to CMakelist

Adding missed cmake code to install sensor_gaming_rv.h

Change-Id: I4f60e0cebddad7176814e6d96aefd77da9ecf53b

9 years agoRemoving mutex lock that was affecting performance 01/36001/1
Ramasamy [Fri, 27 Feb 2015 09:33:57 +0000 (15:03 +0530)]
Removing mutex lock that was affecting performance

- Removing mutex lock used during entry into orientation_filter
- lock is not needed as each virtual sensor has a separate
orientation_filter object
- separate objects in virtual sensor for both event driven and
polling based modes.

Change-Id: Ie2d2aa41a664c858fc1305213c3f9bb2309a7e67

9 years agoAdding latest timestamp for virtual sensor polling events 97/35997/1
Ramasamy [Fri, 27 Feb 2015 09:23:07 +0000 (14:53 +0530)]
Adding latest timestamp for virtual sensor polling events

- Fixing timestamp issue for polling based virtual sensor
events.
- cleanup.

Change-Id: Ie1c18f8f2b94b48eae7c84a723ddf0b56e0059f6

9 years agoRemoving redundant event representations for context sensor 69/35869/4
Vibhor Gaur [Thu, 26 Feb 2015 12:48:42 +0000 (18:18 +0530)]
Removing redundant event representations for context sensor

Removed redundant context sensor events CONTEXT_BASE_DATA_SET and CONTEXT_EVENT_REPORT which were the same.
These have been moved to the sensor_deprecated folder.
Since both these represent the same context sensor event, DATA_SET type has been removed. CONTEXT_EVENT_REPORT has been renamed to CONTEXT_REPORT_EVENT to make it simpler.

Change-Id: Iaca58e1b48e19adabf5edc1d6a001933cd4ec910

9 years agoRemoving redundant linear acceleration virtual sensor events 57/35857/4
Vibhor Gaur [Wed, 25 Feb 2015 11:16:46 +0000 (16:46 +0530)]
Removing redundant linear acceleration virtual sensor events

Removed redundant linear acceleration virtual sensor events LINEAR_ACCEL_BASE_DATA_SET and LINEAR_ACCEL_EVENT_RAW_DATA_REPORT_ON_TIME which were the same. These have been moved to the sensor_deprecated folder.
LINEAR_ACCEL_BASE_DATA_SET was used for polling events and LINEAR_ACCEL_EVENT_RAW_DATA_REPORT_ON_TIME was used for event driven.
Since both these represent the same linear acceleration virtual sensor event, DATA_SET type has been removed.
LINEAR_ACCEL_EVENT_RAW_DATA_REPORT_ON_TIME has been renamed to LINEAR_ACCEL_RAW_DATA_EVENT to make it simpler.
The change has been tested on rd-pq device for all sensord API and all API were found to be working

Change-Id: Ib0603a497ef5132917aa46d9c4055bf1377dfb68

9 years agoRemoved redundant orientation virtual sensor events 51/35851/5
Vibhor Gaur [Wed, 25 Feb 2015 10:36:58 +0000 (16:06 +0530)]
Removed redundant orientation virtual sensor events

Removed redundant orientation events ORIENTATION_BASE_DATA_SET and ORIENTATION_EVENT_RAW_DATA_REPORT_ON_TIME which were the same.
These have been moved to the sensor_deprecated folder.
ORIENTATION_BASE_DATA_SET was used for polling events and ORIENTATION_EVENT_RAW_DATA_REPORT_ON_TIME was used for event driven Since both these represent the same orientation virtual sensor event, DATA_SET type has been removed.
ORIENTATION_EVENT_RAW_DATA_REPORT_ON_TIME has been renamed to ORIENTATION_RAW_DATA_EVENT to make it simpler.
The change has been tested on rd-pq device for all sensord API and all API were found to be working

Change-Id: Iac7080cef6483b4fcaf5a454739ab1be50a57d23

9 years agoRemoved redundant gravity events 46/35846/4
Ankur [Wed, 25 Feb 2015 09:56:11 +0000 (15:26 +0530)]
Removed redundant gravity events

GRAVITY_BASE_DATA_SET and GRAVITY_EVENT_RAW_DATA_REPORT_ON_TIME were the same
GRAVITY_BASE_DATA_SET has been removed.

GRAVITY_BASE_DATA_SET was used for polling events and GRAVITY_EVENT_RAW_DATA_REPORT_ON_TIME was used for event driven
Since both these represent the same gravity sensor event, DATA_SET type has been removed.

And GRAVITY_EVENT_RAW_DATA_REPORT_ON_TIME has been renamed to GRAVITY_RAW_DATA_EVENT to make it simpler.

The change has been tested on rd-pq device for all sensord API and all API were found to be working.

Change-Id: I224d0ccfd8b4e48c132a357f410028d6a1cfe7de

9 years agoRemoving redundant Light sensor events 84/35784/7
Ankur [Tue, 24 Feb 2015 13:32:25 +0000 (19:02 +0530)]
Removing redundant Light sensor events

LIGHT_LUX_DATA_SET and LIGHT_EVENT_LUX_DATA_REPORT_ON_TIME were the same
LIGHT_LUX_DATA_SET has been removed.

LIGHT_LUX_DATA_SET was used for polling events and LIGHT_EVENT_LUX_DATA_REPORT_ON_TIME was used for event driven
Since both these represent the same light sensor event, DATA_SET type has been removed.

And LIGHT_EVENT_LUX_DATA_REPORT_ON_TIME has been renamed to LIGHT_LUX_DATA_EVENT to make it simpler.

The change has been tested on rd-pq device for all sensord API and all API were found to be working.

Change-Id: I44a761251a6fc9e78333f022b131c2562d65ccb9

9 years agoRemoving redundant auto_rotation events 76/35776/8
Ankur [Thu, 26 Feb 2015 12:00:27 +0000 (17:30 +0530)]
Removing redundant auto_rotation events

AUTO_ROTATION_BASE_DATA_SET and AUTO_ROTATION_EVENT_CHANGE_STATE were the same
AUTO_ROTATION_BASE_DATA_SET has been removed.

AUTO_ROTATION_BASE_DATA_SET was used for polling events and AUTO_ROTATION__EVENT_CHANGE_STATE was used for event driven
Since both these represent the same auto_rotation sensor event, DATA_SET type has been removed.

And AUTO_ROTATION_EVENT_CHANGE_STATE has been renamed to AUTO_ROTATION_CHANGE_STATE_EVENT to make it simpler.

Change-Id: I8523af6c00dd2919bb6b9f0606c48d5df37ff0c9

9 years agoUpdating configuration file for loading missing so files 18/35918/2
Ramasamy [Thu, 26 Feb 2015 06:03:25 +0000 (11:33 +0530)]
Updating configuration file for loading missing so files

- Updating sensor_plugins.xml configuration file for loading
missing geomagnetic rotation vector and gaming rotation vector
plugins.

Change-Id: I4bfec9344f30e2b13b0a9b908454e90cd7e517c2