70#ifndef RBCABLE__CCableConnector_h__
71#define RBCABLE__CCableConnector_h__
82 void OdeFcn(
const double T,
const double*
const X,
double*
const XDot,
const bool bIsMajorTimeStep);
85 const double* PositionA(
const double dT,
const double*
const adX);
86 const double* VelocityA(
const double dT,
const double*
const adX);
87 const double* PositionB(
const double dT,
const double*
const adX);
88 const double* VelocityB(
const double dT,
const double*
const adX);
92#ifdef FH_VISUALIZATION
94 virtual void RenderInit(Ogre::Root*
const pOgreRoot, ISimObjectCreator*
const pCreator);
97 virtual void RenderUpdate(
const double dT,
const double*
const adX);
114#ifdef FH_VISUALIZATION
115 std::string m_sMaterial;
116 std::string m_sMeshName;
118 Ogre::Entity* m_pRenderEntity;
119 Ogre::SceneNode* m_pRenderNode;
120 Ogre::SceneManager* m_pSceneMgr;
Definition: CCableConnector.h:78
double m_posB[3]
The position of connector B.
Definition: CCableConnector.h:111
ISignalPort * m_pInForceB
A pointer to input B force.
Definition: CCableConnector.h:106
CCableConnector(const string &simObjectName, ISimObjectCreator *const creator)
reads parameters, registers states, output and intput ports.
ISignalPort * m_pInForceA
A pointer to input A force.
Definition: CCableConnector.h:105
double m_dMass
The mass of the object.
Definition: CCableConnector.h:102
double m_posA[3]
The position of connector A.
Definition: CCableConnector.h:110
double m_dGravity
The gravitational acceleration.
Definition: CCableConnector.h:103
int m_IStatePos
The index of the position state.
Definition: CCableConnector.h:107
int m_IStateVel
The index of the velocity state.
Definition: CCableConnector.h:108
double m_adLength[3]
The vector between connectors;.
Definition: CCableConnector.h:104