53 kalman_state
kalman_init(
double ,
double ,
double ,
double );
void Mc_Analog_Inist()
Inizialize McMajanLibrary analogic section.
float Mc_SampleAnalogAvg(int, uint16_t)
This function sample an analogic input and return the averange value.
void Mc_CalculateSensorStep(struct Mc_AnalogSensor *)
Calcolate internal parameters to give you values in original units as Ampere, Volt, etc and not only a raw value.
void kalman_update(kalman_state *, double)
This function updates a Kalman filter.
kalman_state kalman_init(double, double, double, double)
This function initialize a Kalman filter.
double Mc_OversampledAnalogRead(int)
This function sample an analogic input using oversample algorithm.
void Mc_SetSensorStep(struct Mc_AnalogSensor *, float)
This function is useful if you need to do a "manual calibration" of the sensor.
float Mc_KalmanAnalogAvg(int, uint16_t)
This function return the kalman filtered value of samples on an analogic pin. Note: the voltage of in...