Aquila  2.0 prealpha
Cognitive Robotics Architecture
 All Classes Namespaces Files Functions Variables Typedefs Enumerations Enumerator Friends Macros Groups Pages
Public Slots | Signals | Public Member Functions | Protected Member Functions | List of all members
TrackerInterface Class Reference

#include <trackerInterface.h>

Inheritance diagram for TrackerInterface:
Interface

Public Slots

void sendThreshold (int threshold)
 Sends threshold.
 
- Public Slots inherited from Interface
void sendAbortRequest ()
 Sends request to abort module.
 
void sendStartRequest ()
 Sends request to start module.
 
void sendStopRequest ()
 Sends request to stop module.
 
void sendSimulationMode (int simulationMode)
 Sends simulation module to module.
 

Signals

void parametersReceived (int simulationMode, int threshold)
 
- Signals inherited from Interface
void gpuListReceived (QStringList gpuList)
 
void progressReceived (int progress)
 
void statusReceived (int statusID)
 

Public Member Functions

 TrackerInterface (GUI *pGUI)
 Constructor.
 
- Public Member Functions inherited from Interface
 Interface (GUI *pGUI)
 Constructor.
 
void sendGpuListRequest ()
 Sends request for list of GPU devices found on module server.
 
void sendCpuRequest ()
 Sends CPU request to module, which will updates its execution mode to CPU.
 
void sendParametersRequest ()
 Sends parameters request to module.
 
void sendQuitRequest ()
 Sends request to quit module.
 
void close ()
 Closes module.
 
void sendGpuID (int gpuID)
 Sends ID of selected GPU device to module.
 
void sendGpuIDs (QVector< int > gpuIDs)
 Sends ID of selected GPU devices to module.
 
 Interface ()
 Constructor.
 
void sendMessage (string message)
 Sends message to the output port.
 
void sendGpuList ()
 Sends a list of detected GPU devices to the output port.
 
void sendParameters ()
 Sends default parameters to the output port.
 
void sendStatus (int status)
 Sends module status to the output port.
 
bool configure (ResourceFinder &rf)
 Configures module.
 
 Interface ()
 
void sendMessage (string message)
 
void sendGpuList ()
 
void sendParameters ()
 
void sendStatus (int status)
 
bool configure (ResourceFinder &rf)
 
 Interface ()
 
void sendStatus (int status)
 
void sendMessage (string message)
 
void sendGpuList ()
 
void sendParameters ()
 
void sendActivity ()
 Sends activity.
 
bool configure (ResourceFinder &rf)
 
 Interface ()
 
void sendStatus (int status)
 
void sendMessage (string message)
 
void sendGpuList ()
 
void sendParameters (float learningRate, float momentum, float threshold, float weightRange, int iterations, int seed, int numFastNeurons, int numSlowNeurons, int ioDeltaT, int fastDeltaT, int slowDeltaT, int debuggingLevel, int portUpdateInterval)
 Sends parameters to the output port.
 
void sendError (int iteration, float error)
 Sends error at particular iteration to the output port.
 
void sendProgress (int progress)
 Sends training progress (in %) to the output port.
 
void sendNetwork ()
 Sends the weights of neural network to the output port.
 
void sendErrors ()
 Sends the final training errors the output port.
 
bool configure (ResourceFinder &rf)
 
 Interface ()
 
void sendParameters (float learningRate, int numSubIterations, int numOutputs, int iterationPause)
 Sends parameters to the output port.
 
void sendStatus (int status)
 
void sendMap ()
 Sends the weights of self-organising map to the output port.
 
void sendMessage (string message)
 
void sendGpuDeviceList ()
 Sends a list of detected GPU devices to the output port.
 
void sendNumInputs ()
 Sends number of inputs to the output port.
 
void sendTrainingTime ()
 Sends the total training time (in ms) to the output port.
 
void sendDataPointLimits ()
 Sends the original data min and max values to the output port.
 
void sendProgress (int progress)
 
bool configure (ResourceFinder &rf)
 
 Interface ()
 
void sendMessage (string message)
 
void sendGpuList ()
 
void sendParameters ()
 
void sendStatus (int status)
 
bool configure (ResourceFinder &rf)
 

Protected Member Functions

void processPortData ()
 Processes data received from module.
 
- Protected Member Functions inherited from Interface
virtual void processGpuList ()
 Processes data about GPU devices found on server running module.
 
virtual void printMessage ()
 Prints out or logs message received from module.
 

Additional Inherited Members

- Public Attributes inherited from Interface
Image leftCam
 
Image rightCam
 
Image leftMotion
 
Image rightMotion
 
- Protected Attributes inherited from Interface
GUImodule
 
yarp::os::Port inputPort
 
yarp::os::Port outputPort
 
yarp::os::Bottle receivedBottle
 

Detailed Description

Interface between Tracker GUI and Tracker module

Constructor & Destructor Documentation

TrackerInterface::TrackerInterface ( GUI pGUI)

Constructor.

Parameters
[in]pGUI- pointer to GUI

Member Function Documentation

void TrackerInterface::parametersReceived ( int  simulationMode,
int  threshold 
)
signal
void TrackerInterface::processPortData ( )
protectedvirtual

Processes data received from module.

Reimplemented from Interface.

void TrackerInterface::sendThreshold ( int  threshold)
slot

Sends threshold.

Parameters
[in]threshold- movement sensitivity threshold

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