Looking for Caresses
SoRo project to let Miro interact as a pet would do
 All Classes Functions Variables Pages
Public Member Functions | List of all members
C_interaction Class Reference

Public Member Functions

 C_interaction (ros::NodeHandle nh, ros::Publisher pubPlat)
 Costructor for phase C task. More...
 
int main (int loneliness)
 Main for Task C. The task updates the loneliness value if MiRo receive caresses, and make MiRo acts happily while being rubbed. More...
 

Detailed Description

Definition at line 8 of file C_interaction.h.

Constructor & Destructor Documentation

C_interaction::C_interaction ( ros::NodeHandle  nh,
ros::Publisher  pubPlat 
)

Costructor for phase C task.

Parameters
nhthe ros nodeHandle to subscribe
pubPlatthe Publisher object to publish on topic

Definition at line 9 of file C_interaction.cpp.

Member Function Documentation

int C_interaction::main ( int  loneliness)

Main for Task C. The task updates the loneliness value if MiRo receive caresses, and make MiRo acts happily while being rubbed.

Parameters
lonelinessthe loneliness value
Returns
loneliness the loneliness updated during the phase

INTERACTION PHASE

Miro back to sleep

Definition at line 101 of file C_interaction.cpp.


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