FhSim  3.1.0
Marine systems simulation
Loading...
Searching...
No Matches
RbCable::CableConnector Class Reference
+ Inheritance diagram for RbCable::CableConnector:
+ Collaboration diagram for RbCable::CableConnector:

Public Member Functions

 CableConnector (const std::string &simObjectName, ISimObjectCreator *const creator)
 reads parameters, registers states, output and intput ports.
 
void OdeFcn (const double T, const double *const X, double *const XDot) const
 
bool HasJacobians () const override
 
void OdeJacobian (double T, const double *X, double *J, int nStates) override
 
int GetJacobianSparsity (int nStates, int *rowPtr, int *colIdx) override
 
const double * PositionA (const double dT, const double *const adX)
 
const double * VelocityA (const double dT, const double *const adX)
 
const double * PositionB (const double dT, const double *const adX)
 
const double * VelocityB (const double dT, const double *const adX)
 

Protected Attributes

double m_mass
 The mass of the object.
 
double m_gravity
 The gravitational acceleration.
 
double m_length [3]
 The vector between connectors;.
 
ISignalPort * m_inForceA
 A pointer to input A force.
 
ISignalPort * m_inForceB
 A pointer to input B force.
 
int m_IStatePos
 The index of the position state.
 
int m_IStateVel
 The index of the velocity state.
 
double m_posA [3]
 The position of connector A.
 
double m_posB [3]
 The position of connector B.
 

The documentation for this class was generated from the following file: