38 lines
841 B
C++
38 lines
841 B
C++
|
|
/*
|
|||
|
|
* FrictionEstimation.hh
|
|||
|
|
*
|
|||
|
|
* Created on: 13 <EFBFBD><EFBFBD><EFBFBD>. 2021 <EFBFBD>.
|
|||
|
|
* 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 {
|
|||
|
|
|
|||
|
|
//!<21><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD> <20><><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD><EFBFBD>.
|
|||
|
|
|
|||
|
|
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_ */
|