|
|
|
![]() |
|
|||||||
|
||||||||
|
|
Thread Tools |
Rating:
|
Display Modes |
|
#13
|
||||
|
||||
|
Re: Accelerometer Filtering
Have you considered a moving average? It accumulates the last x number of data samples in an array and finds the average of them in real time. We wrote one for our rangefinders, but it should apply to just about anything. It's only about sixteen lines of code (with five curly brackets, making it more like 11 lines of functional code). We're programming in C++, but syntactically it's almost the same.
|
| Thread Tools | |
| Display Modes | Rate This Thread |
|
|