Definition at line 28 of file tgSineStringControl.h.
tgSineStringControl::tgSineStringControl |
( |
const double |
controlStep, |
|
|
tgImpedanceController * |
p_ipc, |
|
|
const double |
amplitude, |
|
|
const double |
frequency, |
|
|
const double |
phase, |
|
|
const double |
offset, |
|
|
const double |
length |
|
) |
| |
Notify the observers when an attach action has occurred. Will only occur once, typically before setup
- Parameters
-
[in,out] | subject | the subject being observed |
Reimplemented in tgCPGActuatorControl, and tgSCASineControl.
Definition at line 55 of file tgObserver.h.
Notify the observers when a setup action has occurred.
- Parameters
-
[in,out] | subject | the subject being observed |
Reimplemented in tgCPGCableControl.
Definition at line 61 of file tgObserver.h.
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< tgSpringCableActuator >.
Definition at line 63 of file tgSineStringControl.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.
The documentation for this class was generated from the following files: