From 93b7465821b72332a5f917496e637a6453bafc67 Mon Sep 17 00:00:00 2001 From: dragonprevost Date: Tue, 13 Nov 2018 12:00:44 -0800 Subject: moved vector imafe --- readme.md | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/readme.md b/readme.md index 5f592bd..a0b6898 100644 --- a/readme.md +++ b/readme.md @@ -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. -- cgit v1.2.3