19 #ifndef TG_CPG_MG_ACTUATOR_CONTRL_H
20 #define TG_CPG_MG_ACTUATOR_CONTRL_H
34 #include "boost/multi_array.hpp"
36 typedef boost::multi_array<double, 2> array_2D;
37 typedef boost::multi_array<double, 3> array_3D;
69 void setConnectivity(
const std::vector<tgCPGMGActuatorControl*>& allStrings,
72 const int getNodeNumber()
const
85 const double getCommandedTension()
const
87 return m_commandedTension;
93 double controlLength);
95 const btRigidBody* getFromBody()
const
100 const btRigidBody* getToBody()
const
119 double m_commandedTension;
121 btRigidBody* m_pFromBody;
123 btRigidBody* m_pToBody;
void assignNodeNumber(CPGEquations &CPGSys, array_2D nodeParams)
void setConnectivity(const std::vector< tgCPGMGActuatorControl * > &allStrings, array_3D edgeParams)
const double m_controlStep
Definition of the tgCPGStringControl observer class.
virtual void onStep(tgSpringCableActuator &subject, double dt)
Contains the definition of abstract base class tgSpringCableActuator. Assumes that the string is line...
const CPGEquations * getCPGSys() const
virtual void onAttach(tgSpringCableActuator &subject)
Definition of class tgBaseCPGNode.