Skip to content

Comment on Google uses accelerometer API in Jules Verne Google Doodleparent

Comments

I'm talking about the acceleration that the sensor is measuring. If you are holding it still, it measures 1g toward the ground.

If the drive is falling, certainly it is accelerating toward the ground but the sensor measures zero acceleration. This is the relative frame of reference.

AboutSource Built by g1lg1l

Hackerly is an independent reader for Hacker News, built on the public HN API. Not affiliated with Y Combinator.