Hi,

In my phone when I used getVendor() method, it returned 
STMicroelectronics(being the hardware default sensor) and Samsung.. But 
when I registered both of the sensors, the onSensorChanged() was called 
that returned the orientation values(pitch, roll and azimuth) with great 
difference.

Example, I got the following values at the same timestamp(with difference 
of few seconds). 

                                          pitch:              roll:         
          azimuth:
Samsung                            0.5917465    -4.212                   
84.583
STMicroelectronics              0.0865345    -3.88854               356.825

Any idea of why there is a difference in both or should we always monitor 
both the hardware and software sensors?



On Thursday, February 7, 2013 2:13:01 PM UTC+2, a wrote:
>
> Hi, I am using Samsung Galaxy S3. When I retrieved the available sensors: 
> I got a result like below:
>
> LSM330DLC 3-axis Accelerometer      TYPE_ACCELEROMETER        
>  AK8975C 3-axis Magnetic field sensor              TYPE_MAGNETIC_FIELD     
>    
>  iNemoEngine Orientation sensor                       TYPE_ORIENTATION   
>        
>  CM36651 Light sensor                TYPE_LIGHT          
>  CM36651 Proximity sensor                TYPE_PROXIMITY          
>  LSM330DLC Gyroscope sensor                TYPE_GYROSCOPE             
>  iNemoEngine Gravity sensor                             TYPE_GRAVITY     
>       
>  iNemoEngine Linear Acceleration sensor-S/W   TYPE_LINEAR_ACCELERATION   
>  iNemoEngine Rotation_Vector sensor               TYPE_ROTATION_VECTOR   
>   
>  LPS331AP Pressure Sensor                            TYPE_PRESSURE       
>   
>  Rotation Vector Sensor                                   
> TYPE_ROTATION_VECTOR        
>  Gravity Sensor - software sensor                      TYPE_GRAVITY       
>        
>  Linear Acceleration Sensor               TYPE_LINEAR_ACCELERATION   
>  Orientation Sensor                       TYPE_ORIENTATION           
>  Corrected Gyroscope Sensor                           TYPE_GYROSCOPE   
>
>
> Why are there 2 sensors for each orientation, gyro, linear acceleration, 
> rotation-vector and gravity? Could anyone explain me please?
>

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to
[email protected]
For more options, visit this group at
http://groups.google.com/group/android-developers?hl=en
--- 
You received this message because you are subscribed to the Google Groups 
"Android Developers" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to