Hacker News new | comments | show | ask | jobs | submit login

Furthermore, a lot of recent hardware (starting with the iPhone 4 in Apple-land, not sure about others) includes gyroscopes in order to handle this even better. It doesn't matter how good your accelerometers are, they're going to be subject to noise from the outside when it comes to detecting rotation changes e.g. the motion of the user's hands.

Yup, the sample code even has a simple filter for this:


The accelerometer + gyroscope combination is refered to as "sensor fusion algorithms" in that document, btw

Guidelines | FAQ | Support | API | Security | Lists | Bookmarklet | DMCA | Apply to YC | Contact