diff options
| author | tatsujinichi <[email protected]> | 2021-01-14 19:01:17 +0900 |
|---|---|---|
| committer | tatsujinichi <[email protected]> | 2021-01-14 19:01:17 +0900 |
| commit | 652384872807bb90dfa1501ddad01905ba9039f6 (patch) | |
| tree | 3f8d3722258ee19944719261cbf8242064fc7e11 /doc/Guide.md | |
| parent | Merge pull request #53 from termhn/patch-1 (diff) | |
| download | rawaccel-652384872807bb90dfa1501ddad01905ba9039f6.tar.xz rawaccel-652384872807bb90dfa1501ddad01905ba9039f6.zip | |
Fixed typo in example
Diffstat (limited to 'doc/Guide.md')
| -rw-r--r-- | doc/Guide.md | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/doc/Guide.md b/doc/Guide.md index 4ac296d..e5e56df 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:  |