title: Android compass noise algorithm
body: <p>I am trying to filter out the noise from the orientation/compass sensor in my magic phone.</p>
  
  <p>Some of the readings seem to be 90-180 degrees off and there is a lot of jiggle. I have tried different things with limited success, so I was wondering if anyone could recommend an algorithm to filter this sort of noise to get a stable output.</p>
  
  <p>BR, Mads</p>