|
CPGEquations * | m_pCPGSystem |
|
int | m_nodeNumber |
|
double | m_controlLength |
|
Definition at line 35 of file tgCPGStringControl.h.
void tgCPGStringControl::assignNodeNumber |
( |
CPGEquations & |
CPGSys, |
|
|
array_2D |
nodeParams |
|
) |
| |
Can call these any time, but they'll only have the intended effect after all of the strings have been constructed.
Definition at line 68 of file tgCPGStringControl.cpp.
Pointer to the CPG system. Owned by the higher level controller
Definition at line 70 of file tgCPGStringControl.h.
Notify the observers when a setup action has occurred.
- Parameters
-
[in,out] | subject | the subject being observed |
Definition at line 60 of file tgObserver.h.
void tgCPGStringControl::onStep |
( |
tgLinearString & |
subject, |
|
|
double |
dt |
|
) |
| |
|
virtual |
Notify the observers when a step action has occurred.
- Parameters
-
[in,out] | subject | the subject being observed |
[in] | the | number of seconds since the previous call; must be positive |
- Todo:
- this fails if its attached to multiple controllers! is there a way to track global time at this level
Implements tgObserver< tgLinearString >.
Definition at line 55 of file tgCPGStringControl.cpp.
Notify the observers when a teardown action has occurred.
- Parameters
-
[in,out] | subject | the subject being observed |
Definition at line 66 of file tgObserver.h.
void tgCPGStringControl::setConnectivity |
( |
const std::vector< tgCPGStringControl * > & |
allStrings, |
|
|
array_4D |
edgeParams |
|
) |
| |
Iterate through all other tgLinearStringCPGInfos, and determine CPG network by rigid body connectivity
Definition at line 88 of file tgCPGStringControl.cpp.
The documentation for this class was generated from the following files: