6#include "sfh/constants.h"
68 Pendulum(
const std::string& simObjectName, ISimObjectCreator*
const creator);
69 void OdeFcn(
const double T,
const double*
const X,
double*
const XDot,
const bool IsMajorTimeStep);
70 void InitialConditionSetup(
const double T,
const double*
const currentIC,
double*
const updatedIC, ISimObjectCreator*
const creator);
72#ifdef FH_VISUALIZATION
73 void RenderInit(Ogre::Root*
const ogreRoot, ISimObjectCreator*
const creator);
74 void RenderUpdate(
const double T,
const double*
const X);
78 void SetOutputPortValues(
const double T,
const double*
const X);
79 const double* Angle(
const double T,
const double*
const X);
80 const double* AngularVelocity(
const double T,
const double*
const X);
82 ICommonComputation* m_SetOutputPortValues;
83 int m_AngleIndex, m_AngularVelocityIndex;
85 double m_Length, m_Gravity;
86 double m_Angle, m_AngularVelocity;
89#ifdef FH_VISUALIZATION
90 Ogre::ManualObject* m_Line;
91 Ogre::SceneNode* m_RenderNode;
92 std::string m_MaterialName;
93 std::string m_MeshName;
Definition: Pendulum.h:66