summaryrefslogtreecommitdiff
path: root/doc/Guide.md
diff options
context:
space:
mode:
authora1xd <[email protected]>2021-01-14 12:43:31 -0500
committerGitHub <[email protected]>2021-01-14 12:43:31 -0500
commit8fdd1a01b80a4b2e99375a546d0938701522bf77 (patch)
treed85b7faa343ca37f4b0d936c61f4fb79aea25d03 /doc/Guide.md
parentMerge pull request #60 from singhmi4/patch-1 (diff)
parentAdded Visual Studio Code gitignores (diff)
downloadrawaccel-8fdd1a01b80a4b2e99375a546d0938701522bf77.tar.xz
rawaccel-8fdd1a01b80a4b2e99375a546d0938701522bf77.zip
Merge pull request #64 from Tatsujinichi/master
Typo in example, add vs code gitignores
Diffstat (limited to 'doc/Guide.md')
-rw-r--r--doc/Guide.md2
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/Guide.md b/doc/Guide.md
index ca2fc52..54fbbc8 100644
--- a/doc/Guide.md
+++ b/doc/Guide.md
@@ -35,7 +35,7 @@ The above is much more clear with an example. Let's say I have
and I move my mouse to create an input of (30,40) at a poll rate of 1000 hz.
-Then our input speed is sqrt(30^2 + 40^2) = 50 counts/ms. Our accelerated sensitivity is calculated to be (1 + 0.1 \* 50) * 0.5 = 1.5 \* 0.5 = 0.75. So our output velocity is 0.75 \* 50 = 37.5. If I run the previous calculations with input speed 49.9 I get output velocity 37.40005, so our gain is about (37.5-37.40005)/(50-49.9) = 0.9995. Here is a picture of the charts in Raw Accel showing the same thing:
+Then our input speed is sqrt(30^2 + 40^2) = 50 counts/ms. Our accelerated sensitivity is calculated to be (1 + 0.01 \* 50) * 0.5 = 1.5 \* 0.5 = 0.75. So our output velocity is 0.75 \* 50 = 37.5. If I run the previous calculations with input speed 49.9 I get output velocity 37.40005, so our gain is about (37.5-37.40005)/(50-49.9) = 0.9995. Here is a picture of the charts in Raw Accel showing the same thing:
![SensVelocityGainExample](images/accel_readme_example.png)