platform/core/system/sensord.git
8 years agosensord: change sprintf to snprintf 78/54878/1
kibak.yoon [Fri, 18 Dec 2015 10:39:32 +0000 (19:39 +0900)]
sensord: change sprintf to snprintf

Change-Id: I2675f9d10a0e01ef334c68052e488fadec658a2d
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agosensord: initialize member variables 77/54877/1
kibak.yoon [Fri, 18 Dec 2015 10:35:38 +0000 (19:35 +0900)]
sensord: initialize member variables

Change-Id: Idbc272167bf9330d08d15d36e039372b8050f935
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agosensord: add checking code whether socket is valid or not 75/54875/1
kibak.yoon [Fri, 18 Dec 2015 10:29:33 +0000 (19:29 +0900)]
sensord: add checking code whether socket is valid or not

Change-Id: I666e46a69e23e1471b92764917612ef77baf4656
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agosensord: initialize member variables in csocket constructors 58/54858/1
kibak.yoon [Fri, 18 Dec 2015 07:20:04 +0000 (16:20 +0900)]
sensord: initialize member variables in csocket constructors

Change-Id: I98156912b4dba0d68bba76b48e652366828b3b4c
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agoCleanup internal package dependencies and so file path 36/54836/1
Mu-Woong Lee [Fri, 18 Dec 2015 06:21:47 +0000 (15:21 +0900)]
Cleanup internal package dependencies and so file path

Change-Id: Ibb415514bce593ca96f812e4b021278114b54375
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agosensord: sensord version up to 2.0.0 76/54776/1
kibak.yoon [Fri, 18 Dec 2015 01:31:23 +0000 (10:31 +0900)]
sensord: sensord version up to 2.0.0

Change-Id: I27fba64208605daeeb0423c65ebf6af2bb4add4c
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
8 years agoRevert "sensord: extra data embedding" 75/54775/1
kibak.yoon [Fri, 18 Dec 2015 01:30:46 +0000 (10:30 +0900)]
Revert "sensord: extra data embedding"

This reverts commit 8baf020bc0e5ecff210e01a362560111edbefd4c.

Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
Change-Id: I8ad082398dac42728e1ea321972527ab663e4804

8 years agosensord: modify proxi_change_state enum values 59/54359/1
Hongkuk, Son [Tue, 15 Dec 2015 04:58:07 +0000 (13:58 +0900)]
sensord: modify proxi_change_state enum values

NEAR 1 -> 0
FAR 0 -> 1
(tested on 3.0 reference target TM1)

Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com>
Change-Id: I258537f0468d83f883e8372e2f0a2f95dc2bc6ae

8 years agosensord: sensor event listening thread support with GMainContext 79/54079/4
Hongkuk, Son [Fri, 11 Dec 2015 07:12:00 +0000 (16:12 +0900)]
sensord: sensor event listening thread support with GMainContext

Support application's new thread to receive sensor event with GMainContext input param.

Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com>
Change-Id: Iaaa817aeb4cde1f8d3e712702e83cc564e42ef78

8 years agosensord: use macro in sensord package config 39/54039/2
Hongkuk, Son [Fri, 11 Dec 2015 03:08:53 +0000 (12:08 +0900)]
sensord: use macro in sensord package config

replace hard-coded name to macros

Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com>
Change-Id: If030926b32ed52a8431cdcdfdeb97ff0e7109c2f

8 years agoRemoving unused macros from check sensor API 69/54069/1
Adarsh Shree Ram [Fri, 11 Dec 2015 07:03:37 +0000 (12:33 +0530)]
Removing unused macros from check sensor API

The changes in this patch are based on the comments on an earlier patch regarding remvoing unnecessary macros.

Change-Id: Ia2c1cb4a94ca8b17df8625a4c52b2d841a977d44

8 years agoMerge branch 'tizen' into devel/tizen_3.0 91/53791/1
Mu-Woong Lee [Wed, 9 Dec 2015 10:14:08 +0000 (19:14 +0900)]
Merge branch 'tizen' into devel/tizen_3.0

