92#include <ISimObjectCreator.h>
93#include <CEnvironment.h>
95#ifdef FH_VISUALIZATION
96#include "sfh/ogre/CDynamicLines.h"
98#include "./Ship/Actuators/IPropellerCalculator.h"
104 Propeller(
const string simObjectName, ISimObjectCreator*
const creator);
106 void FinalSetup(
const double T,
const double *
const X, ISimObjectCreator*
const creator );
107 void GetCurrent(
const double T,
const double*
const X,
const double position[3],
double* currentVelocity);
108 void OdeFcn(
const double T,
const double*
const X,
double*
const XDot,
const bool bIsMajorTimeStep);
110 #ifdef FH_VISUALIZATION
111 void RenderInit(Ogre::Root*
const ogreRoot, ISimObjectCreator*
const creator);
112 void RenderUpdate(
const double T,
const double*
const X);
118 const double*
ForceNED(
const double T,
const double*
const X);
120 const double*
TorqueNED(
const double T,
const double*
const X);
122 const double*
Us(
const double T,
const double*
const X);
124 const double*
Rs(
const double T,
const double*
const X);
128 double Ct(
double U,
double F);
134 bool m_DummyPropeller;
137 ISignalPort *m_InForceDirectionNED;
139 ISignalPort *m_InMyRPS;
141 ISignalPort *m_InMyPD;
143 ISignalPort *m_InVelocityNED;
145 ISignalPort *m_InPositionNED;
147 ISignalPort *m_InMyPropellerForce;
149 ISignalPort *m_InMyPropellerTorque;
151 std::vector<double> PDlist;
152 double m_BladeTop[3];
154 double m_MyThrust[3];
155 double m_MyTorque[3];
167 #ifdef FH_VISUALIZATION
168 std::string m_Material;
169 Ogre::SceneNode* m_RenderNode;
170 CDynamicLines* m_lines;
Definition: CEnvironment.h:10
Definition: ICurrentField.h:4
Definition: IPropellerCalculator.h:8
Definition: Propeller.h:102
const double * ForceNED(const double T, const double *const X)
const double * Us(const double T, const double *const X)
const double * BladeTopNED(const double T, const double *const X)
const double * Rs(const double T, const double *const X)
const double * TorqueNED(const double T, const double *const X)
Simple waypoint object.
Definition: CableAttach.h:16