Realistic rhesus monkey eye/head controller. More...
#include <Neuro/EyeHeadControllers.H>
Public Member Functions | |
MonkeyEyeHeadController (OptionManager &mgr) | |
Constructor. | |
virtual | ~MonkeyEyeHeadController () |
Destructor. | |
virtual void | setPercept (const WTAwinner &fix, SimEventQueue &q) |
Receive a new percept (e.g., winner from saliency map). | |
Protected Member Functions | |
SIMCALLBACK_DECLARE (MonkeyEyeHeadController, SimEventClockTick) | |
Callback for every clock tick. | |
Protected Attributes | |
OModelParam< SimTime > | itsBlinkWait |
wait time before a blink | |
OModelParam< SimTime > | itsBlinkDur |
blink duration | |
OModelParam< float > | itsOdist |
Realistic rhesus monkey eye/head controller.
This is a hack based on Nitin's old MonkeySaccadeController but decoupling eye and head (so that the head minds its own business without influencing the eye). Not as realistic in the details, but the end result is the same. In addition to having plug-in eye and head saccade controllers, we here have an additional built-in ThresholdSaccadeController which is used to detect when the eye is stable.
Definition at line 130 of file EyeHeadControllers.H.
MonkeyEyeHeadController::MonkeyEyeHeadController | ( | OptionManager & | mgr | ) |
Constructor.
Definition at line 228 of file EyeHeadControllers.C.
References ModelComponent::addSubComponent(), and SimTime::ZERO().
MonkeyEyeHeadController::~MonkeyEyeHeadController | ( | ) | [virtual] |
Destructor.
Definition at line 250 of file EyeHeadControllers.C.
void MonkeyEyeHeadController::setPercept | ( | const WTAwinner & | fix, | |
SimEventQueue & | q | |||
) | [virtual] |
Receive a new percept (e.g., winner from saliency map).
Definition at line 323 of file EyeHeadControllers.C.
MonkeyEyeHeadController::SIMCALLBACK_DECLARE | ( | MonkeyEyeHeadController | , | |
SimEventClockTick | ||||
) | [protected] |
Callback for every clock tick.
OModelParam<SimTime> MonkeyEyeHeadController::itsBlinkDur [protected] |
blink duration
Definition at line 147 of file EyeHeadControllers.H.
OModelParam<SimTime> MonkeyEyeHeadController::itsBlinkWait [protected] |
wait time before a blink
Definition at line 146 of file EyeHeadControllers.H.