Change-Id: I16e48d006b3b346f03fb6159757c193733272dc3
Signed-off-by: Mu-Woong Lee <muwoong.lee@samsung.com>
8 years agoCleanup of xml file and related changes 54/52954/12
Adarsh Shree Ram [Wed, 2 Dec 2015 10:15:18 +0000 (15:45 +0530)]
Cleanup of xml file and related changes

Change-Id: Iee4990a20246b8d73e1bbbd5f16c50bbe5139342

8 years agoSeparate classes for event listener and client info 91/48591/20
Ankur [Fri, 27 Nov 2015 10:00:01 +0000 (15:30 +0530)]
Separate classes for event listener and client info

Modified the csensor_event_listener and separated the client information into a separate class. Earlier both the client information and the event listener functionality was present in a single class.
This is more structured code.

Review: Removing the functions from event_listener class as they have been moved to client_info class.
Review2: Removing m_client_info from csensor_event_listener and using it as a static instance.

Change-Id: Ie18e84023a8c448fbd8a06f2d2615b4e8c117c65

8 years agoRenaming uncal_gyro sensor to gyro_uncal sensor 37/52737/7
Ankur [Thu, 26 Nov 2015 10:29:01 +0000 (15:59 +0530)]
Renaming uncal_gyro sensor to gyro_uncal sensor

Change-Id: Ib504e2ba4984c2a1631e09ed4abdf88e90470ec3

8 years agoChanging sf_* to sensord_* APIs in test suite 47/52647/3
Adarsh Shree Ram [Wed, 25 Nov 2015 09:49:52 +0000 (15:19 +0530)]
Changing sf_* to sensord_* APIs in test suite

Change-Id: I44e9b5451d24b56042979bbe3bdaff6edca2c2cd

8 years agoMoving sensor definitions to sensor_types.h and cleanup of event definitions 43/52643/2
Ankur [Wed, 25 Nov 2015 09:46:51 +0000 (15:16 +0530)]
Moving sensor definitions to sensor_types.h and cleanup of event definitions

Change-Id: Ic3e1d7c098594134aba1f90da639b01f2f4c8908

8 years agoRemoving Separate library for sensor-plugins, included it in sensord exec 51/51951/4
Ankur [Tue, 17 Nov 2015 12:18:10 +0000 (17:48 +0530)]
Removing Separate library for sensor-plugins, included it in sensord exec

No Separate sensor-plugin library for sensord plugins, object files for sensor plugins now included in sensord exec.
Updated the sensor_plugin loader as per new structure

Change-Id: I03b18c148c00460c47de85fcbe3fa00a5b498213

8 years agoFixing build issues for auto_rotation and rv_raw 90/51790/1
Ankur [Mon, 16 Nov 2015 06:35:46 +0000 (12:05 +0530)]
Fixing build issues for auto_rotation and rv_raw

Tested auto_rotation on rd-pq

Change-Id: Ie5fb189bdad77ec7544406072770f03fe3145d0d

8 years agoFixing issues related to loading virtual sensors 99/51699/1
Ramasamy [Thu, 12 Nov 2015 10:39:12 +0000 (19:39 +0900)]
Fixing issues related to loading virtual sensors

- fixing loader file for virtual sensors
- cleanup

Change-Id: Id290de293f8090a15790aaf94ee22e7aa6d93797

8 years agoDebugging issues for loading and execution 62/51662/2
Ramasamy [Thu, 12 Nov 2015 02:04:55 +0000 (11:04 +0900)]
Debugging issues for loading and execution

- Accelerometer sensor loads and works correctly.
- The build system is independent for both sensord and sensor-haDebugging issues for loading and execution

Change-Id: Iff3066bfe211cdbd21999940ad5fb44d8483045a

8 years agoCleanup of unused pkg config files 06/51606/2
Ramasamy [Wed, 11 Nov 2015 06:45:16 +0000 (15:45 +0900)]
Cleanup of unused pkg config files

- Removing unused pkg config files
- cleanup

Change-Id: I8e25441b4a8ca9482dfd1e4b84a1a8eb4b99df7a

8 years agoRefactoring sensord build files 29/51529/1
Ramasamy [Tue, 10 Nov 2015 09:40:39 +0000 (18:40 +0900)]
Refactoring sensord build files

