38 tgBaseCPGNode::tgBaseCPGNode() :
39 m_pMotorControl(NULL),
45 tgBaseCPGNode::~tgBaseCPGNode()
47 delete m_pMotorControl;
56 throw std::runtime_error(
"Not yet initialized");
60 m_pMotorControl = &ipc;
64 double tgBaseCPGNode::getCPGValue()
const
66 double cpgValue = 0.0;
67 if (m_pCPGSystem == NULL)
69 throw std::runtime_error(
"CPG not initialized!");
80 if (m_pMotorControl == NULL)
82 throw std::runtime_error(
"Motor control has not been set.");
86 return *m_pMotorControl;
Contains the definition of class ImpedanceControl. $Id$.
Definition of class CPGEquations.
Definition of class tgBaseCPGNode.