diff options
| author | a1xd <[email protected]> | 2021-01-14 12:43:31 -0500 |
|---|---|---|
| committer | GitHub <[email protected]> | 2021-01-14 12:43:31 -0500 |
| commit | 8fdd1a01b80a4b2e99375a546d0938701522bf77 (patch) | |
| tree | d85b7faa343ca37f4b0d936c61f4fb79aea25d03 | |
| parent | Merge pull request #60 from singhmi4/patch-1 (diff) | |
| parent | Added Visual Studio Code gitignores (diff) | |
| download | rawaccel-8fdd1a01b80a4b2e99375a546d0938701522bf77.tar.xz rawaccel-8fdd1a01b80a4b2e99375a546d0938701522bf77.zip | |
Merge pull request #64 from Tatsujinichi/master
Typo in example, add vs code gitignores
| -rw-r--r-- | .gitignore | 11 | ||||
| -rw-r--r-- | doc/Guide.md | 2 |
2 files changed, 12 insertions, 1 deletions
@@ -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:  |