Yes, you are on the right track.


Reto Meier discusses this in his Android book.


*Introducing Virtual Sensors* 

Android Sensors typically work independently of each other, each reporting 
the results obtained from a particular piece of hardware without applying 
any filtering or smoothing. In some cases it can be helpful to use virtual 
Sensors that present simplified, corrected, or composite sensor data in a 
way that makes them easier to use within some applications. The gravity, 
linear-acceleration, and rotation-vector Sensors described previously are 
examples of virtual Sensors provided by the framework. They may use a 
combination of accelerometers, magnetic-field sensors, and gyroscopes, 
rather than the output of a specific piece of hardware. In some cases the 
underlying hardware will also provide virtual sensors. In such cases both 
the framework and hardware virtual Sensors are offered, with the default 
sensor being the best available. *Corrected gyroscope and orientation 
Sensors are also available as virtual sensors* that attempt to improve the 
quality and performance


of their respective hardware sensors. This involves using filters and the 
output of multiple Sensors to smooth, correct, or filter the raw output. To 
ensure predictability and consistency across platforms and devices, the 
Sensor Manager always offers you the hardware Sensors by default. It's good 
practice to experiment with all the available Sensors of a given type to 
determine the best alternative for your particular application.


Meier, Reto (2012-04-05). Professional Android 4 Application Development 
(Wrox Professional Guides) (Kindle Locations 12784-12794). John Wiley and 
Sons. Kindle Edition. 





if (gyroscopes != null && gyroscopes.size() > 1) *correctedGyro *= 
gyroscopes.get( gyroscopes.size()-1);


Meier, Reto (2012-04-05). Professional Android 4 Application Development 
(Wrox Professional Guides) (Kindle Locations 12826-12827). John Wiley and 
Sons. Kindle Edition. 





On Tuesday, February 12, 2013 4:02:49 AM UTC-6, Marta Ribeiro wrote:
>
> Well yes that's my doubt, if you say "gyroscope noise and drift will 
> introduce errors that need to be compensated for." and i'm not applying any 
> filter of my own, i'm just examining the data directly from sensor.event 
> and they seem not to have any noise or bias, it seems a bit impossible if 
> the tablet does not have some kinf of filter embedded.
>
> I'm I on the right path here?
>
> And thank you for your answer!
>
> On Monday, February 11, 2013 6:39:02 PM UTC, Tux wrote:
>>
>> Hi, 
>>
>> your measurement are as expected. The gyroscope measures the rate or 
>> rotation in rad/s and in stationary state the turn rate is about Zero. 
>>
>>
>> http://developer.android.com/guide/topics/sensors/sensors_motion.html#sensors-motion-gyro
>>  
>>
>> "Standard gyroscopes provide raw rotational data without any filtering 
>> or correction for noise and drift (bias). In practice, gyroscope noise 
>> and drift will introduce errors that need to be compensated for. You 
>> usually determine the drift (bias) and noise by monitoring other 
>> sensors, such as the gravity sensor or accelerometer." 
>>
>>
>>
>> 2013/2/11 Marta Ribeiro <martacunh...@gmail.com>: 
>> > Hi! 
>> > 
>> > I'm doing a project, and it requires me to analyse the reliability of a 
>> > tablet's sensors. 
>> > 
>> > I have analysed the gyroscope data when the tablet is stationary, and 
>> the 
>> > results are an average of -5.3263 *10^{-7} and a standard deviation 
>> equal to 
>> > 0. 
>> > 
>> > Now this leads me to believe that this sensor has some kind of filter 
>> > embedded already, although I can't seem to find any information about 
>> it. 
>> > 
>> > I appreciate any kind of information regarding this results. 
>> > 
>> > Thanks in advance! 
>> > 
>> > -- 
>> > -- 
>> > You received this message because you are subscribed to the Google 
>> > Groups "Android Developers" group. 
>> > To post to this group, send email to android-d...@googlegroups.com 
>> > To unsubscribe from this group, send email to 
>> > android-developers+unsubscr...@googlegroups.com 
>> > 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 android-developers+unsubscr...@googlegroups.com. 
>> > For more options, visit https://groups.google.com/groups/opt_out. 
>> > 
>> > 
>>
>

-- 
-- 
You received this message because you are subscribed to the Google
Groups "Android Developers" group.
To post to this group, send email to android-developers@googlegroups.com
To unsubscribe from this group, send email to
android-developers+unsubscr...@googlegroups.com
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 android-developers+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to