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
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
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
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
Ramasamy [Wed, 25 Feb 2015 12:06:20 +0000 (17:36 +0530)]
Adding different RD-PQ hardware virtual sensor xml configuration
The sensor hardware behavior has been found to be different for 2
different variants of the RD-PQ hardware used for development.
Adding the virtual sensor xml configuration for the 2nd RD-PQ
hardware that is tested.
Change-Id: Ic1c13b7a5da7cb9802d07c5401e04151d56a89e9
Ramasamy [Wed, 25 Feb 2015 04:48:07 +0000 (10:18 +0530)]
Replacing mul() with operator *() after rebase
mul() method has been replaced with *() in one of the other
commits. Rebasing according to the change.
Change-Id: I1f332dbe3413f2b08e1107783c59cdca48f54c71
Ramasamy [Tue, 24 Feb 2015 10:00:20 +0000 (15:30 +0530)]
Updating sensord spec files and CMakelist files for Gaming RV
Adding build support for Gaming RV to spec file and CMakelist file for
sensord repository
Change-Id: I5ce0a9f129cbfcf25f52e878d4e7297942d098bb
Ramasamy [Tue, 24 Feb 2015 09:52:49 +0000 (15:22 +0530)]
Updating priority queue code for Gaming RV
Enabling the priority queue support for input events of Gaming RV
Change-Id: I722cf91986680de6d1505bc5b45d044aa23681b2
Ramasamy [Thu, 26 Feb 2015 07:07:38 +0000 (12:37 +0530)]
Updating test automation files to support Gaming RV
Updating auto_test and tc-common test automation files to support
Gaming RV virtual sensor
Change-Id: Ib8466cbe6683a1bb2eba3ec602d7892f5b80ad35
Ramasamy [Tue, 24 Feb 2015 08:52:25 +0000 (14:22 +0530)]
Updating XML configuration for Gaming RV virtual sensor
Updating the Gaming rotation vector XML configuration file for
emulator and RD-PQ device profiles.
Change-Id: I6cb0095eda1708432bb2fd3c8285c426ee13eaf6
Ramasamy [Tue, 24 Feb 2015 08:46:14 +0000 (14:16 +0530)]
Updating sensor API for Gaming RV virtual sensor
Adding sensor API related changes for Gaming RV virtual sensor.
Change-Id: If0e5dc62e1f122739b888c14e61ee3e8d66e9aca
Ramasamy [Tue, 24 Feb 2015 08:31:41 +0000 (14:01 +0530)]
Adding CMake files for adding gaming rotation vector
Adding new CMakelist file and updating existing CMakelist file for
rotation vector.
Change-Id: Ic65bc47d2d375e5e2d64dfc3deb515b08fc7261c
Ramasamy [Tue, 24 Feb 2015 08:13:40 +0000 (13:43 +0530)]
Adding implementation for gaming_rv class
Adding file for implementation of gaming_rv class methods
Change-Id: Ie6362ff80ab55d6c6283b8d9ecb06414bd7791a0
Ramasamy [Tue, 24 Feb 2015 08:08:13 +0000 (13:38 +0530)]
Adding gaming rotation vector class definition
Adding new class gaming_rv which computes device orientation
quaternion using accelerometer and gyroscope sensor inputs.
Change-Id: If653b55bd1aabf3f47e6e1065bdeb93c82f0dbc2
Ramasamy [Tue, 24 Feb 2015 06:24:06 +0000 (11:54 +0530)]
Cleaning CMake files for unused package dependencies
- Removing all unused package dependencies in CMakelist files
- Sometimes build hangs while searching for packages that
are added in each CMake files.
Change-Id: Iff099501d1e4a7c03c74a34ce8f800490bbdff57
Ramasamy [Tue, 24 Feb 2015 06:20:05 +0000 (11:50 +0530)]
Removing unused vconf dependencies in shared folder
- removing vconf header file in csensor_event_dispatcher as it is
not used
- removing vconf dependency from make file
Change-Id: Ia84bee39465876adcc8abb00b933d25e0155c956
Ramasamy [Thu, 26 Feb 2015 06:38:56 +0000 (12:08 +0530)]
Fixing Geomagnetic RV test files and event representation
- Fixing geomagnetic rv test file
- Changing geomagnetic rv event name in package
Change-Id: I4f8f7ca7da9b2f7745efadbffa076955f9bbd5df
Vibhor Gaur [Tue, 24 Feb 2015 11:55:53 +0000 (17:25 +0530)]
Shifting redundant event representations to sensor_deprecated.h file
-Redundant event representations were removed for accelerometer,gyroscope,proximity,pressure and geomagnetic sensor.
-These representations have been shifted to sensor_deprecated.h in case other packages outside sensord are using these representations.
Change-Id: I7e05fcee9153351cae3a095d4966d67598a6b960
Vibhor Gaur [Mon, 23 Feb 2015 14:27:54 +0000 (19:57 +0530)]
Removing redundant temperature sensor events
TEMPERATURE_BASE_DATA_SET and TEMPERATURE_EVENT_RAW_DATA_REPORT_ON_TIME were the same.
TEMPERATURE_BASE_DATA_SET has been removed.
TEMPERATURE_BASE_DATA_SET was used for polling events and TEMPERATURE_EVENT_RAW_DATA_REPORT_ON_TIME was used for event driven.
Since both these represent the same pressure event, DATA_SET type has been removed and TEMPERATURE_EVENT_RAW_DATA_REPORT_ON_TIME has been renamed to TEMPERATURE_RAW_DATA_EVENT to make it simpler.
These representations have been shifted to sensor_deprecated.h in case other packages outside sensord are using these representations.
Change-Id: I7ebe005fcb2dd236cabf4c209a4456973f4597d1
Kibak Yoon [Tue, 17 Feb 2015 05:53:52 +0000 (14:53 +0900)]
sensord: remove sensor.h which supports some packages because it is
unnecessary.
It doesn't need to support sensor.h for some packages use internal api
any more.
Change-Id: I814d198c85ac44e01349dbf5741ff50501a6ae48
Signed-off-by: Kibak Yoon <kibak.yoon@samsung.com>
Vibhor Gaur [Mon, 23 Feb 2015 12:53:29 +0000 (18:23 +0530)]
Correcting indentation for if condition and adding error handling statement for sensord_unregister_event
-Correcting the position of the starting brace in the if condition.
-Adding error handling condition in the common test folder for unregistering the event.
-Changes have been made as per reviews in previous patches.
Change-Id: I407bb6a22ddf0756aed2e7c3649a1c3490a7ba28
Ankur [Mon, 23 Feb 2015 13:30:17 +0000 (19:00 +0530)]
Changes as per the reviews on the previous patches
As per the reviews on the previous patches, submitting a patch with all the changes suggested in the reviews.
Tested on RD-PQ device
Change-Id: I15e79bdd0331c17908cc62fa523bab188cc28295
Ramasamy [Thu, 19 Feb 2015 11:47:02 +0000 (17:17 +0530)]
Updating orientation xml configuration for RD-PQ target
- Updating RD-PQ xml configuration for orientation virtual sensor.
- Updating RD-PQ xml configuration for geomagnetic rv virtual
sensor.
- Updating RD-PQ xml configuration for rotation vector virtual
sensor.
- W3C compliance for orientation rotations.
Change-Id: I55e23be69b09030de636d151d86f86b472266b76
Vibhor Gaur [Mon, 23 Feb 2015 09:30:28 +0000 (15:00 +0530)]
Removing redundant geomagnetic sensor events
GEOMAGNETIC_BASE_DATA_SET and GEOMAGNETIC_EVENT_RAW_DATA_REPORT_ON_TIME were the same GEOMAGNETIC_BASE_DATA_SET has been removed.
GEOMAGNETIC_BASE_DATA_SET was used for polling events and GEOMAGNETIC_EVENT_RAW_DATA_REPORT_ON_TIME was used for event driven.
Since both these represent the same pressure event, DATA_SET type has been removed.
And GEOMAGNETIC_EVENT_RAW_DATA_REPORT_ON_TIME has been renamed to GEOMAGNETIC_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: Idacbdd970cb3d701ee7fbb0a882b7899fffc9fce
Vibhor Gaur [Wed, 18 Feb 2015 12:34:15 +0000 (18:04 +0530)]
Removing redundant pressure sensor events
PRESSURE_BASE_DATA_SET and PRESSURE_EVENT_RAW_DATA_REPORT_ON_TIME were the same PRESSURE_BASE_DATA_SET has been removed.
PRESSURE_BASE_DATA_SET was used for polling events and PRESSURE_EVENT_RAW_DATA_REPORT_ON_TIME was used for event driven
Since both these represent the same pressure event, DATA_SET type has been removed.
And PRESSURE_EVENT_RAW_DATA_REPORT_ON_TIME has been renamed to PRESSURE_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: I6d4a0c81787dab67b3f61a2c511b181c50a763d1
Ankur [Wed, 18 Feb 2015 11:51:21 +0000 (17:21 +0530)]
Removing redundant proximity events
PROXIMITY_BASE_DATA_SET and PROXIMITY_EVENT_CHANGE_STATE were the same
PROXIMITY_BASE_DATA_SET has been removed.
PROXIMITY_BASE_DATA_SET was used for polling events and PROXIMITY_EVENT_CHANGE_STATE was used for event driven
Since both these represent the same proximity event, DATA_SET type has been removed.
And PROXIMITY_EVENT_CHANGE_STATE has been renamed to PROXIMITY_CHANGE_STATE_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: Idb5a5213fdeecdeef0503b8f7388cdb2b0b36385
Ankur [Wed, 18 Feb 2015 11:25:35 +0000 (16:55 +0530)]
Removing redundant gyroscope events
GYRO_BASE_DATA_SET and GYROSCOPE_EVENT_RAW_DATA_REPORT_ON_TIME were the same
GYRO_BASE_DATA_SET has been removed.
GYRO_BASE_DATA_SET was used for polling events and GYROSCOPE_EVENT_RAW_DATA_REPORT_ON_TIME was used for event driven
Since both these represent the same gyroscope event, DATA_SET type has been removed.
And GYROSCOPE_EVENT_RAW_DATA_REPORT_ON_TIME has been renamed to GYROSCOPE_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: Ie4d6642691a8d57abed5f0b6387922fc871904c4
Ankur [Wed, 18 Feb 2015 10:27:13 +0000 (15:57 +0530)]
Removing redundant accelerometer events
ACCELEROMETER_BASE_DATA_SET and ACCELEROMETER_EVENT_RAW_DATA_REPORT_ON_TIME were the same
ACCELEROMETER_BASE_DATA_SET has been removed.
ACCELEROMETER_BASE_DATA_SET was used for polling events and ACCELEROMETER_EVENT_RAW_DATA_REPORT_ON_TIME was used for event driven
Since both these represent the same accelerometer event, DATA_SET type has been removed.
And ACCELEROMETER_EVENT_RAW_DATA_REPORT_ON_TIME has been renamed to ACCELEROMETER_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: I7602335045a1847b9ea3e58247b6ddcc82bbda7f
Vibhor Gaur [Mon, 16 Feb 2015 12:33:49 +0000 (18:03 +0530)]
Common test folder and automated testing of sensor APIs - Feature merge from devel/tizen branch
-This is last of the four patches being submitted to merge the changes from devel/tizen to tizen branch. This contains the changes for making a common test folder for all sensors and an automatic test to test sensor APIs for sensors.
-This patch also tests all the four patches submitted for merging features from devel/tizen to tizen branch.
Change-Id: I2a101d14ea2ebbb92342232f89f4f17a3889c148
Vibhor Gaur [Fri, 13 Feb 2015 10:03:50 +0000 (15:33 +0530)]
Gaming rotation vector - Feature merge from devel/tizen branch
This is third of the four patches being submitted to merge the changes from devel/tizen to tizen branch.
This contains the changes for adding gaming rotation vector virtual sensor.
Build has been checked for armv7l and aarch64 for public repo.
Change-Id: I2da4478c01bf450d49240800695b57969ae22be7
Ankur [Thu, 12 Feb 2015 14:02:03 +0000 (19:32 +0530)]
Geomagnetic Sensor file - Feature merge from devel/tizen branch
This is second of the four patches being submitted to merge the changes from devel/tizen to tizen branch.
This contains the changes for adding geomagnetic rotation vector virtual sensor.
Build has been checked for armv7l and aarch64 for public repo.
Change-Id: Ie91229c349a452e8d24e7d831c258f1b9d26d72e
Ankur [Thu, 12 Feb 2015 12:27:12 +0000 (17:57 +0530)]
Optimization of template structure - Feature merge from devel/tizen branch
This is one of the four patches being submitted to merge the changes made to devel/tizen to tizen branch.
This contains the feature where the template structure of the vector and matrix classes was changed.
Patch Set 3: Changes related to coding guidelines as per the comments
Build has been checked for armv7l and aarch64 for public repo.
Change-Id: Ia26d66b1ca351a22de92b858f6b60dbfee242d42
Kibak Yoon [Mon, 16 Feb 2015 13:44:32 +0000 (22:44 +0900)]
sensord: add sensor types for HRM sensor
Heart Rate Monitor sensor type is added and supported on sensor fw.
Change-Id: If0ec9fd72b5658d13f5a61f9bf2902c663812fdc
Signed-off-by: Kibak Yoon <kibak.yoon@samsung.com>
Ramasamy [Thu, 12 Feb 2015 04:14:23 +0000 (09:44 +0530)]
Removing vconf dependencies from sensor plugin build files
Removing vconf dependencies from various sensor plugins where
vconf functionality is not used.
This is to reduce hanging during build.
Change-Id: I2f7fcc8af349f240bb88c8e578d7c556c0bb89e5
Kibak Yoon [Thu, 29 Jan 2015 13:02:22 +0000 (05:02 -0800)]
Merge "sensord: fix the bug about terminating null byte when using strncpy" into tizen
Kibak Yoon [Thu, 29 Jan 2015 10:59:47 +0000 (19:59 +0900)]
sensord: fix the bug about terminating null byte when using strncpy
when termination was forced, the index was wrong.
Change-Id: I7966527a5bece6bb4a09ceec63d4eec3f751b13b
Signed-off-by: Kibak Yoon <kibak.yoon@samsung.com>
Kibak Yoon [Sun, 25 Jan 2015 04:13:19 +0000 (20:13 -0800)]
Merge "Removed Compiler warning - comparison between signed and unsigned integers" into tizen
Kibak Yoon [Fri, 23 Jan 2015 05:47:54 +0000 (14:47 +0900)]
sensord: modify the macro for avoiding build-break
In both of CAPI and Internal API, declaration of sensor_option_e is duplicated
and the macro should be changed by proper name
Change-Id: I9b19791b44247d9684dba05845131ecbc41f3917
Signed-off-by: Kibak Yoon <kibak.yoon@samsung.com>
Ankur [Thu, 22 Jan 2015 12:01:30 +0000 (17:31 +0530)]
Removed Compiler warning - comparison between signed and unsigned integers
-Changed int to unsigned int in permission_checker.cpp to remove warning about comparison between signed and unsigned integers.
Change-Id: I3b7b4fe6bfbd303d173633a0035115017974776a
Stephane Desneux [Mon, 19 Jan 2015 15:20:39 +0000 (16:20 +0100)]
fix build for buxton
Change-Id: I93eb443bada926aaaf105029bd33cb205d93c419
Signed-off-by: Stephane Desneux <stephane.desneux@open.eurogiciel.org>
Ramasamy [Tue, 20 Jan 2015 11:02:02 +0000 (16:32 +0530)]
Adding sensor event check for get_sensor_data RV sensor
Added code to check event type for RV sensor get_sensor_data method
Change-Id: Ifc9ed8f3cab0fe24ab41296267a10f3b0fde560e
Ramasamy [Tue, 20 Jan 2015 10:59:34 +0000 (16:29 +0530)]
Cleanup of unused virtual sensor class variables
Removing all class variables added to store virtual sensor data
as this is not used anymore by get_sensor_data method.
Change-Id: Ifd878de73ab819f80b7042f02e1bc407a4427bc1
Ramasamy [Mon, 19 Jan 2015 10:06:44 +0000 (15:36 +0530)]
Correcting minimum range for rv sensor properties
Minimum range for quaternions is between +1 and -1
Change-Id: Idf705e7a3cb1fa640add78522846e618dc36cdb8
Ramasamy [Mon, 19 Jan 2015 09:51:04 +0000 (15:21 +0530)]
Fix for Nan issues in virtual sensor using fusion
- Very small float values during multiplication with other small
float values get rounded of to zero.
- This fix ensures that very small values are set to negligible
values instead before they are rounded of to zero.
Change-Id: Ic8c60137586c1835838ccdb2ebbd85e4f3662927
Ramasamy [Mon, 19 Jan 2015 09:45:46 +0000 (15:15 +0530)]
Fixing measurement update systems for kalman filter
The equivalent octave code implementation taken from technical
paper is given below.
for j =1:6
% compute Kalman gain
K(:,j) = P(j ,:)./(P(j,j)+R(j,j));
% update state vector
x(:,i) = x(:,i) + K(:,j) * e(j);
% update covariance matrix
P = (eye(6) - (K(:,j) * H(j,:))) * P;
end
*** The actual fix for Nan issue is in seperate commit ***
Change-Id: Ided63f4df431416cb4ace4508417e2dffbd1888a
Ramasamy [Mon, 19 Jan 2015 09:40:51 +0000 (15:10 +0530)]
Fixing issue related to adding rv sensor
- RV_Enable CMake variable does not have global scope
- Using RV variable from spec file.
Change-Id: I9c1a2149d67cd76ed38797ca528040c51cfa3710
Kibak Yoon [Fri, 16 Jan 2015 12:00:39 +0000 (04:00 -0800)]
Merge "Fix for adding sensor fusion folder for RV sensor" into tizen
Kibak Yoon [Fri, 16 Jan 2015 12:00:29 +0000 (04:00 -0800)]
Merge "Corrected the return value of functions rad2deg and deg2rad in euler_angles" into tizen
Kibak Yoon [Fri, 16 Jan 2015 12:00:10 +0000 (04:00 -0800)]
Merge "Fixing build issue in quaternion file" into tizen
Kibak Yoon [Fri, 16 Jan 2015 11:59:12 +0000 (03:59 -0800)]
Merge "Passing fourth parameter as required in sensor data main file for sensor fusion" into tizen
Kibak Yoon [Fri, 16 Jan 2015 11:58:56 +0000 (03:58 -0800)]
Merge "Bug Fixing - Corrected the return value for operator '+' for sensor_data" into tizen
Kibak Yoon [Fri, 16 Jan 2015 11:58:08 +0000 (03:58 -0800)]
Merge "Cleanup of unused events in Rotation Vector sensor" into tizen
Ankur [Thu, 15 Jan 2015 12:21:12 +0000 (17:51 +0530)]
Corrected the return value of functions rad2deg and deg2rad in euler_angles
Functions were returning wrong type vector<T> instead of euler_angles<T>
Change-Id: I9a1081ef777106168ce437823b22bbe817a87293
Vibhor Gaur [Thu, 15 Jan 2015 12:02:49 +0000 (17:32 +0530)]
Fixing build issue in quaternion file
-In * operator, vector was returned.
-Fixed it to returning quaternion type object.
Change-Id: I75179d510f32a03f9e08f5f348dd55b7c16f8784
Ankur [Thu, 15 Jan 2015 11:45:58 +0000 (17:15 +0530)]
Bug Fixing - Corrected the return value for operator '+' for sensor_data
Change-Id: Ie59aeab94e276de203697dceb07fa59da15185f3
Vibhor Gaur [Thu, 15 Jan 2015 11:44:26 +0000 (17:14 +0530)]
Passing fourth parameter as required in sensor data main file for sensor fusion
-Removed compiler error in constructor for testing sensor_data values for sensor fusion
Change-Id: Ic7c1212651c7d6ed835133cda724b00dcdf39cfc
Ramasamy [Thu, 15 Jan 2015 11:24:20 +0000 (16:54 +0530)]
Fix for adding sensor fusion folder for RV sensor
- Sensor Fusion folder is not added in current case if RV sensor
is added without orientation sensor. This is fixed in the code so
rotation vector sensor can be added without orientation sensor.
Change-Id: I2658cef8925c55618c619dc2da7104cfbab61653
Ramasamy [Thu, 15 Jan 2015 11:03:23 +0000 (16:33 +0530)]
Cleanup of unused events in Rotation Vector sensor
- The unused event representations and usage are removed for
rotation vector virtual sensor.
Change-Id: I363a27ea5d1a3b37b05ab8dce3bfcf04cc27064f
Ankur [Thu, 15 Jan 2015 08:21:07 +0000 (13:51 +0530)]
Removed compiler warning - wrong initialization order
-Corrected the wrong order of intialization (causing gcc to throw a warning)
Change-Id: I5662f93b0147fb50bafd7c74b074f7ad7e12c9ac
Ankur [Thu, 15 Jan 2015 08:02:40 +0000 (13:32 +0530)]
Removed Compiler Warning - comparison between signed and unsigned integers
In client.cpp comparison between signed and unsigned integers.
Signed integer was a indev variable for a for loop and was always positive
So, changed it from int to unsigned int.
Change-Id: Ib7e3d569b9d2320f0a8f5a3eee50fdd0db6d5425
Ankur [Wed, 14 Jan 2015 13:40:47 +0000 (19:10 +0530)]
Removed compiler warning - dereferencing type-punned pointer
Change-Id: I18a383d818570608685bb55a2f9ce296e82d8432
Kibak Yoon [Tue, 13 Jan 2015 10:48:34 +0000 (02:48 -0800)]
Merge "Adding event driven test framework for geomagnetic sensor" into tizen
Kibak Yoon [Tue, 13 Jan 2015 01:32:20 +0000 (10:32 +0900)]
sensord: fix the bug about rename the function in orientation_filter
because the function name is changed, it should be replaced by new name.
Change-Id: I1ea4424aa0ac9a94d7ea1aeeb6e89054c932b594
Signed-off-by: Kibak Yoon <kibak.yoon@samsung.com>
Kibak Yoon [Sat, 10 Jan 2015 03:09:36 +0000 (19:09 -0800)]
Merge "Removed compiler warning - Implicit Declaration" into tizen
Kibak Yoon [Sat, 10 Jan 2015 03:09:23 +0000 (19:09 -0800)]
Merge "Cleanup - Removing redundunt assignments from vector.cpp and matrix.cpp" into tizen
Kibak Yoon [Sat, 10 Jan 2015 03:03:57 +0000 (19:03 -0800)]
Merge "Adding a new function for priority list insertion" into tizen
Kibak Yoon [Sat, 10 Jan 2015 03:03:28 +0000 (19:03 -0800)]
Merge "Fixing memory leak issues in test files" into tizen
Kibak Yoon [Sat, 10 Jan 2015 02:55:58 +0000 (18:55 -0800)]
Merge "Adding geomagnetic_rv implementation to orientation_filter class" into tizen
Kibak Yoon [Sat, 10 Jan 2015 02:54:24 +0000 (18:54 -0800)]
Merge "Changing all references for quaternion to 9axis_quaternion" into tizen
Kibak Yoon [Sat, 10 Jan 2015 02:54:12 +0000 (18:54 -0800)]
Merge "Renaming folders for testing sensor fusion" into tizen
Kibak Yoon [Sat, 10 Jan 2015 02:51:03 +0000 (18:51 -0800)]
Merge "sensord: remove unnecessary files in CMakeLists.txt" into tizen
Vibhor Gaur [Fri, 9 Jan 2015 09:48:47 +0000 (15:18 +0530)]
Adding a new function for priority list insertion
-Adding seperate function for insertion into priority list for virtual sensors.
-Initially insertion was done inside the same function as event registration.
-Adds modularity to the code.
Change-Id: Ifed2b6f690de70f103b389e24dc2d254398eaf66
Vibhor Gaur [Fri, 9 Jan 2015 09:29:28 +0000 (14:59 +0530)]
Adding event driven test framework for geomagnetic sensor
-Completing test file for geomagnetic sensor by adding event driven based testing as it exists for rest of the sensors.
Change-Id: I30033c31a1f415a698099029c07eef2d89b77903
Ramasamy [Fri, 9 Jan 2015 05:25:44 +0000 (10:55 +0530)]
Adding geomagnetic_rv implementation to orientation_filter class
- updated orientation_filter class for quaternion computation based
only on accel and geomagnetic input sensors.
- updated standalone test code for supporting geomagenetic rotation
vector computation.
Change-Id: Ie9b2ea60f3815adacff9fc7ee3c8e545f27b0816
Ramasamy [Fri, 9 Jan 2015 05:17:23 +0000 (10:47 +0530)]
Changing all references for quaternion to 9axis_quaternion
- Changing all references to ensure that 9axis_quaternion is
differentiated from geomagnetic quaternion orientation representations
-Changed all related standalone test files
Change-Id: Ic91ad79853504ed78bc7960346687fce462add31
Ramasamy [Fri, 9 Jan 2015 04:43:25 +0000 (10:13 +0530)]
Renaming folders for testing sensor fusion
Renamed sensor_fusion folder 'standalone' -> 'test'
Renamed sensor_fusion->test folder 'test' -> 'test_projects'
Change-Id: Icf24c0414011a70b82f6971eb42b899d829479d7
Vibhor Gaur [Thu, 8 Jan 2015 12:41:35 +0000 (18:11 +0530)]
Fixing memory leak issues in test files
Change-Id: I1aeeab6fc7e02c7d75c1f7671f9f77afbd42954f
Ankur [Thu, 8 Jan 2015 12:15:42 +0000 (17:45 +0530)]
Cleanup - Removing redundunt assignments from vector.cpp and matrix.cpp
The assignments were redundunt as in the next line only, the same variable was being assigned to some other value.
Change-Id: Iebe65db1bb1705466314a968117d7cc5a678ccff
Kibak Yoon [Thu, 8 Jan 2015 02:46:43 +0000 (11:46 +0900)]
sensord: remove unnecessary files in CMakeLists.txt
checking ARM is not necessary because this macro is not used in the
source.
Change-Id: I1ec44abd7670ad61dde1826fbaec023672e6f935
Signed-off-by: Kibak Yoon <kibak.yoon@samsung.com>
Kibak Yoon [Wed, 7 Jan 2015 13:42:08 +0000 (05:42 -0800)]
Merge "sensord: merge tizen 2.3 sensord into tizen branch" into tizen
Kibak Yoon [Wed, 7 Jan 2015 11:48:55 +0000 (20:48 +0900)]
sensord: merge tizen 2.3 sensord into tizen branch
there are the quite many changes between private and public.
but almost patches are for code-clean and mobile specific features.
through updating sensord at once, private, tizen 2.3, tizen 3.0 code are
in sync.
Change-Id: Ieaef0357c810682c6b9c82f7429f9a680eccd25c
Signed-off-by: Kibak Yoon <kibak.yoon@samsung.com>
Kibak Yoon [Wed, 7 Jan 2015 12:56:23 +0000 (04:56 -0800)]
Merge "Modifying sf_orientation for new estimate_orientation" into tizen
Kibak Yoon [Wed, 7 Jan 2015 12:56:11 +0000 (04:56 -0800)]
Merge "Modifying geomagnetic_RV files for new estimate_orientation" into tizen
Kibak Yoon [Wed, 7 Jan 2015 12:55:59 +0000 (04:55 -0800)]
Merge "Adapting estimate_orientation to support geomagnetic_RV" into tizen
Ankur [Tue, 6 Jan 2015 12:09:48 +0000 (17:39 +0530)]
Removed Compilation warning - Unused return value
-Return value from the function call to write() was not being used, generating a compilation warning.
-Added a while loop to check how many bytes are written in each iteration and ensure that the whole buffer is written.
Change-Id: Ice225aa6cfd4eb36293e5475c1d37ebf672e633a
Kibak Yoon [Wed, 7 Jan 2015 12:54:12 +0000 (04:54 -0800)]
Merge "adding estimate_geomagtic_rv implementation" into tizen
Kibak Yoon [Wed, 7 Jan 2015 12:54:00 +0000 (04:54 -0800)]
Merge "Updating estimate_gravity implementation for quaternion outputs" into tizen
Kibak Yoon [Wed, 7 Jan 2015 12:53:46 +0000 (04:53 -0800)]
Merge "Updating sf_orientation implementation for quaternion" into tizen
Kibak Yoon [Wed, 7 Jan 2015 12:53:30 +0000 (04:53 -0800)]
Merge "Updating estimate_orientation call to output quaternions" into tizen
Kibak Yoon [Wed, 7 Jan 2015 12:53:11 +0000 (04:53 -0800)]
Merge "Removing low pass filtering from design" into tizen
Kibak Yoon [Wed, 7 Jan 2015 12:52:58 +0000 (04:52 -0800)]
Merge "Adding simulation initialization file for Geomagnetic RV" into tizen
Kibak Yoon [Wed, 7 Jan 2015 06:24:37 +0000 (15:24 +0900)]
sensord: add/change enums and types for avoiding build-break
this patch would be reverted. However enumerations and types are added
for avoiding build-break until sensor capi is replaced by Tizen 2.3 API.
all packages which use tizen 2.2.1 api doesn't have a problem about
building, but some APIs don't work from now.
Change-Id: I8511158d977304b738fb33c9842a749e0f3519d1
Signed-off-by: Kibak Yoon <kibak.yoon@samsung.com>
Kibak Yoon [Wed, 7 Jan 2015 05:05:17 +0000 (14:05 +0900)]
sensord: fix CMakeList.txt for avoiding build-break
- define LIBDIR
- install virtual_sensors.xml
Change-Id: I4b3e65c6a0fa25dbf9e312e744087b4174a21620
Signed-off-by: Kibak Yoon <kibak.yoon@samsung.com>
Ramasamy [Wed, 7 Jan 2015 04:55:38 +0000 (10:25 +0530)]
Modifying sf_orientation for new estimate_orientation
- Adapting sf_orientation octave file to the restructured
estmate_orientation ocatave implementation
Change-Id: I4febde2c476182ebd6df9b186efc3ad7cbdc0dd2
Ramasamy [Wed, 7 Jan 2015 04:52:04 +0000 (10:22 +0530)]
Modifying geomagnetic_RV files for new estimate_orientation
- Adapting geomagnetic_RV octave files to the restructured
estmate_orientation ocateve implementation
- cleanup
Change-Id: I84ce43db89cddbb7f664b67608e90ef9c2068d99
Ramasamy [Wed, 7 Jan 2015 04:36:16 +0000 (10:06 +0530)]
Adapting estimate_orientation to support geomagnetic_RV
Restructuring estimate_orientation octave code to support both
quaternion generation using accel/gyro/mag or only using accel/mag
hardware sensors.
Change-Id: I0976df35d488d6bafb9ce064027ff7fd6e352dbd
Kibak Yoon [Tue, 6 Jan 2015 13:53:11 +0000 (22:53 +0900)]
sensord: clean CMakeList.txt
- remove useless code/macro
- for building on x86_64, use macro CMAKE_INSTALL_* in GNUInstallDirs
Change-Id: I6298368a9e2af00c35ebf4f37b483a00a8d5e1aa
Signed-off-by: Kibak Yoon <kibak.yoon@samsung.com>
Kibak Yoon [Tue, 6 Jan 2015 13:51:31 +0000 (22:51 +0900)]
sensord: remove useless xml file
sensor_plugins xml for simulator is not neccessary anymore.
Change-Id: I91f8f816c08ab2ca53790fe4ae6bd7ab0e7b689f
Signed-off-by: Kibak Yoon <kibak.yoon@samsung.com>
Kibak Yoon [Tue, 6 Jan 2015 12:28:58 +0000 (21:28 +0900)]
sensord: clean up the spec file
- remove useless code.
- replace hardcoded path by macro.
- code clean.
Change-Id: Iabeb35cdb1a5ec4684352da39d4bccbf05f51f8b
Signed-off-by: Kibak Yoon <kibak.yoon@samsung.com>
Kibak Yoon [Tue, 6 Jan 2015 12:24:23 +0000 (21:24 +0900)]
sensord: changing group in spec file
refered by the below url:
https://wiki.tizen.org/wiki/Packaging/Guidelines#Group_Tag
Change-Id: I7c42fb9ee2707980a1135c9c1d2747f2072b4308
Signed-off-by: Kibak Yoon <kibak.yoon@samsung.com>