MotorControlModuleSDFM_TMS3.../Projects/EFC_Communication/UMLibrary/processing/FrictionEstimation.hh
2024-06-07 11:12:56 +03:00

38 lines
899 B
C++
Raw Blame History

This file contains ambiguous Unicode characters

This file contains Unicode characters that might be confused with other characters. If you think that this is intentional, you can safely ignore this warning. Use the Escape button to reveal them.

/*
* FrictionEstimation.hh
*
* Created on: 13 янв. 2021 г.
* Author: titov
*/
#ifndef UMLIBRARY_PROCESSING_FRICTIONESTIMATION_HH_
#define UMLIBRARY_PROCESSING_FRICTIONESTIMATION_HH_
#include "../systemic/ISignal.hh"
#include "../systemic/IProcess.hh"
#include "../control/regulator/FrictionModelDw3Vw1.hh"
namespace processing {
//!Модуль осуществляет обсчет модели трения для текущей скорости.
class FrictionEstimation : public systemic::IProcess {
control::regulator::FrictionModel_Dw3Vw1 & friction_model;
systemic::ISignal & speed;
float friction_est;
public:
FrictionEstimation( control::regulator::FrictionModel_Dw3Vw1 & friction_model, systemic::ISignal & speed );
const float & getEtimatedFriction() const;
void process();
};
}
#endif /* UMLIBRARY_PROCESSING_FRICTIONESTIMATION_HH_ */