summary |
shortlog | log |
commit |
commitdiff |
tree
first ⋅ prev ⋅ next
Kibak Yoon [Mon, 22 Sep 2014 01:26:51 +0000 (18:26 -0700)]
Merge "Changing all 'Vector' Class references to 'vect'" into tizen
Kibak Yoon [Mon, 22 Sep 2014 01:26:38 +0000 (18:26 -0700)]
Merge "Restructuring of sensor fusion files and directory" into tizen
Ramasamy [Thu, 14 Aug 2014 09:19:38 +0000 (14:49 +0530)]
Changing all 'Vector' Class references to 'vect'
Changing all class name references 'Vector' to 'vect' as std library
already has definition for 'Vector' and causes compiler errors.
signed-off-by: Ramasamy <ram.kannan@samsung.com>
Change-Id: Idec973fb771e60ef5675e6759de7a83f4f18807f
Amit Dharmapurikar [Tue, 12 Aug 2014 12:19:16 +0000 (17:49 +0530)]
Modified geo_sensor_hal plugin for IIO driver compatibility
- The geo_sensor_hal plugin is modified as per present geo sensor IIO driver interface.
* the plugin reads data from raw data files instead of char-dev file in /dev/ directory,
* time stamp for data samples is not available
* enable and disable actions for geo sensor are not available.
- The geo sensor is enabled in the sensord.spec file
Change-Id: I8a02be99c37bae3e37f36fa4291810410fcc3976
Signed-off-by: Amit Dharmapurikar <amit.vd@samsung.com>
Ramasamy [Wed, 6 Aug 2014 03:32:49 +0000 (09:02 +0530)]
Restructuring of sensor fusion files and directory
- restructured sensor fusion files and directory to enable
standalone code testing and for code to support streaming
sensor data.
- removed lib-sensor-fusion files as sensor fusion alone
will not constitute a virtual sensor.
- virtual sensors would be orientation, gravity and linear
acceleration which will use software sensor fusion
solution.
signed-off-by: Ramasamy <ram.kannan@samsung.com>
Change-Id: Id0c979fb771e60ef5675e6759de7a83f4f18807f
Ramasamy [Thu, 24 Jul 2014 08:36:58 +0000 (14:06 +0530)]
Adding linear_acceleration_sensor class
- Adding class definition and implementation for linear acceleration
virtual sensor
- Adding test code for linear_acceleration_sensor class
- interface to sensor framework for virtual class will be added
during porting
signed-off-by: Ramasamy <ram.kannan@samsung.com>
Change-Id: Id0c979fb771e60cd5675e6759de7a83f4f18807f
Ramasamy [Thu, 24 Jul 2014 08:31:44 +0000 (14:01 +0530)]
Adding gravity_sensor virtual sensor class
- Adding class definition and implementation for gravity virtual
sensor
- Adding test code for gravity_sensor class
- interface to sensor framework for virtual class will be added
during porting
signed-off-by: Ramasamy <ram.kannan@samsung.com>
Change-Id: I6756922fb4d66bfab491715bac8e93b4cfbef88b
Ramasamy [Thu, 24 Jul 2014 08:27:04 +0000 (13:57 +0530)]
Adding orientation_sensor virtual sensor class
- Adding class definition and implementation for orientation virtual
sensor
- Adding test code for orientation_sensor class
- interface to sensor framework for virtual class will be added
during porting
signed-off-by: Ramasamy <ram.kannan@samsung.com>
Change-Id: I17becdbe159345c446e6944596900db4557d51ba
Ramasamy [Thu, 24 Jul 2014 08:20:03 +0000 (13:50 +0530)]
Updating orientation_filter class
- Updating orientation_filter class to output rotation matrix
signed-off-by: Ramasamy <ram.kannan@samsung.com>
Change-Id: I85cf21232bbf466f8ab52e4a0a5d8a4786e0ca29
Ramasamy [Tue, 15 Jul 2014 04:57:45 +0000 (10:27 +0530)]
Adding compute_gravity class and implementation
- Adding class definition and implementation of compute_gravity class
- Adding testing code for compute_gravity class
signed-off-by: Ramasamy <ram.kannan@samsung.com>
Change-Id: I4150961ddef0f6a7a9c10a369e0355b9615a9e58
Ramasamy [Fri, 11 Jul 2014 08:08:33 +0000 (13:38 +0530)]
Adding orientation_filter class implementation
- complete implementation of the orientation filter class
- test application for the orientation filter class
signed-off-by: Ramasamy <ram.kannan@samsung.com>
Change-Id: Iee7c01fe8d4dcc2a1f7f71f6f0fb424a2000d989
Ramasamy [Thu, 10 Jul 2014 07:49:35 +0000 (13:19 +0530)]
Updated rotation matrix class method rot_mat2quat
Updated method with better implementation for rotation matrix to
quaternion conversion. The best method for this conversion is based
on eigen vectors. This complex implementation will be added at a
later stage after further analysis.
signed-off-by: Ramasamy <ram.kannan@samsung.com>
Change-Id: I9fe29d4f8e5ff3b5989a90ecba691d38adc9f3a8
Ramasamy [Wed, 9 Jul 2014 04:31:40 +0000 (10:01 +0530)]
Updating matrix and vector class functionality
- Adding multiplication method for matrix class
- Adding transpose method for vector class
signed-off-by: Ramasamy <ram.kannan@samsung.com>
Change-Id: I24fc52221e3d10bebf9016e944d38e3ffd314b2a
Ramasamy [Fri, 4 Jul 2014 05:39:29 +0000 (11:09 +0530)]
Updating vector and quaternion class
Vector Class
- Adding method to update vector like a queue
- Adding method to compute variance of vector
- Adding method to check if vector is initialized
Quaternion Class
- Updated the quaternion normalization method
signed-off-by: Ramasamy <ram.kannan@samsung.com>
Change-Id: I08d7fcb6c62b1fc02c53954009d13127b73e65c3
Geunsik Lim [Sun, 27 Jul 2014 23:45:31 +0000 (16:45 -0700)]
Merge "Modified gyro_sensor_hal plugin for IIO driver compatibility" into tizen
Geunsik Lim [Sun, 27 Jul 2014 23:45:03 +0000 (16:45 -0700)]
Merge changes I25b78b13,I9417c85f,I9417c85f into tizen
* changes:
updating orientation_filter class
Fix for zero initialization of vector & matrix
Updating vector class, cleanup & rebasing
Geunsik Lim [Sun, 27 Jul 2014 23:43:19 +0000 (16:43 -0700)]
Merge changes I9417c85f,I19e28b00 into tizen
* changes:
Adding orientation_filter class definition
Adding timestamp info to sensor_data class
Amit Dharmapurikar [Wed, 2 Jul 2014 07:04:57 +0000 (12:34 +0530)]
Modified gyro_sensor_hal plugin for IIO driver compatibility
- The gyro_sensor_hal plugin is modified as per gyroscope IIO driver interface
- The gyro sensor is enabled in the sensord.spec file
Signed-off-by: Amit Dharmapurikar <amit.vd@samsung.com>
Change-Id: I1d62cece29b0305cea76d984dfbb03b84a36c40c
Ramasamy [Thu, 3 Jul 2014 06:13:09 +0000 (11:43 +0530)]
updating orientation_filter class
- updated orientation_filter class code
- updated sensor_data class code
code contributions from Gurleen Kaur
signed-off-by: Ramasamy <ram.kannan@samsung.com>
Change-Id: I25b78b130cbaa1ecb75aaf2b3543e940cfb8d0f4
Ramasamy [Wed, 2 Jul 2014 10:03:11 +0000 (15:33 +0530)]
Fix for zero initialization of vector & matrix
- fix for initializing vector and matrix object memory to 0
- updated the testing code
signed-off-by: Ramasamy <ram.kannan@samsung.com>
Change-Id: I9417c85f7e5ff56e592772afee7b1e6f4fc1abe2
Ramasamy [Wed, 2 Jul 2014 08:31:31 +0000 (14:01 +0530)]
Updating vector class, cleanup & rebasing
- updating the vector class
- clean up of project files
- rebasing folder to code updates on previous commits
method for cross produect provided by Gurleen Kaur
signed-off-by: Ramasamy <ram.kannan@samsung.com>
Change-Id: I9417c85f7e5b656e592772afee7b1e6f4fc1abe2
Ramasamy [Thu, 26 Jun 2014 06:33:11 +0000 (12:03 +0530)]
Adding orientation_filter class definition
- adding orientation_filter source files with definitions
- adding test application to read sensor data from sample data files
Gurleen Kaur will help with implementation and testing of the class
signed-off-by: Ramasamy <ram.kannan@samsung.com>
Change-Id: I9417c85f7e5b656e592772afee7b1e6f4fc1aba9
Ramasamy [Thu, 26 Jun 2014 05:34:42 +0000 (11:04 +0530)]
Adding timestamp info to sensor_data class
- Adding new variable for time stamp info for received sensor data
signed-off-by: Ramasamy <ram.kannan@samsung.com>
Change-Id: I19e28b0021eb836cea28fcb9c56e44fa31589d28
Amit Dharmapurikar [Wed, 2 Jul 2014 04:59:17 +0000 (10:29 +0530)]
Fixing a typo error in gyro_sensor.cpp
The typo error causes build failure when gyroscope plugins are enabled.
Change-Id: I3107bd7985ee4b022a08b0d1e461052dc7be5310
Signed-off-by: Amit Dharmapurikar <amit.vd@samsung.com>
MyungJoo Ham [Mon, 30 Jun 2014 08:25:50 +0000 (01:25 -0700)]
Merge "Adding rotation matrix class implementation" into tizen
MyungJoo Ham [Mon, 30 Jun 2014 08:18:55 +0000 (01:18 -0700)]
Merge "Fix related return values of assignment operators" into tizen
Ramasamy [Tue, 24 Jun 2014 11:49:47 +0000 (17:19 +0530)]
Adding rotation matrix class implementation
- Adding rotation_matrix template class
- Adding implementation for the rotation_matrix template class
- Adding rotation_matrix class testing code
signed-off-by: Ramasamy <ram.kannan@samsung.com>
Change-Id: Ife6b6cefd6fa2801d037d6607c7518cc31dfb6b7
Ramasamy [Tue, 24 Jun 2014 03:33:01 +0000 (09:03 +0530)]
Fix related return values of assignment operators
- Added return value for assignment operators that was missing
- Cleanup of code
signed-off-by: Ramasamy <ram.kannan@samsung.com>
Change-Id: I584a56146c371ec2d398899f3a96f3101153e756
MyungJoo Ham [Fri, 27 Jun 2014 10:21:38 +0000 (03:21 -0700)]
Merge "Adding sensor_data class implementation" into tizen
MyungJoo Ham [Fri, 27 Jun 2014 10:19:40 +0000 (03:19 -0700)]
Merge "Modified accel_sensor_hal as per IIO driver interface" into tizen
Ramasamy [Mon, 23 Jun 2014 05:45:55 +0000 (11:15 +0530)]
Adding sensor_data class implementation
- Adding sensor_data template class
- Adding implementation for the sensor_data template class
- Adding sensor_data class testing code
- Testing application contributed by Gurleen Kaur
signed-off-by: Ramasamy <ram.kannan@samsung.com>
Change-Id: I96ff03a716b562d0c006bbe95b054936f5b90775
Ramasamy [Thu, 19 Jun 2014 10:01:58 +0000 (15:31 +0530)]
Adding euler_angles class implementation
- Adding euler_angles template class
- Adding implementation for the euler_angles template class
- Adding euler_angles class testing code
signed-off-by: Ramasamy <ram.kannan@samsung.com>
Change-Id: Idd8498ce0decf89d0ae53cf2efa424013d692c86
Ramasamy [Thu, 19 Jun 2014 08:09:00 +0000 (13:39 +0530)]
Adding quaternion class implementation
- Adding quaternion template class
- Adding implementation for the quaternion template class
- Adding quaternion class testing code
signed-off-by: Ramasamy <ram.kannan@samsung.com>
Change-Id: Ia200184bf5ac5ada93e829d422a32bae8314fd63
Ramasamy [Wed, 18 Jun 2014 11:58:42 +0000 (17:28 +0530)]
Adding implementation for Vector Class
- Adding implementation for the Vector template class
- Adding vector class testing code
Code Contributed by : Gurleen Kaur
signed-off-by: Ramasamy <ram.kannan@samsung.com>
Change-Id: Ie4e006b0a40d4d41c2f3762b3fdb081cdcc41180
Ramasamy [Mon, 16 Jun 2014 09:54:07 +0000 (15:24 +0530)]
Adding matrix class implementation
- Adding matrix template class implementation
- Adding matrix class testing code
Code Contributed by : Gurleen Kaur
signed-off-by: Ramasamy <ram.kannan@samsung.com>
Change-Id: Iadee665910db4e7d53ca55eabf2744cc81ec747e
Ramasamy [Thu, 12 Jun 2014 06:15:32 +0000 (11:45 +0530)]
Adding vector template class
- Adding vector template class definition
signed-off-by: Ramasamy <ram.kannan@samsung.com>
Change-Id: Ia750b33d5a5b852adfd31fe4ed965c5d9ca070ed
Amit Dharmapurikar [Tue, 3 Jun 2014 08:44:50 +0000 (14:14 +0530)]
Modified accel_sensor_hal as per IIO driver interface
The accel_sensor_hal has been modified as per IIO driver interface for Tizen 3.0.
The plugin uses IIO common library for IIO interface related functionality.
Change-Id: I732839161619e61f17aa4b1836853ad101860804
Signed-off-by: Amit Dharmapurikar <amit.vd@samsung.com>
MyungJoo Ham [Thu, 12 Jun 2014 07:33:16 +0000 (00:33 -0700)]
Merge "Adding template matrix class" into tizen
Ramasamy [Thu, 5 Jun 2014 11:54:52 +0000 (17:24 +0530)]
Adding template matrix class
- Adding standalone directory for sensor fusion standalone C/C++
library
- Adding matrix template class definition.
signed-off-by: Ramasamy <ram.kannan@samsung.com>
Change-Id: I55e4244338a33ad89272600bdcfad2605dff4af1
MyungJoo Ham [Thu, 12 Jun 2014 03:51:34 +0000 (20:51 -0700)]
Merge "Adding iio_common utility library to be used by sensor plugins" into tizen
Amit Dharmapurikar [Mon, 12 May 2014 06:44:13 +0000 (12:14 +0530)]
Adding iio_common utility library to be used by sensor plugins
The iio_common utility provides common iio interface functions.
Signed-off-by: Amit Dharmapurikar <amit.vd@samsung.com>
Change-Id: Iba582400e9668add099b629b338855b1e30e8786
Ramasamy [Wed, 14 May 2014 03:29:14 +0000 (08:59 +0530)]
Adding info for gravity and linear acceleration
Updated information on gravity and linear acceleration virtual sensors
design.
signed-off-by: Ramasamy <ram.kannan@samsung.com>
Change-Id: I94b0d47d4f51eb8b8eb07eec749d8080d92a2529
Ramasamy [Tue, 13 May 2014 09:51:51 +0000 (15:21 +0530)]
Adding initial documentation for Sensor Fusion
- Adding initial version of sensor fusion document in html format
- Added already available information for Orientation Estimation from
design document
signed-off-by: Ramasamy <ram.kannan@samsung.com>
Change-Id: I35d164d765b8a63a993a7887ab088335eaeb9be3
Ramasamy [Fri, 9 May 2014 07:34:16 +0000 (13:04 +0530)]
Adding results for virtual sensors implementations
- adding simulation result plots for orientation, gravity and linear
acceleration estimation
- corrected octave code for displaying accelerometer plot title in
sf_gravity.m file
signed-off-by: Ramasamy <ram.kannan@samsung.com>
Change-Id: Ib5f4694660d1f50c0b823c8b9daa44c5f624a059
Ramasamy [Thu, 8 May 2014 09:21:36 +0000 (14:51 +0530)]
Adding linear acceleration virtual sensor
- adding octave code for computing linear acceleration.
- adding sensor data to test linear acceleration.
- fixing sign in gravity computation to correct phase.
signed-off-by: Ramasamy <ram.kannan@samsung.com>
Change-Id: I86356a58ed27f013693f28234d29fa1922da2323
root [Tue, 6 May 2014 06:21:19 +0000 (11:51 +0530)]
Adding Gravity virtual sensor
- adding octave code to measure gravitational force on device reference axes
- adding sensor test data to test gravity virtual sensor
signed-off-by: Ramasamy <ram.kannan@samsung.com>
Change-Id: Ia1ff380f04145722432467d4f2e8b4fd94e0bfa3
Ramasamy [Tue, 6 May 2014 05:45:05 +0000 (11:15 +0530)]
Restructuring sensor data folder
- Sensor data folder restructured to support multiple virtual sensors
- cleanup of lib folder files
signed-off-by: Ramasamy <ram.kannan@samsung.com>
Change-Id: I93c4623891800d58246559fe3fc432ca5777aa57
Ramasamy [Fri, 2 May 2014 08:55:23 +0000 (14:25 +0530)]
Swapping Tilt values for correct Pitch and Roll
- Swapping pitch and roll orientation values to reflect the sample
sensor data reference axis correctly.
- This correction is needed for determination of Gravity.
- Gyroscope plots to use data scaled to 1 instead of PI.
signed-off-by: Ramasamy <ram.kannan@samsung.com>
Change-Id: I221e7efd0ab8278fa0caa3542edfb0d7efd55041
Ramasamy [Wed, 30 Apr 2014 04:45:07 +0000 (10:15 +0530)]
Adding sensor fusion documents
- Added readme file for sensor fusion design/octave development
signed-off-by: Ramasamy <ram.kannan@samsung.com>
Change-Id: Iefbb1dbe274deace549f9cfbe34ba117ec7acbdd
Ramasamy [Tue, 29 Apr 2014 09:43:28 +0000 (15:13 +0530)]
Fix related to Bias calculation
The changes are related to correction in the calculation of bias.
signed-off-by: Ramasamy <ram.kannan@samsung.com>
Change-Id: Ie88defc0d7fa7ae8b1272f33489fa6aae3eecab1
Ramasamy [Mon, 28 Apr 2014 03:58:52 +0000 (09:28 +0530)]
Separating sensor orientation as new function call
Moved sensor orientation to new function as this will be called
separately during estimation of orientation, gravity and linear
acceleration independently. The input data used for sumulation and
output data plotting will be different in each case.
signed-off-by: Ramasamy <ram.kannan@samsung.com>
Change-Id: I95ad1221887a2381f4c1e22c4e48b82f6950c179
MyungJoo Ham [Fri, 25 Apr 2014 10:37:49 +0000 (03:37 -0700)]
Merge "Moving sensor fusion octave code to sensord" into tizen
Ramasamy [Fri, 25 Apr 2014 09:23:39 +0000 (14:53 +0530)]
Moving sensor fusion octave code to sensord
- Moving octave sensor fusion design related directory from
sensor-framework.git to sensord.git.
- Renamed all files and folders to lower case.
- removed carriage return \r from all files
signed-off-by: Ramasamy <ram.kannan@samsung.com>
Change-Id: Ib5421200ca5bf0d8cb64fdbb40faae0e474455b8
kibak.yoon [Fri, 25 Apr 2014 07:52:50 +0000 (16:52 +0900)]
sensord: substitute %{_libdir}/systemd/system/ for %{_unitdir}
Signed-off-by: kibak.yoon <kibak.yoon@samsung.com>
Change-Id: Ia264fdf3fc6fa8c129503df87c815a01ca7067f4
Amit Dharmapurikar [Thu, 24 Apr 2014 12:05:07 +0000 (17:35 +0530)]
Added command to install sensor_motion.h required by sensor.h
sensor.h includes sensor_motion.h file which needs to be installed in /usr/include/sensor/ directory.
Signed-off-by: Amit Dharmapurikar <amit.vd@samsung.com>
Change-Id: I89fe7188df7720fe50b1bbafdf3b1e7b8ec7e1d0
kibak.yoon [Mon, 21 Apr 2014 05:51:42 +0000 (14:51 +0900)]
sensor-framework : Initial commit
Sensor Framework on Tizen 3.
There have been main features added.
Architecture Design:
- git repositories have been merged into platform/core/system/sensord
- new event driven architecture(before:polling based architecture)
- UNIX based sockets for IPC(before:VCONF)
- Server tracks the information of the clients
- data structure based STL, including map, multimap, list and more
Plugin Design:
- redefine interfaces related to sensor plugin(sensor_base, sensor_hal)
- for every sensor type, only one common plugin is required
- redesign architecture simply, removing redundent layers and data structures
- sensor device information is expressed with XML
- supports both physical and virtual sensor types
Other Features:
- support sensor hub
- proprietary libraries moved to sensord-proprietary git
- clean logs/enum types/structures
- define interface related to sensor fusion
- sensor fusion code to be added in the future
Sensor Type:
Accelerometer / Gyro / Geomagnetic / Proximity / Light
Gravity / Linear Accelerometer / Orientation
- they are not supported yet
- they should be changed based on iio sub-system
Contributed by:
Jae Hyun Jo <jaehyun7.jo@samsung.com>
Hyun-sung <hs81.go@samsung.com>
Ramasamy Kannan <ram.kannan@samsung.com>
Amit Vithalrao Dharmapurikar <amit.vd@samsung.com>
Kibak Yoon <kibak.yoon@samsung.com>
Signed-off-by: Kibak Yoon <kibak.yoon@samsung.com>
Change-Id: Ieb622be5db3cd2a0aeb4e5b442ba51dd785616ce
Sehong Na [Mon, 7 Apr 2014 00:15:35 +0000 (17:15 -0700)]
Initial empty repository