3 ms·
Their whole opening about the delay in rotating a phone seems way off base; I thought developers added that to the OS intentionally to avoid over-sensitive sens
by alanctgardner2 14y ago
Their whole opening about the delay in rotating a phone seems way off base; I thought developers added that to the OS intentionally to avoid over-sensitive sensors triggering rotations too frequently. While the sensitivity of the sensor plays a part, this seems like an entirely software implementation that has little to do with physics.
- mikeash 14y agoFurthermore, 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.
- 0x0 14y agoYup, the sample code even has a simple filter for this: http://developer.apple.com/library/ios/documentation/EventHandling/Conceptual/EventHandlingiPhoneOS/MotionEvents/MotionEvents.html#//apple_ref/doc/uid/TP40009541-CH4-SW11 http://developer.apple.com/library/ios/documentation/EventHa... The accelerometer + gyroscope combination is refered to as "sensor fusion algorithms" in that document, btw