A simple, but smooth divider? #1195
coderatchance
started this conversation in
Future Development Discussion
Replies: 1 comment 1 reply
-
You may want to have a look at Kalman Filter techniques. (The referenced one is just the first I found) I know they are used in model airplane variometers to filter out noise from pressure sensors for determining rise/sink rates of the glider. |
Beta Was this translation helpful? Give feedback.
1 reply
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
Hello all!
I have two prox sensors on i2c, tiny, wire, reading its values...
This sensors are one inch apart and on the same plane, one on the left hand side, one on the right hand side.
So, if I go with a hand over them, for example from left to the right there is a time difference between them, small, but can be captured, along with the different prox values, all good, attaching the pic , each colour represent each sensor, ...
As it can be seen from the next pic. the data is rather jumpy, if the hand is moved from the left, to the right, see the next picture.
As you may have guessed by now, I would like to make the data more primitive, more steady, like when the LEFT is above the RIGHT and vice versa.
Indeed, one option is to compere them, like:
However, this is a rather very sharp transition from LEFT to RIGHT and vice versa, for example, how to have the "center" a bit more wide? Therefore, how to define when I am 50% on LEFT, and add as well 50% of the RIGHT and so on, kind of a more balanced transition from the left to the right and vice versa.
I hope this makes any sense, otherwise, let me know!
Any ideas?
Best.
Beta Was this translation helpful? Give feedback.
All reactions