I did also expect Linear acceleration sensor event would use gyroscope
to give out pure movement acceleration ( without gravity ) on phone's
axis.
But with actual device I found the readings bad and now saw this
message.
So still gyro not used in any other sensor events ?

I would like to get pure accelerations which do not include gravity.
As per definition Linear acceleration should have done that by
combining accelerometer as well as gyroscope inputs, but currently
it's not and left to developers.
So any links to achieve this or would help on this ?

On Mar 10, 3:12 pm, nadam <[email protected]> wrote:
> Just got an email from Google that Nexus S and Xoom currently do not
> use the gyroscope for TYPE_GRAVITY, TYPE_LINEAR_ACCELERATION and
> TYPE_ROTATION_VECTOR but it will be improved sometime in the future.
> Currently the only way to us the gyroscope in Java is to use
> TYPE_GYROSCOPE where you get rotational velocity.
>
> On Jan 15, 9:05 am, nadam <[email protected]> wrote:> Sorry for the bad link. I 
> found a discussion indicating that devices
> > with gyro will include this input in the calculation of the new
> > events. I assume this is the case for Nexus S too.
>
> > On 11 Jan, 16:19, nadam <[email protected]> wrote:
>
> > > In Android 2.3 we got three new sensor event types:
>
> > > TYPE_GRAVITY
> > > TYPE_LINEAR_ACCELERATION
> > > TYPE_ROTATION_VECTOR
>
> > > I assumed that this had something to do with thegyroscope
> > > (TYPE_GYROSCOPE) but looking at the code it seems that TYPE_GRAVITY
> > > and TYPE_LINEAR_ACCELERATION only uses the accelerometer, and
> > > TYPE_ROTATION_VECTOR uses only the accelerometer and the 
> > > compass.http://www.google.co.in/codesearch/p?hl=en#uX1GffpyOZk/services/senso...
>
> > > Is this just the default implementation whereas for instance Google
> > > Nexus S also uses thegyroscope?

-- 
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

Reply via email to