diff options
author | dragonprevost <dragon@dkp.io> | 2018-11-13 12:00:44 -0800 |
---|---|---|
committer | dragonprevost <dragon@dkp.io> | 2018-11-13 12:00:44 -0800 |
commit | 93b7465821b72332a5f917496e637a6453bafc67 (patch) | |
tree | 13962a81e6c2715892d375707a7aefd2c599987e | |
parent | f5725d13ef13953ffdb1c430e64b7c382aeb8285 (diff) |
moved vector imafe
-rw-r--r-- | readme.md | 3 |
1 files changed, 1 insertions, 2 deletions
@@ -14,7 +14,7 @@ wp85: ``make wp85`` ## Setting Variables To change the sensitivity of impact detection you must edit the `motionMonitor/motionMonitor.c` file. -The Accelerometer measures acceleration in 3 dimensions, X, Y, and Z. These dimensions of acceleration are recorded and the magnitude of their resulting vector is calculated using ``double impactMagnitude = sqrt(x * x + y * y + z * z);`` +The Accelerometer measures acceleration in 3 dimensions, X, Y, and Z. These dimensions of acceleration are recorded and the magnitude of their resulting vector is calculated using ``double impactMagnitude = sqrt(x * x + y * y + z * z);``. As visualized in the image below. ![Magnitude](https://www.intmath.com/vectors/img/235-3D-vector.png) @@ -23,4 +23,3 @@ The Accelerometer measures acceleration in 3 dimensions, X, Y, and Z. These dime If adjusting the value of `DEFAUTL_THRESHOLD_MS2` keep in mind that gravity implies a motionless magnitude of -9.8m/s^2 -As visualized with the red vector here. |