Utility class for timing operations based on a set frequency.
Implements a generic Kalman Filter for 1D data.
TimeStep(float frequency)
Constructor to initialize TimeStep with a frequency.
bool IsReady()
Checks if the specified time interval has elapsed.
unsigned long previousMillis
Stores the last recorded time in milliseconds.
uint16_t updateInterval
Interval in milliseconds between updates.
void SetFrequency(float frequency)
Sets the frequency for the TimeStep.