RAPP Platform  v0.6.0
RAPP Platform is a collection of ROS nodes and back-end processes that aim to deliver ready-to-use generic services to robots
 All Classes Namespaces Files Functions Variables Macros
cognitive_exercise.CognitiveExercise Class Reference

The Cognitive exercise ros node. More...

Public Member Functions

def __init__
 Default contructor. More...
 
def chooserDataHandler
 The cognitive exercise chooser service callback. More...
 
def cognitiveTestCreatorDataHandler
 The cognitive test creator service callback. More...
 
def recordUserCognitiveTestPerformanceDataHandler
 The record user cognitive test performance service callback. More...
 
def returnTestsOfTypeSubtypeDifficultyDataHandler
 The returnTestsOfTypeSubtypeDifficultyDataHandler service callback. More...
 
def userScoreHistoryForAllCategoriesDataHandler
 The userScoreHistoryForAllCategories service callback. More...
 
def userScoresForAllCategoriesDataHandler
 The userScoresForAllCategories service callback. More...
 

Public Attributes

 serv
 
 serv_topic
 

Detailed Description

The Cognitive exercise ros node.

Definition at line 49 of file cognitive_exercise.py.

Constructor & Destructor Documentation

def cognitive_exercise.CognitiveExercise.__init__ (   self)

Default contructor.

Waits for services the node depends on and declares the callbacks of the node's services

Definition at line 54 of file cognitive_exercise.py.

Member Function Documentation

def cognitive_exercise.CognitiveExercise.chooserDataHandler (   self,
  req 
)

The cognitive exercise chooser service callback.

Parameters
req[rapp_platform_ros_communications::testSelectorSrvRequest::Request&] The ROS service request
Returns
res [rapp_platform_ros_communications::testSelectorSrvResponse::Response&] The ROS service response

Definition at line 123 of file cognitive_exercise.py.

def cognitive_exercise.CognitiveExercise.cognitiveTestCreatorDataHandler (   self,
  req 
)

The cognitive test creator service callback.

Parameters
req[rapp_platform_ros_communications::cognitiveTestCreatorSrvRequest::Request&] The ROS service request
Returns
res [rapp_platform_ros_communications::cognitiveTestCreatorSrvResponse::Response&] The ROS service response

Definition at line 141 of file cognitive_exercise.py.

def cognitive_exercise.CognitiveExercise.recordUserCognitiveTestPerformanceDataHandler (   self,
  req 
)

The record user cognitive test performance service callback.

Parameters
req[rapp_platform_ros_communications::recordUserCognitiveTestPerformanceSrvRequest::Request&] The ROS service request
Returns
res [rapp_platform_ros_communications::recordUserCognitiveTestPerformanceSrvResponse::Response&] The ROS service response

Definition at line 132 of file cognitive_exercise.py.

def cognitive_exercise.CognitiveExercise.returnTestsOfTypeSubtypeDifficultyDataHandler (   self,
  req 
)

The returnTestsOfTypeSubtypeDifficultyDataHandler service callback.

Parameters
req[rapp_platform_ros_communications::returnTestsOfTypeSubtypeDifficultyDataHandler::Request&] The ROS service request
Returns
res [rapp_platform_ros_communications::returnTestsOfTypeSubtypeDifficultyDataHandler::Response&] The ROS service response

Definition at line 168 of file cognitive_exercise.py.

def cognitive_exercise.CognitiveExercise.userScoreHistoryForAllCategoriesDataHandler (   self,
  req 
)

The userScoreHistoryForAllCategories service callback.

Parameters
req[rapp_platform_ros_communications::userScoreHistoryForAllCategoriesSrv::Request&] The ROS service request
Returns
res [rapp_platform_ros_communications::userScoreHistoryForAllCategoriesSrv::Response&] The ROS service response

Definition at line 159 of file cognitive_exercise.py.

def cognitive_exercise.CognitiveExercise.userScoresForAllCategoriesDataHandler (   self,
  req 
)

The userScoresForAllCategories service callback.

Parameters
req[rapp_platform_ros_communications::userScoresForAllCategoriesSrvRequest::Request&] The ROS service request
Returns
res [rapp_platform_ros_communications::userScoresForAllCategoriesSrvResponse::Response&] The ROS service response

Definition at line 150 of file cognitive_exercise.py.

Member Data Documentation

cognitive_exercise.CognitiveExercise.serv

Definition at line 91 of file cognitive_exercise.py.

cognitive_exercise.CognitiveExercise.serv_topic

Definition at line 57 of file cognitive_exercise.py.


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