#include <Escape_T6Controller.h>
|
virtual vector< vector< double > > | transformActions (vector< vector< double > > act) |
|
virtual void | applyActions (Escape_T6Model &subject, vector< vector< double > > act) |
|
virtual vector< vector< double > > | transformActions (vector< vector< double > > act) |
|
virtual void | applyActions (Escape_T6Model &subject, vector< vector< double > > act) |
|
Escape Controller for T6
Definition at line 43 of file Escape_T6Controller.h.
virtual Escape_T6Controller::~Escape_T6Controller |
( |
| ) |
|
|
inlinevirtual |
virtual Escape_T6Controller::~Escape_T6Controller |
( |
| ) |
|
|
inlinevirtual |
void Escape_T6Controller::applyActions |
( |
Escape_T6Model & |
subject, |
|
|
vector< vector< double > > |
actions |
|
) |
| |
|
protectedvirtual |
Notify the observers when an attach action has occurred. Will only occur once, typically before setup
- Parameters
-
[in,out] | subject | the subject being observed |
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 from tgObserver< Escape_T6Model >.
void Escape_T6Controller::onStep |
( |
Escape_T6Model & |
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 |
Implements tgObserver< Escape_T6Model >.
Definition at line 91 of file Escape_T6Controller.cpp.
virtual void Escape_T6Controller::onStep |
( |
Escape_T6Model & |
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 |
Implements tgObserver< Escape_T6Model >.
virtual void Escape_T6Controller::onTeardown |
( |
Escape_T6Model & |
subject | ) |
|
|
virtual |
Notify the observers when a teardown action has occurred.
- Parameters
-
[in,out] | subject | the subject being observed |
Reimplemented from tgObserver< Escape_T6Model >.
vector< vector< double > > Escape_T6Controller::transformActions |
( |
vector< vector< double > > |
actions | ) |
|
|
protectedvirtual |
Returns the modified actions 2D vector such that each action value is now scaled to fit the model Invariant: actions[x].size() == 4 for all legal values of x Invariant: Each actions[] contains: amplitude, angularFrequency, phaseChange, dcOffset
Definition at line 144 of file Escape_T6Controller.cpp.
The documentation for this class was generated from the following files: