Definition at line 28 of file tgCPGCableControl.h.
void tgCPGActuatorControl::assignNodeNumber |
( |
CPGEquations & |
CPGSys, |
|
|
array_2D |
nodeParams |
|
) |
| |
|
inherited |
Can call these any time, but they'll only have the intended effect after all of the strings have been constructed.
Definition at line 102 of file tgCPGActuatorControl.cpp.
void tgCPGCableControl::assignNodeNumberFB |
( |
CPGEquationsFB & |
CPGSys, |
|
|
array_2D |
nodeParams |
|
) |
| |
Account for the larger number of parameters the nodes have with a feedback CPGSystem
Definition at line 99 of file tgCPGCableControl.cpp.
const CPGEquations* tgCPGActuatorControl::getCPGSys |
( |
| ) |
const |
|
inlineinherited |
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
Reimplemented from tgCPGActuatorControl.
Definition at line 64 of file tgCPGCableControl.cpp.
Notify the observers when a teardown action has occurred.
- Parameters
-
[in,out] | subject | the subject being observed |
Definition at line 67 of file tgObserver.h.
void tgCPGActuatorControl::setConnectivity |
( |
const std::vector< tgCPGActuatorControl * > & |
allStrings, |
|
|
array_4D |
edgeParams |
|
) |
| |
|
inherited |
Iterate through all other tgSpringCableActuatorCPGInfos, and determine CPG network by rigid body connectivity
Definition at line 122 of file tgCPGActuatorControl.cpp.
void tgBaseCPGNode::updateControlLength |
( |
double |
newControlLength | ) |
|
|
inherited |
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 | ) |
|
|
inherited |
Give a new tension setpoint to the impedance controller m_pMotorControl
Definition at line 90 of file tgBaseCPGNode.cpp.
const double tgCPGActuatorControl::m_controlStep |
|
protectedinherited |
How often this controller updates. Must be non-negative. Zero means it updates every timestep. Units are seconds
Definition at line 114 of file tgCPGActuatorControl.h.
double tgCPGActuatorControl::m_controlTime |
|
protectedinherited |
Member variable for keeping track of how long its been since the last update step
Definition at line 109 of file tgCPGActuatorControl.h.
The documentation for this class was generated from the following files: