v1.0
Public Member Functions
|
Private Attributes
|
List of all members
PController Class Reference
#include <
PController.h
>
Public Member Functions
PController
(
Mdouble
pGain
)
Mdouble
apply
(
Mdouble
stressError,
Mdouble
timeStep)
Private Attributes
Mdouble
pGain
Constructor & Destructor Documentation
◆
PController()
PController::PController
(
Mdouble
pGain
)
7
:
pGain
(
pGain
)
8
{}
PController::pGain
Mdouble pGain
Definition:
PController.h:10
Member Function Documentation
◆
apply()
Mdouble
PController::apply
(
Mdouble
stressError
,
Mdouble
timeStep
)
10
{
11
// Proportional Controller
12
Mdouble
pController =
pGain
* stressError;
13
14
// Controller Command
15
return
pController;
16
}
Mdouble
double Mdouble
Definition:
GeneralDefine.h:34
References
pGain
.
Member Data Documentation
◆
pGain
Mdouble
PController::pGain
private
Referenced by
apply()
.
The documentation for this class was generated from the following files:
PController.h
PController.cc
PController
Generated on Fri Jul 21 2023 15:03:53 for MercuryDPM by
1.9.1