Quote:
Originally Posted by tomy
ok sweet the only problem im having now is the random blips of high rmp you said that in your rpm counter class you used a function to ignore small rpm can i do that to ignore the high ones as well?
|
Take a look at the RPMCounter class I uploaded. In the GetRPM function I'm comparing the period with a constant value I set in the .h file. The idea is that if the period is less than some value, you ignore it and return the previous value.