Tekkotsu Homepage
Demos
Overview
Downloads
Dev. Resources
Reference
Credits

Kodu::VisualNavErrMonTask Class Reference

#include <VisualNavErrMonTask.h>

Inheritance diagram for Kodu::VisualNavErrMonTask:

Detailed Description

ASSUMPTIONS:

  • The target shape passed to the constructor is in the world shape space.

Definition at line 21 of file VisualNavErrMonTask.h.

List of all members.

Public Member Functions

 VisualNavErrMonTask (const DualCoding::ShapeRoot &kTargetShape)
 Constructor #1.
 VisualNavErrMonTask (const std::vector< DualCoding::ShapeRoot > &kTargetShapes)
 Constructor #2.
 VisualNavErrMonTask (const VisualNavErrMonTask &kTask)
 Copy constructor.
 ~VisualNavErrMonTask ()
 Destructor.
VisualNavErrMonTaskoperator= (const VisualNavErrMonTask &kTask)
 Assignment operator.
virtual bool canExecute (const KoduWorld &)
 Checks if the VisualWalkProgressTask can execute.
virtual void examineTaskResults ()
 Examines the results from the MapBuilder request to see if the robot made "progress".
virtual const
DualCoding::MapBuilderRequest
getMapBuilderRequest ()
 Dynamically generates the point the agent should fixate on.
virtual bool taskIsComplete (const KoduWorld &)
 Checks if the task is complete.

Private Attributes

unsigned int errorCount
 Cumulative error count.
std::vector
< DualCoding::ShapeRoot > 
targets
 The shapes the agent needs to look at.
float agentLastOrientation

Static Private Attributes

static unsigned int idCount = 30000
 The max number of cumulative errors (error: when the agent did not find a match).

Constructor & Destructor Documentation

Kodu::VisualNavErrMonTask::VisualNavErrMonTask ( const DualCoding::ShapeRoot &  kTargetShape  ) 

Constructor #1.

Definition at line 24 of file VisualNavErrMonTask.h.

Kodu::VisualNavErrMonTask::VisualNavErrMonTask ( const std::vector< DualCoding::ShapeRoot > &  kTargetShapes  ) 

Constructor #2.

Definition at line 35 of file VisualNavErrMonTask.h.

Kodu::VisualNavErrMonTask::VisualNavErrMonTask ( const VisualNavErrMonTask kTask  ) 

Copy constructor.

Definition at line 43 of file VisualNavErrMonTask.h.

Kodu::VisualNavErrMonTask::~VisualNavErrMonTask (  ) 

Destructor.

Definition at line 51 of file VisualNavErrMonTask.h.


Member Function Documentation

bool Kodu::VisualNavErrMonTask::canExecute ( const KoduWorld kWorldState  )  [virtual]

Checks if the VisualWalkProgressTask can execute.

Implements Kodu::PerceptualTaskBase.

Definition at line 23 of file VisualNavErrMonTask.cc.

void Kodu::VisualNavErrMonTask::examineTaskResults (  )  [virtual]

Examines the results from the MapBuilder request to see if the robot made "progress".

Reimplemented from Kodu::PerceptualTaskBase.

Definition at line 30 of file VisualNavErrMonTask.cc.

const DualCoding::MapBuilderRequest & Kodu::VisualNavErrMonTask::getMapBuilderRequest (  )  [virtual]

Dynamically generates the point the agent should fixate on.

Reimplemented from Kodu::PerceptualTaskBase.

Definition at line 70 of file VisualNavErrMonTask.cc.

VisualNavErrMonTask& Kodu::VisualNavErrMonTask::operator= ( const VisualNavErrMonTask kTask  ) 

Assignment operator.

Definition at line 56 of file VisualNavErrMonTask.h.

bool Kodu::VisualNavErrMonTask::taskIsComplete ( const KoduWorld kWorldState  )  [virtual]

Checks if the task is complete.

Reimplemented from Kodu::PerceptualTaskBase.

Definition at line 103 of file VisualNavErrMonTask.cc.


Member Data Documentation

unsigned int Kodu::VisualNavErrMonTask::errorCount [private]

Cumulative error count.

Definition at line 83 of file VisualNavErrMonTask.h.

Referenced by operator=().

unsigned int Kodu::VisualNavErrMonTask::idCount = 30000 [static, private]

The max number of cumulative errors (error: when the agent did not find a match).

Used to generate id numbers

Definition at line 82 of file VisualNavErrMonTask.h.

std::vector<DualCoding::ShapeRoot> Kodu::VisualNavErrMonTask::targets [private]

The shapes the agent needs to look at.

Definition at line 84 of file VisualNavErrMonTask.h.

Referenced by canExecute(), examineTaskResults(), getMapBuilderRequest(), operator=(), taskIsComplete(), and VisualNavErrMonTask().


The documentation for this class was generated from the following files:

Tekkotsu v5.1CVS
Generated Mon May 9 04:59:23 2016 by Doxygen 1.6.3