I posted my code in this thread: http://groups.google.com/group/android-developers/browse_thread/thread/d61f7790afb3f8b6/770777368e823548?lnk=raot
That code is for a band pass filter. Refer to the linked article which gives the formulas for low pass filter as well. http://www.dspguide.com/ch19.htm Please read at least the first two sections. The end of the second section has the formulas for a low pass filter. On Wed, May 26, 2010 at 6:06 PM, Alfonso <[email protected]> wrote: > First of all, thanks everybody for their answers. I've been in > journey, that's the reason because of I haven't answered before. I've > tried average and tresholding, althougt not too much extensively. > Special thanks, Yahel, the parralax is very important. I've seen that > is present in the digital filter implemented in the class > OrientationEventListener. > > About "averaging historical values", I just want to mean I was > averaging the n last values catched by the sensor. Where n is an > integer greater than 0. By the way Frank Weiss, if you had got > success, would you been so kind as to share the magic algorythm? > > Thanks everybody again > > -- > 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]<android-developers%[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 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