- Refactoring all cmake and spec files.
- single library for all sensord-plugins
- updated plugin loader for single sensord-plugins and hal-plugins lib
- moving pressure sensor config to sensor-hal
- adding separate library for sensord-plugins

Change-Id: I9333be215387a4d4fcd7b6a4cbdb7206c4a88bdf

8 years agoFixing Cmakelist and spec issues 20/51320/2
Ramasamy [Fri, 6 Nov 2015 12:25:08 +0000 (21:25 +0900)]
Fixing Cmakelist and spec issues

- Fixing issues in cmake and spec files after restructuring

Change-Id: I3a5bb8c74d2af6d24539ead4b7e5c411ca4ca0e3

8 years agoChanges as per the new sensord structure 07/50907/2
Adarsh Shree Ram [Tue, 3 Nov 2015 11:44:03 +0000 (17:14 +0530)]
Changes as per the new sensord structure

-UPdated CMakelists and spec files as per the new sensord structure
-updated header file inclusions as per the new file names
-moved files from shared to server folder

Change-Id: I06d7387d1c4a7dc0851e0ece7df0c11ddaa10b22

8 years agoRestructuring sensord package 16/50416/2
Ramasamy [Wed, 28 Oct 2015 11:07:49 +0000 (20:07 +0900)]
Restructuring sensord package

- Renaming, moving and restructuring files logically

Change-Id: Ifec6471c36be4669dbd90c1f1c0fe714a6267f5b

8 years agoAdding interface file and updating the corresponding files 68/50368/1
Ankur [Wed, 28 Oct 2015 07:31:58 +0000 (13:01 +0530)]
Adding interface file and updating the corresponding files

Change-Id: I8f91282995b2ff49195ae9b2c15b740df6635a42

8 years agoRenaming libsensord folder to client 55/50255/1
Ankur [Tue, 27 Oct 2015 06:30:45 +0000 (12:00 +0530)]
Renaming libsensord folder to client

updated the cmake files etc correspondingly

Change-Id: I47e4cc1abbaf8218ac6f4ec299a2b70a00d8ee19

8 years agoMoving hal files to new repo and updating CMakeLists and spec file 85/49985/2
Ankur [Thu, 22 Oct 2015 09:46:24 +0000 (15:16 +0530)]
Moving hal files to new repo and updating CMakeLists and spec file

-Deleting the Hal files for each sensor (moved to new repo)
-updating CMakelists for each sensor and shared/libsensord/server folders
-added the new project as the dependency in the spec file and the CMakelists

Change-Id: I313cf9ef00e86bea8fe852ded64c28a58d52f2d2

8 years agoDeleting unused file crw_lock.h and crw_lock.cpp 82/49982/1
Ankur [Thu, 22 Oct 2015 09:11:12 +0000 (14:41 +0530)]
Deleting unused file crw_lock.h and crw_lock.cpp

this class was not being used anywhere.

Change-Id: Ib379cb65bae7de550b470fe00b7f490c73e20bd0

8 years agoRepositioning of header files for improving modularity 03/48903/4
Adarsh Shree Ram [Thu, 1 Oct 2015 09:37:50 +0000 (15:07 +0530)]
Repositioning of header files for improving modularity

The header files are repositioned to remove existing depencies between files that are to be added to a new repo.

Change-Id: I94da30600627453dba0c60151627e2df7ff86d21

8 years agoMigrating some code to calculate event from proxi_sensor_hal to proxi_sensor 82/48882/3
Ankur [Thu, 22 Oct 2015 07:15:08 +0000 (12:45 +0530)]
Migrating some code to calculate event from proxi_sensor_hal to proxi_sensor

This code basically checks if the value read is for far or near and based on that, assigns a enum value to the event.
This code needs to be moved to proxi_sensor.cpp so that dependency between sensor_internal.h and proxi_sensor_hal.cpp is removed as proxi_sensor_hal.cpp needs to be moved to a separate repo later.

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

8 years agoRestructuring the sensord framework codebase 95/48595/8
Adarsh Shree Ram [Thu, 22 Oct 2015 06:51:19 +0000 (12:21 +0530)]
Restructuring the sensord framework codebase

