3-axis accelerator data » History » Version 1
Miguel Rocha, 08/11/2022 08:46
1 | 1 | Miguel Rocha | h1. 3-axis accelerator data |
---|---|---|---|
2 | 1 | Miguel Rocha | |
3 | 1 | Miguel Rocha | Accelerometer data: |
4 | 1 | Miguel Rocha | Acceleration along x - axis |
5 | 1 | Miguel Rocha | Acceleration along y - axis |
6 | 1 | Miguel Rocha | Acceleration along z – axis |
7 | 1 | Miguel Rocha | |
8 | 1 | Miguel Rocha | The magnitude of 3-D acceleration data: |
9 | 1 | Miguel Rocha | Sqr(acc_x^2 + acc_y^2 + acc_z^2) |
10 | 1 | Miguel Rocha | |
11 | 1 | Miguel Rocha | Get the difference in this magnitude from the previous value. |
12 | 1 | Miguel Rocha | |
13 | 1 | Miguel Rocha | If the value is greater than a particular threshold value, then increment the steps count. |
14 | 1 | Miguel Rocha | -Threshold for walking = 6 |
15 | 1 | Miguel Rocha | -Threshold for running = 10 |
16 | 1 | Miguel Rocha | |
17 | 1 | Miguel Rocha | Ref: |
18 | 1 | Miguel Rocha | [[https://programmerworld.co/android/how-to-create-walking-step-counter-app-using-accelerometer-sensor-and-shared-preference-in-android/ |
19 | 1 | Miguel Rocha | ]] |