Looking for Caresses
SoRo project to let Miro interact as a pet would do
|
Public Member Functions | |
A_awakening (ros::NodeHandle nh, ros::Publisher pubPlat) | |
Costructor for phase A task. More... | |
int | main (int loneliness) |
Phase A: awakening. This fucntion randomly awake MiRo basising on loneliness value. While sleeping, loneliness increases, thus probability of awakening increases. Plus, if MiRo is touched, it wakes up immediately. More... | |
Definition at line 8 of file A_awakening.h.
A_awakening::A_awakening | ( | ros::NodeHandle | nh, |
ros::Publisher | pubPlat | ||
) |
Costructor for phase A task.
nh | the ros nodeHandle to subscribe |
pubPlat | the Publisher object to publish on topic |
Definition at line 11 of file A_awakening.cpp.
int A_awakening::main | ( | int | loneliness | ) |
Phase A: awakening. This fucntion randomly awake MiRo basising on loneliness value. While sleeping, loneliness increases, thus probability of awakening increases. Plus, if MiRo is touched, it wakes up immediately.
loneliness | the initial loneliness value |
SLEEPING PHASE
Random Awakening
AWAKENING PHASE
Kinematic and cosmetic things to show miro awake
Definition at line 41 of file A_awakening.cpp.