17 TrawlBeam(
const std::string& simObjectName, ISimObjectCreator*
const creator);
18 void InitialConditionSetup(
const double T,
const double *
const currentIC,
double*
const updatedIC, ISimObjectCreator*
const creator);
19 void FinalSetup(
const double T,
const double *
const X, ISimObjectCreator*
const creator);
20 virtual void OdeFcn(
const double T,
const double*
const X,
double*
const XDot,
const bool bIsMajorTimeStep);
21 virtual void PreOdeFcn(
const double T,
const double *
const X, IStateUpdater* updater);
23#ifdef FH_VISUALIZATION
25 virtual void RenderInit(Ogre::Root*
const ogreRoot, ISimObjectCreator*
const creator) {}
27 virtual void RenderUpdate(
const double T,
const double*
const X) {}
30 const double* ShipForce(
const double T,
const double *
const X);
31 const double* Error(
const double T,
const double *
const X);
32 const double* ErrorI(
const double T,
const double *
const X);
33 const double* ErrorD(
const double T,
const double *
const X);
34 const double* StateDist(
const double T,
const double *
const X);
35 const double* StateVel(
const double T,
const double *
const X);
36 const double* PositionNED(
const double T,
const double *
const X,
int index);
37 const double* VelocityNED(
const double T,
const double *
const X,
int index);
40 ISignalPort *m_inForceStbd, *m_inForcePort;
42 void compute(
const double T,
const double*
const X);
43 ICommonComputation *m_compute;
55 double m_forceSaturation;
57 double m_kp, m_kd, m_ki;
Definition: TrawlBeam.h:15
void InitialConditionSetup(const double T, const double *const currentIC, double *const updatedIC, ISimObjectCreator *const creator)
reads parameters, registers states, input/output ports and shared resources
virtual void PreOdeFcn(const double T, const double *const X, IStateUpdater *updater)
returns object derivatives as a function of time, states and input ports