MBDyn-1.7.3
|
#include <discctrl.h>
Public Member Functions | |
DAC_Process_Debug (integer iNumOut, integer iNumIn, integer iOrdA, integer iOrdB, ForgettingFactor *pf, GPCDesigner *pd, PersistentExcitation *px, DriveCaller *PTrig, std::vector< DriveCaller * > &vDesOut, const std::string &sf, unsigned f_proc) | |
virtual | ~DAC_Process_Debug (void) |
void | GetInput (std::vector< doublereal > &dIn) |
void | PutOutput (const std::vector< doublereal > &dOut, const std::vector< doublereal > &dIn, const std::vector< doublereal > &dDesiredOut) |
Public Member Functions inherited from DiscreteControlProcess | |
virtual | ~DiscreteControlProcess (void) |
Protected Attributes | |
integer | iNumOutputs |
integer | iNumInputs |
integer | iOrderA |
integer | iOrderB |
integer | iOrderMd |
doublereal * | pdBase |
doublereal * | pdTheta |
doublereal * | pdA |
doublereal * | pdY |
doublereal * | pdB |
doublereal * | pdU |
unsigned | f_proc |
doublereal * | pdC |
doublereal * | pdE |
doublereal * | pdMd |
doublereal * | pdYd |
doublereal * | pdU0 |
integer | iRefA |
integer | iRefB |
integer | iRefMd |
IdentProcess * | pId |
GPCDesigner * | pCD |
PersistentExcitation * | pPx |
DriveOwner | Trigger |
std::vector< DriveOwner * > | vDesiredOut |
const std::string | outfile |
std::ofstream | out |
Additional Inherited Members | |
Public Types inherited from DiscreteControlProcess | |
enum | { DISCPROC_UNKNOWN = -1, DISCPROC_AR = 0x1U, DISCPROC_MA = 0x2U, DISCPROC_X = 0x4U, DISCPROC_ARX = (DISCPROC_AR | DISCPROC_X), DISCPROC_ARMA = (DISCPROC_AR | DISCPROC_MA), DISCPROC_ARMAX = (DISCPROC_AR | DISCPROC_MA | DISCPROC_X), DISCPROC_LAST } |
Definition at line 211 of file discctrl.h.
DAC_Process_Debug::DAC_Process_Debug | ( | integer | iNumOut, |
integer | iNumIn, | ||
integer | iOrdA, | ||
integer | iOrdB, | ||
ForgettingFactor * | pf, | ||
GPCDesigner * | pd, | ||
PersistentExcitation * | px, | ||
DriveCaller * | PTrig, | ||
std::vector< DriveCaller * > & | vDesOut, | ||
const std::string & | sf, | ||
unsigned | f_proc | ||
) |
Definition at line 363 of file discctrl.cc.
References ASSERT, DiscreteControlProcess::DISCPROC_ARMAX, DiscreteControlProcess::DISCPROC_ARX, DiscreteControlProcess::DISCPROC_MA, GPCDesigner::iGetPredHor(), GPCDesigner::iGetPredStep(), iNumInputs, iNumOutputs, iOrderA, iOrderB, iOrderMd, MBDYN_EXCEPT_ARGS, out, outfile, pCD, pdBase, pdE, pdTheta, pdU, pdU0, pdY, pdYd, pId, pPx, SAFENEWARR, SAFENEWWITHCONSTRUCTOR, and vDesiredOut.
|
virtual |
Definition at line 499 of file discctrl.cc.
References out, outfile, pCD, pdBase, pId, pPx, SAFEDELETE, SAFEDELETEARR, and vDesiredOut.
|
virtual |
Implements DiscreteControlProcess.
Definition at line 533 of file discctrl.cc.
References PersistentExcitation::AddInput(), iNumInputs, pdU0, and pPx.
|
virtual |
Implements DiscreteControlProcess.
Definition at line 545 of file discctrl.cc.
References ASSERT, GPCDesigner::DesignControl(), DriveOwner::dGet(), IdentProcess::dGetForgettingFactor(), DiscreteControlProcess::DISCPROC_MA, f_proc, IdentProcess::GetErr(), IdentProcess::GetTheta(), IdentProcess::iGetNumOutput(), IdentProcess::iGetSize(), iNumInputs, iNumOutputs, iOrderA, iOrderB, iOrderMd, iRefA, iRefB, iRefMd, out, outfile, pCD, pdA, pdB, pdC, pdE, pdMd, pdTheta, pdU, pdU0, pdY, pdYd, pId, Trigger, IdentProcess::Update(), and vDesiredOut.
|
protected |
Definition at line 224 of file discctrl.h.
Referenced by PutOutput().
|
protected |
Definition at line 214 of file discctrl.h.
Referenced by DAC_Process_Debug(), GetInput(), and PutOutput().
|
protected |
Definition at line 213 of file discctrl.h.
Referenced by DAC_Process_Debug(), and PutOutput().
|
protected |
Definition at line 215 of file discctrl.h.
Referenced by DAC_Process_Debug(), and PutOutput().
|
protected |
Definition at line 216 of file discctrl.h.
Referenced by DAC_Process_Debug(), and PutOutput().
|
protected |
Definition at line 217 of file discctrl.h.
Referenced by DAC_Process_Debug(), and PutOutput().
|
protected |
Definition at line 230 of file discctrl.h.
Referenced by PutOutput().
|
protected |
Definition at line 231 of file discctrl.h.
Referenced by PutOutput().
|
protected |
Definition at line 232 of file discctrl.h.
Referenced by PutOutput().
|
protected |
Definition at line 243 of file discctrl.h.
Referenced by DAC_Process_Debug(), PutOutput(), and ~DAC_Process_Debug().
|
protected |
Definition at line 242 of file discctrl.h.
Referenced by DAC_Process_Debug(), PutOutput(), and ~DAC_Process_Debug().
|
protected |
Definition at line 235 of file discctrl.h.
Referenced by DAC_Process_Debug(), PutOutput(), and ~DAC_Process_Debug().
|
protected |
Definition at line 220 of file discctrl.h.
Referenced by PutOutput().
|
protected |
Definition at line 222 of file discctrl.h.
Referenced by PutOutput().
|
protected |
Definition at line 218 of file discctrl.h.
Referenced by DAC_Process_Debug(), and ~DAC_Process_Debug().
|
protected |
Definition at line 225 of file discctrl.h.
Referenced by PutOutput().
|
protected |
Definition at line 226 of file discctrl.h.
Referenced by DAC_Process_Debug(), and PutOutput().
|
protected |
Definition at line 227 of file discctrl.h.
Referenced by PutOutput().
|
protected |
Definition at line 219 of file discctrl.h.
Referenced by DAC_Process_Debug(), and PutOutput().
|
protected |
Definition at line 223 of file discctrl.h.
Referenced by DAC_Process_Debug(), and PutOutput().
|
protected |
Definition at line 229 of file discctrl.h.
Referenced by DAC_Process_Debug(), GetInput(), and PutOutput().
|
protected |
Definition at line 221 of file discctrl.h.
Referenced by DAC_Process_Debug(), and PutOutput().
|
protected |
Definition at line 228 of file discctrl.h.
Referenced by DAC_Process_Debug(), and PutOutput().
|
protected |
Definition at line 234 of file discctrl.h.
Referenced by DAC_Process_Debug(), PutOutput(), and ~DAC_Process_Debug().
|
protected |
Definition at line 236 of file discctrl.h.
Referenced by DAC_Process_Debug(), GetInput(), and ~DAC_Process_Debug().
|
protected |
Definition at line 237 of file discctrl.h.
Referenced by PutOutput().
|
protected |
Definition at line 239 of file discctrl.h.
Referenced by DAC_Process_Debug(), PutOutput(), and ~DAC_Process_Debug().