The codebase is segregated into 4 directories :libsensord,server,shared and plugins .The plugins directory contains all the sensor plugins under one folder.

Changes: Moved all individual sensor folders into a single folder plugins/
Moved sensor_event definitions files from libsensord(client) to shared as they are being used by plugins/server/client

Change-Id: I42900352c7068cf9fde188a83c92580c62274168

8 years agosensord: cplugin_info_list implementation 75/49875/1
Hongkuk, Son [Wed, 21 Oct 2015 06:08:54 +0000 (15:08 +0900)]
sensord: cplugin_info_list implementation

Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com>
Change-Id: I8180880b26021462398c94761206b84fd2c3dfbe

8 years agosensord: batch mode support 70/49870/1
Hongkuk, Son [Wed, 21 Oct 2015 05:26:47 +0000 (14:26 +0900)]
sensord: batch mode support

Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com>
Change-Id: Id5f72577237caeb9dd814796a7b059f53e68015d

8 years agosensord: wakeup mode support 63/49863/1
Hongkuk, Son [Wed, 21 Oct 2015 04:41:06 +0000 (13:41 +0900)]
sensord: wakeup mode support

Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com>
Change-Id: I476e3da1a2e5797b38b914e3e9614bd0beb841a9

8 years agosensord: extra data embedding 62/49862/1
Hongkuk, Son [Wed, 21 Oct 2015 02:35:05 +0000 (11:35 +0900)]
sensord: extra data embedding

Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com>
Change-Id: I79be951f32e25e7497f55819a051cf8de1a4cd30

8 years agosensord: disable ultraviolet and bio_led_red 39/49839/1
Hongkuk, Son [Tue, 20 Oct 2015 13:10:01 +0000 (22:10 +0900)]
sensord: disable ultraviolet and bio_led_red

To prevent TCT fail, disable ultraviolet and bio_led_red TEMPORARILY.

Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com>
Change-Id: Iea680190defc5e8f4689724878c00047f7a84fa9

8 years agosensord: sync with SPIN tizen_2.4 73/49673/4
Hongkuk, Son [Sun, 18 Oct 2015 05:06:03 +0000 (14:06 +0900)]
sensord: sync with SPIN tizen_2.4

Signed-off-by: Hongkuk, Son <hongkuk.son@samsung.com>
Change-Id: I6c2150a15109a0ab80c3e642828a2786f137690f

8 years agoReplace Security-server with Cynara 60/49560/4
Mu-Woong [Thu, 15 Oct 2015 05:38:12 +0000 (14:38 +0900)]
Replace Security-server with Cynara

Change-Id: If00a9d7d3d87a2f7b01c33e8d2b0986a69a19e82
Signed-off-by: Mu-Woong <muwoong.lee@samsung.com>
8 years agoMerge "Adding test case for single process multi-threaded client application" into...
Mu-Woong Lee [Thu, 1 Oct 2015 06:16:17 +0000 (23:16 -0700)]
Merge "Adding test case for single process multi-threaded client application" into tizen

8 years agoAdding test case for single process multi-threaded client application 45/47645/7
Adarsh Shree Ram [Mon, 7 Sep 2015 11:32:49 +0000 (17:02 +0530)]
Adding test case for single process multi-threaded client application

multi-threaded test case to test the performance of the sensors running in parallel for a specific time interval.
Change-Id: I2a47ef879a5bb6ebdbea85e164ce18341516b708

8 years agoMerge "Correcting the polling function get_sensor_data error for rotation_vector...
Mu-Woong Lee [Thu, 10 Sep 2015 11:30:33 +0000 (04:30 -0700)]
Merge "Correcting the polling function get_sensor_data error for rotation_vector" into tizen

8 years agoCorrecting the polling function get_sensor_data error for rotation_vector 27/47927/1
Ankur [Thu, 10 Sep 2015 06:26:24 +0000 (11:56 +0530)]
Correcting the polling function get_sensor_data error for rotation_vector

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

8 years agoRemoving compilation error for aarch64 25/47925/1
Ankur [Thu, 10 Sep 2015 05:46:52 +0000 (11:16 +0530)]
Removing compilation error for aarch64

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

