Re: [android-developers] Gyroscope

2013-02-13 Thread Marta Ribeiro
Ok thank you so much, It's makes sense to me now. On Wednesday, February 13, 2013 3:24:28 PM UTC, bob wrote: > > Here is code from Reto Meier's book: > > > *List < Sensor > gyroscopes = sensorManager.getSensorList( > Sensor.TYPE_GYROSCOPE);* > > *if (gyroscopes != null && gyroscopes.size() > 1) c

Re: [android-developers] Gyroscope

2013-02-13 Thread bob
Here is code from Reto Meier's book: *List < Sensor > gyroscopes = sensorManager.getSensorList( Sensor.TYPE_GYROSCOPE);* *if (gyroscopes != null && gyroscopes.size() > 1) correctedGyro = gyroscopes.get( gyroscopes.size()-1);* He is getting the last gyroscope sensor and names the variable

Re: [android-developers] Gyroscope

2013-02-13 Thread Marta Ribeiro
Yes, I've been reading about that. But my question was if the values I get directly from the gyroscope, without applying filters of my own, could have some kind of filter (inherent to the sensor) as the values do not present standard deviation, which would be "impossible" without some kind of f

Re: [android-developers] Gyroscope

2013-02-12 Thread Tux Leonard
It is not impossible but it's complicate to implement the filters. A simple low pass filter is not enough. To do it right you need to combine accelerator and gyroscope data. For this purpose you could implement a complementary or Kalman filter. You find some examples on the net. Or google for "sens

Re: [android-developers] Gyroscope

2013-02-12 Thread bob
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. I

Re: [android-developers] Gyroscope

2013-02-12 Thread s.rawat
whats the part number of the Gyroscope in the Tablet any idea? "..pain is temporary.quitting lasts forever." My Blog " On Tue, Feb 12, 2013 at 3:32 PM, Marta Ribeiro < martacunharibeir...@gmail.com> wrote: > Well yes that's my doubt, if you say "gyroscope

Re: [android-developers] Gyroscope

2013-02-12 Thread Marta Ribeiro
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

Re: [android-developers] Gyroscope

2013-02-11 Thread Tux Leonard
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 f

[android-developers] Gyroscope

2013-02-11 Thread Marta Ribeiro
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

[android-developers] Gyroscope use in getRotationMatrix etc

2011-06-01 Thread iranai
Hello, I was just wondering if in the latest devices that have a Gyroscope, do the getXXX functions actually use the Gyroscope? getRotationMatrix, getQuaternionFromVector etc.. Do they tak the Gyro into account to stabilize the output? If not how can somebody actually use the Gyro for stabilizati

[android-developers] Gyroscope heading change affects y axis

2011-05-09 Thread Dan
I've been playing around with the gyroscope on the Nexus S. I notice that if the phone is not held parallel to the ground, rapid changes in heading (z-axis) result in changes in the roll (y-axis). I would've thought that gyro output would be relative to the phone's orientation. Do I need to somehow

[android-developers] Gyroscope affecting other sensor event types?

2011-01-14 Thread nadam
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 the gyroscope (TYPE_GYROSCOPE) but looking at the code it seems that TYPE_GRAVITY and TYPE_LINEAR_ACCELERATION only uses the accelerometer, a

[android-developers] Gyroscope and Tricorder Sensors in Android

2009-07-13 Thread Ahmad Fathy
Hi all, First, regarding these sensors: - Gyroscope Sensor: http://developer.android.com/reference/android/hardware/Sensor.html#TYPE_GYROSCOPE - Pressure Sensor: http://developer.android.com/reference/android/hardware/Sensor.html#TYPE_PRESSURE - Tricorder Sensor: http://developer.android.com/r