Quote:
Originally Posted by Kevin Sevcik
(30 seconds later) EDIT: Also, why not put something in your GetRate function that tosses out obviously incorrect values like a period less than 0.0001 seconds or something?
|
It's better to understand what's causing the problem, fix it if you can, and make it work right than to cover up the problem.
But if you do filter out the glitches in software, then increment an error counter each time it happens. Monitor that error counter during non-competition use to make sure it isn't getting worse and worse over time.