FhSim  3.1.0
Marine systems simulation
Loading...
Searching...
No Matches
PidController Class Reference
+ Inheritance diagram for PidController:
+ Collaboration diagram for PidController:

Public Member Functions

 PidController (std::string simObjectName, ISimObjectCreator *creator)
 
void OdeFcn (const double T, const double *const X, double *const XDot) const override
 
void AcceptedStep (const double T, const double *const X) override
 

Protected Member Functions

const double * Out (const double T, const double *const X)
 
double Error (const double T, const double *const X) const
 Measurement - Reference; the controller negates it again (see "The sign of the gains").
 

Protected Attributes

ISignalPort * m_inMeasurement
 The measured value.
 
ISignalPort * m_inReference
 The desired value.
 
PidWithExternalState m_controller
 
int m_IStateIntegratedError = 0
 
double m_output = 0.0
 

The documentation for this class was generated from the following file: