From 652384872807bb90dfa1501ddad01905ba9039f6 Mon Sep 17 00:00:00 2001 From: tatsujinichi Date: Thu, 14 Jan 2021 19:01:17 +0900 Subject: Fixed typo in example --- doc/Guide.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'doc/Guide.md') 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: ![SensVelocityGainExample](images/accel_readme_example.png) -- cgit v1.2.3