38 lines
841 B
C++
38 lines
841 B
C++
/*
|
|
* 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_ */
|