NTRT Simulator
Version: Master
|
Public Member Functions | |
tgSineStringControl (const double controlStep, tgImpedanceController *p_ipc, const double amplitude, const double frequency, const double phase, const double offset, const double length) | |
virtual void | onStep (tgSpringCableActuator &subject, double dt) |
const double | getCommandedTension () const |
virtual void | onAttach (tgSpringCableActuator &subject) |
virtual void | onSetup (tgSpringCableActuator &subject) |
virtual void | onTeardown (tgSpringCableActuator &subject) |
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 | ||
) |
Definition at line 28 of file tgSineStringControl.cpp.
|
inlinevirtualinherited |
Notify the observers when an attach action has occurred. Will only occur once, typically before setup
[in,out] | subject | the subject being observed |
Reimplemented in tgCPGMGActuatorControl, tgCPGActuatorControl, and tgSCASineControl.
Definition at line 55 of file tgObserver.h.
|
inlinevirtualinherited |
Notify the observers when a setup action has occurred.
[in,out] | subject | the subject being observed |
Reimplemented in tgCPGMGCableControl, and tgCPGCableControl.
Definition at line 61 of file tgObserver.h.
|
virtual |
Notify the observers when a step action has occurred.
[in,out] | subject | the subject being observed |
[in] | the | number of seconds since the previous call; must be positive |
Implements tgObserver< tgSpringCableActuator >.
Definition at line 63 of file tgSineStringControl.cpp.
|
inlinevirtualinherited |
Notify the observers when a teardown action has occurred.
[in,out] | subject | the subject being observed |
Definition at line 67 of file tgObserver.h.