3#include "JointConstraint.h"
32#ifdef FH_VISUALIZATION
33 virtual void RenderInit(Ogre::Root*
const ogreRoot,
double RingDiameter);
34 virtual void RenderUpdate(
const double T,
const double*
const X);
38 std::vector<RigidElement*> getElements(){
return m_elements;}
40 RigidElement* getLastElement() {
return m_elements.back();}
41 int getNumElements(){
return (
int)
m_elements.size();}
50 EIGEN_MAKE_ALIGNED_OPERATOR_NEW
67#ifdef FH_VISUALIZATION
69 Ogre::ManualObject* m_visual_ring;
70 Eigen::Matrix<float,3,15> m_base_circle;
Definition: ConstraintSolver.h:31
Definition: JointConstraint.h:17
Definition: RigidElement.h:15
Definition: RingStructure.h:8
double m_elemLength
Base properties of the ring.
Definition: RingStructure.h:57
double m_GammaN
list of all elements
Definition: RingStructure.h:61
double m_GammaMx
axial regulator stiffness parameter
Definition: RingStructure.h:62
virtual void ComputeConstraints(const double T, const double *const X)
double m_GammaMy
bending regulator stiffness parameter
Definition: RingStructure.h:63
std::vector< RigidElement * > m_elements
element length [m]
Definition: RingStructure.h:59
virtual void InitialConditionSetup(double *const UpdatedIC, vec3 CenterPosition)
double m_GammaT
bending regulator stiffness parameter
Definition: RingStructure.h:64
RingStructure(CoRiBoDynamics::ConstraintSolver *solver, ISimObjectCreator *creator, CoRiBoDynamics::Structures::RingStructure::RingSpec spec, std::string name)
Definition: CollisionManager.h:6
Definition: RingStructure.h:10
double RingDiameter
Damping frequency coefficient; [s^-1].
Definition: RingStructure.h:14
double Inertia[6]
Bending stiffness around x, y and z axis [Nm].
Definition: RingStructure.h:18
double Alpha
Regulator frequency coefficient; [s^-1].
Definition: RingStructure.h:13
double Beta
Number of discrete elements in the ring.
Definition: RingStructure.h:12
double EA
Diameter of tube [m];.
Definition: RingStructure.h:16
vec3 EI
Axial stiffness [N].
Definition: RingStructure.h:17
double TubeDiameter
Total diameter of the ring [m].
Definition: RingStructure.h:15