Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Determine man's falling with android device [closed]

My Samsung galaxy S2 has an accelerometer and gyroscope. With these 2 sensors I need to determine a man's falling. How do I implement it in the best way?

like image 589
Zane Avatar asked Sep 15 '11 08:09

Zane


1 Answers

Relevant data is here: SensorEvent values.

  1. Acceleration coordinates are relative to phone. So if phone is turning while falling than acceleration vector would "rotate". To normalize it you'd need to also use gyroscope data.

  2. You trying to detect speed in some direction. Look at motion equations. You'd basically need to integrate acceleration over time. (You'd already need to have normalized acceleration as described above).

I don't know the context of your "man falling", but you might also look at Free Fall info.

like image 95
Peter Knego Avatar answered Sep 30 '22 15:09

Peter Knego