24 #ifndef _LINEAR_TRANSFER_SYSTEM_
25 #define _LINEAR_TRANSFER_SYSTEM_
27 #include "mbsimControl/signal_processing_system.h"
29 namespace MBSimControl {
39 virtual std::string getType()
const {
return "LinearTransferSystem"; }
40 void initializeUsingXML(TiXmlElement * element);
42 void calcxSize() {xSize=A.rows(); }
44 void init(MBSim::InitStage stage);
46 void updatedx(
double t,
double dt);
47 void updatexd(
double t);
49 void plot(
double t,
double dt);
51 void setPID(
double P_,
double I_,
double D_);
52 void setABCD(fmatvec::Mat A_,fmatvec::Mat B_,fmatvec::Mat C_,fmatvec::Mat D_);
53 void setBandwidth(
double Hz_fg);
54 void setIntegrator(
double OutputGain);
55 void setI2(
double OutputGain);
56 void setPT1(
double P,
double T);
57 void setGain(
double P);
63 fmatvec::Vec calculateOutput();
65 fmatvec::Vec outputMethodC();
66 fmatvec::Vec outputMethodD();
67 fmatvec::Vec outputMethodCD();