Quote:
Originally Posted by RyanShoff
The key was reducing the sample rate to 1000 Hz.
Code:
this->GetModule()->SetSampleRate(1000);
This value was determined experimentally.
At the max rpm of the sensor (500 rpm) that is still 120 samples per rev.
|
Another option might be to use the averaged value, rather then the filtered value. You could use either 5 or 6 bits of averaging, and not change the sample rate of the module. This might occasionally have trouble at the transitions, however.