summaryrefslogtreecommitdiff
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
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
-rw-r--r--.gitignore11
-rw-r--r--doc/Guide.md2
2 files changed, 12 insertions, 1 deletions
diff --git a/.gitignore b/.gitignore
index 71d9e60..2a7c213 100644
--- a/.gitignore
+++ b/.gitignore
@@ -138,6 +138,17 @@ _TeamCity*
.axoCover/*
!.axoCover/settings.json
+# Visual Studio code
+.vscode/*
+!.vscode/settings.json
+!.vscode/tasks.json
+!.vscode/launch.json
+!.vscode/extensions.json
+*.code-workspace
+
+# Local History for Visual Studio Code
+.history/
+
# Visual Studio code coverage results
*.coverage
*.coveragexml
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)