13#include "ControlAlgorithm.h"
21 const double* TorqueBODY(
const double T,
const double*
const X);
22 void OdeFcn(
const double T,
const double*
const X,
double*
const XDot,
const bool bIsMajorTimeStep);
23 const double* RudderAngle(
const double T,
const double*
const X);
24 const double* HeadingError(
const double T,
const double*
const X);
27 #ifdef FH_VISUALIZATION
29 virtual void RenderInit(Ogre::Root*
const ogreRoot, ISimObjectCreator*
const creator){}
32 virtual void RenderUpdate(
const double T,
const double*
const X){}
43 double m_dRelative_damping;
46 double m_adTorqueBODY[3];
48 double m_dRudderangle;
49 double directionparameter;
51 int m_headingErrorIntegralIndex;
53 ISignalPort* adStateRotation;
54 ISignalPort* adStateOmega;
55 ISignalPort* crossTrackErrorPort;
56 ISignalPort* desiredHeadingPort;
59 #ifdef FH_VISUALIZATION
60 Ogre::SceneNode* m_RenderNode;
Definition: ControlAlgorithm.h:22
Definition: WpHeadingController.h:18
void OdeFcn(const double T, const double *const X, double *const XDot, const bool bIsMajorTimeStep)
returns object derivatives as a function of time, states and input ports
WpHeadingController(const string &simObjectName, ISimObjectCreator *const creator)
reads parameters, registers states, input/output ports and shared resources
Simple waypoint object.
Definition: CableAttach.h:16