projects
/
platform
/
core
/
system
/
sensord.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
f932454
)
Correcting minimum range for rv sensor properties
73/33973/2
author
Ramasamy
<ram.kannan@samsung.com>
Mon, 19 Jan 2015 10:06:44 +0000
(15:36 +0530)
committer
Ramasamy Kannan
<ram.kannan@samsung.com>
Wed, 21 Jan 2015 03:10:24 +0000
(19:10 -0800)
Minimum range for quaternions is between +1 and -1
Change-Id: Idf705e7a3cb1fa640add78522846e618dc36cdb8
src/rotation_vector/rv/rv_sensor.cpp
patch
|
blob
|
history
diff --git
a/src/rotation_vector/rv/rv_sensor.cpp
b/src/rotation_vector/rv/rv_sensor.cpp
index
57b566b
..
e9ead61
100755
(executable)
--- a/
src/rotation_vector/rv/rv_sensor.cpp
+++ b/
src/rotation_vector/rv/rv_sensor.cpp
@@
-387,7
+387,7
@@
bool rv_sensor::get_properties(sensor_properties_s &properties)
{
properties.vendor = m_vendor;
properties.name = SENSOR_NAME;
- properties.min_range =
0
;
+ properties.min_range =
-1
;
properties.max_range = 1;
properties.resolution = 0.000001;
properties.fifo_count = 0;