How to measure the distance covered by iphone during free fall?

前端 未结 10 1985
耶瑟儿~
耶瑟儿~ 2021-02-02 02:26

During the free fall the iphone is supposed to send acceleration values as 0 on all the three axis. So how to detect the distance covered by the iphone?

10条回答
  •  梦毁少年i
    2021-02-02 03:17

    This is very simplistic, because you have to account for air friction. Air friction causes the device to reach "a" terminal velocity. Only at terminal velocity will the accellerometer indicate 0.

    The formulas given here assume a free fall in a void (no friction).

    In other words, it's pretty complicated to calculate the distance travelled (one problem is that terminal velocity depends on the orientation of the phone while falling).

提交回复
热议问题