8 years agoModifying Gaming RV to use a separate instance of sensor fusion - separate from fusio... 72/45872/4
Ankur [Wed, 12 Aug 2015 06:27:47 +0000 (11:57 +0530)]
Modifying Gaming RV to use a separate instance of sensor fusion - separate from fusion sensor

Independent of Fusion Sensor.
Tested on rd-pq

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

8 years agoFixing bug related to polling for geomagnetic_rv sensor 25/46525/2
Ankur [Fri, 21 Aug 2015 09:46:56 +0000 (15:16 +0530)]
Fixing bug related to polling for geomagnetic_rv sensor

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

8 years agoAdding data collected for accelerometer,gyroscope and magnetic sensor for pedometer... 52/41652/3
Vibhor Gaur [Wed, 17 Jun 2015 08:55:07 +0000 (14:25 +0530)]
Adding data collected for accelerometer,gyroscope and magnetic sensor for pedometer for different walking scenarios along with the octave code to plot the data

-Walking scenarios:Phone in hand,Phone in pant pocket,Phone in shirt pocket and Phone while talking for each of the following cases:
1.Climbing stairs down
2.Climbing satirs up
3.Walking fast
4.Walking slow

Change-Id: I8dd891036a892f0987a662dfa765e46a34e7b03f

8 years agoUpdating geo_rv and gyro_rv support for sensor fusion test file 21/45621/7
Ramasamy [Mon, 10 Aug 2015 02:26:22 +0000 (11:26 +0900)]
Updating geo_rv and gyro_rv support for sensor fusion test file

- Added NULL input handling in test file for gyro and geo rotation
vector standalone tests.

Change-Id: Ia2a3f6a7d0221b27ee1edbcf7d91413bd13c6f95

8 years agoAlgorithm improvement for orientation based on accel+gyro 70/45570/6
Ankur [Tue, 11 Aug 2015 06:13:18 +0000 (11:43 +0530)]
Algorithm improvement for orientation based on accel+gyro

- Updated algorithm to compensate drift based on mean square
threshold values for accelerometer and gyroscope input.
- Updated the C-library with improvement in algorithm.

Change-Id: I91e99c8722fd568b7da58424b0397e9f07dd456a

8 years agoUpdating test files to support HRM led red sensor 78/45078/9
Ramasamy [Fri, 31 Jul 2015 08:33:30 +0000 (17:33 +0900)]
Updating test files to support HRM led red sensor

Updated test files for HRM led red sensor.

Change-Id: I8bb1300cd70b9805dcdaf7787c51dfce18fb4430

8 years agoRemoving unused members 83/46183/2
Adarsh Shree Ram [Mon, 17 Aug 2015 13:57:33 +0000 (19:27 +0530)]
Removing unused members

Change-Id: Ie54cec7be0b553233ff8e1f00b461488d44aa373

8 years agoRemoving typecasting warning 70/46170/2
Adarsh Shree Ram [Mon, 17 Aug 2015 12:04:57 +0000 (17:34 +0530)]
Removing typecasting warning

Change-Id: I5e8978411b1319a551cc6807177012ee8a4aeefe

8 years agoRemoving intialization warning 59/46159/2
Adarsh Shree Ram [Mon, 17 Aug 2015 10:22:36 +0000 (15:52 +0530)]
Removing intialization warning

Change-Id: Ia988358f2aa383ce5202f1f40983f825485bdd9e

8 years agoCode Cleanup for Tilt sensor files 62/46062/2
Adarsh Shree Ram [Thu, 13 Aug 2015 12:00:17 +0000 (17:30 +0530)]
Code Cleanup for Tilt sensor files

Change-Id: I0db7e52aa61812801342aa6d80a24fe2b78508f4

8 years agoAdding HRM LED RED sensor plugin for Note 4 77/45077/9
Ramasamy [Fri, 31 Jul 2015 08:28:15 +0000 (17:28 +0900)]
Adding HRM LED RED sensor plugin for Note 4

- Adding HRM LED RED sensor plugin.
- Adding build files for new plugin.
- Adding API for new sensor.
- Adding configuration for new sensor.

Change-Id: I81231b8fdc831660f28c91ee1ba0850a19955c15

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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>
8 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>
8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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

8 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