NTRT Simulator  Version: Master
 All Classes Namespaces Files Functions Variables Typedefs Friends Pages
tgBaseCPGNode Class Reference

#include <tgBaseCPGNode.h>

Inheritance diagram for tgBaseCPGNode:
Collaboration diagram for tgBaseCPGNode:

Public Member Functions

virtual double getCPGValue () const
 
void updateTensionSetpoint (double newTension)
 
void updateControlLength (double newControlLength)
 

Protected Member Functions

tgImpedanceControllermotorControl () const
 
virtual void setupControl (tgImpedanceController &ipc)
 
double controlLength () const
 

Protected Attributes

CPGEquationsm_pCPGSystem
 
int m_nodeNumber
 
double m_controlLength
 

Detailed Description

Control class for a tgBaseString (or other mechanism. using a CPG. Parent class of tgCPGStringControl and several classes in dev This shouldn't have children, and its child class will have tags. Its child class needs to be a tgSubject

Definition at line 42 of file tgBaseCPGNode.h.

Member Function Documentation

void tgBaseCPGNode::updateControlLength ( double  newControlLength)

Change the control length at runtime, sets m_controlLength to newControlLength newControlLength must be greater than or equal to zero.

Definition at line 102 of file tgBaseCPGNode.cpp.

void tgBaseCPGNode::updateTensionSetpoint ( double  newTension)

Give a new tension setpoint to the impedance controller m_pMotorControl

Definition at line 90 of file tgBaseCPGNode.cpp.

Here is the call graph for this function:


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