Quote:
Originally Posted by mikets
Hmm, shouldn't integration smooth out noise? Noise is supposed to be superimposing on the actual value (i.e. it will be above at one point and below at another). So both averaging and integration should cancel out noise in the long run, shouldn't it?
|
Yes, integration (and averaging... accumulation is averaging without the divide) smooths out noise. Deadbanding does not, though... what you should prefer to do if you are getting drift is to improve the calibration for your 0G offset. You could possibly implement a dynamic 0G point based on other sensor data, such as all wheels are stopped so set the 0G point to the current value.
-Joe