
#include <Neuro/SaccadeControllers.H>
Inheritance diagram for FrictionSaccadeController:


FrictionSaccadeController acts like a mass (at saccade center) connected to the covert focus of attention through a spring of zero rest length, and sliding on a plane in the presence of friction.
Definition at line 150 of file SaccadeControllers.H.
Public Member Functions | |
| FrictionSaccadeController (OptionManager &mgr, const SaccadeBodyPart bodypart) | |
| Constructor. | |
| virtual | ~FrictionSaccadeController () |
| Destructor. | |
Protected Member Functions | |
| virtual void | doEvolve (SimEventQueue &q) |
| evolve one time step | |
| virtual void | computeWhenNewPercept (SimEventQueue &q) |
| This method is called each time a new percept has arrived. | |
| virtual void | computeWhenResetPos (SimEventQueue &q) |
| This method is called each time a reset is made. | |
| virtual Point2D< int > | computeWhenNewDecision (SaccadeState &sacstate, bool &blinkstate, SimEventQueue &q) |
| This method is called each time a new decision is requested. | |
Protected Attributes | |
| OModelParam< double > | itsSpringK |
| spring stiffness | |
| OModelParam< double > | itsFrictionMu |
| friction coeff | |
| OModelParam< Dims > | itsDims |
| Image size so that we stay inside it. | |
| OModelParam< SimTime > | itsTimeStep |
| Simulation time step. | |
Friends | |
| class | ThresholdFrictionSaccadeController |
| class | MonkeySaccadeController |
|
||||||||||||
|
Constructor.
Definition at line 194 of file SaccadeControllers.C. |
|
|
Destructor.
Definition at line 214 of file SaccadeControllers.C. |
|
||||||||||||||||
|
This method is called each time a new decision is requested.
Implements SaccadeController. Definition at line 289 of file SaccadeControllers.C. References Point2D< T >::clampToDims(), OModelParam< T >::getVal(), SaccadeController::havePercepts(), itsDims, SACSTATE_FIX, SACSTATE_SMO, SACSTATE_UNK, SimTime::secs(), and sqrt(). |
|
|
This method is called each time a new percept has arrived.
Implements SaccadeController. Definition at line 260 of file SaccadeControllers.C. References SaccadeController::getPreviousPercept(), Point2D< T >::i, Point2D< T >::j, last, WTAwinner::p, SimTime::secs(), and WTAwinner::t. |
|
|
This method is called each time a reset is made.
Implements SaccadeController. Definition at line 275 of file SaccadeControllers.C. References SaccadeController::getPreviousPercept(), Point2D< T >::i, Point2D< T >::j, WTAwinner::p, and WTAwinner::t. |
|
|
evolve one time step
Implements SaccadeController. Definition at line 218 of file SaccadeControllers.C. References SimTime::computeDeltaT(), SaccadeController::getPreviousPercept(), OModelParam< T >::getVal(), SaccadeController::havePercepts(), Point2D< T >::i, itsFrictionMu, itsSpringK, itsTimeStep, Point2D< T >::j, last, SimEventQueue::now(), WTAwinner::p, SimTime::secs(), and t. |
|
|
Image size so that we stay inside it.
Definition at line 171 of file SaccadeControllers.H. Referenced by computeWhenNewDecision(). |
|
|
friction coeff
Definition at line 170 of file SaccadeControllers.H. Referenced by doEvolve(). |
|
|
spring stiffness
Definition at line 169 of file SaccadeControllers.H. Referenced by doEvolve(). |
|
|
Simulation time step.
Definition at line 172 of file SaccadeControllers.H. Referenced by doEvolve(). |
1.4.4