1 #ifndef SIGNAL_PROCESSING_H
2 #define SIGNAL_PROCESSING_H
4 #include <argos3/core/utility/math/general.h>
56 Real m_fSumOfSquareDiff;
90 Real m_fSmoothingFactor;
91 Real m_fPreviousOutput;
unsigned long long UInt64
64-bit unsigned integer.
float Real
Collects all ARGoS code.
The namespace containing all the ARGoS related code.
Calculates the mean, variance, and std deviation of a real-valued signal.
Real GetMean() const
Returns the mean of the signal.
Real GetStdDev() const
Returns the std deviation of the signal.
Real GetVariance() const
Returns the variance of the signal.
void Append(Real f_value)
Appends a new piece of data and recalculates the statistics.
A simple infinite-impulse response filter for real-valued signals.
Real Filter(Real f_input)
Applies the filter to the given value.
void Reset()
Resets the filter.
CRCLowPassFilter(Real f_smoothing_factor)
Class constructor.