22 CTrawlVessel(std::string sSimObjectName, ISimObjectCreator* pCreator);
25 virtual void OdeFcn(
const double dT,
const double*
const adX,
double*
const adXDot,
const bool bIsMajorTimeStep);
27#ifdef FH_VISUALIZATION
28 virtual void RenderInit(Ogre::Root*
const pOgreRoot, ISimObjectCreator*
const pCreator);
29 virtual void RenderUpdate(
const double dT,
const double*
const adX);
38 const double*
OutHeading(
const double dT,
const double*
const adX);
39 const double* OutPos(
const double dT,
const double*
const adX);
40 const double* OutVel(
const double dT,
const double*
const adX);
41 const double* OutWarpPos(
const double dT,
const double*
const adX,
int iWarp);
42 const double* OutWarpVel(
const double dT,
const double*
const adX,
int iWarp);
43 void CalcOutput(
const double dT,
const double*
const adX);
44 virtual void DoDerivedOutputUpdate(
const double dT,
const double*
const adX){}
46 double m_adOut_Pos[3];
47 double m_adOut_Vel[3];
48 double* m_adOut_WarpPos;
49 double* m_adOut_WarpVel;
58 double m_WarpPosPrt[3];
59 double m_WarpPosStb[3];
61 double ** m_aadWarpPos;
63 double m_dDesiredSpeed;
64 double m_dDesiredHeading;
66#ifdef FH_VISUALIZATION
67 Ogre::Entity* m_RenderMass;
68 Ogre::SceneNode* m_RenderNode;
69 Ogre::Quaternion m_InitOrientation;
71 double m_BreadthScale;
73 double m_adDeltaRenderPos[3];
74 std::string m_MeshName;
Class modelling a simple vessel used for the trawl optimization tool.
Definition: CTrawlVessel.h:20
double m_dApSpeed
The speed of the autopilot.
Definition: CTrawlVessel.h:35
ICommonComputation * m_pCommonCalc
Calculations necessary for more than one output port.
Definition: CTrawlVessel.h:50
const double * OutHeading(const double dT, const double *const adX)
Output ports.