MiRo-Training
The aim of the project is to develop a software architecture for interacting with Miro using vocal and gestural commands.
 All Classes Files Functions Variables
Public Member Functions | Public Attributes | List of all members
good.GoodMode Class Reference

The class GoodMode implements a cheerful behavior and allows to interact with Miro's capacitive body. More...

Public Member Functions

def __init__
 
def callback_touch
 Callback function that saves in class' attributes the capacitive sensor readings converted.
 
def miro_good
 Function that implements different behavior and lightening pattern depending on where it is touched.
 

Public Attributes

 rate
 Node rate.
 
 h1
 Initialization of head capacitive sensors.
 
 h2
 
 h3
 
 h4
 
 b1
 Initialization of bodycapacitive sensors.
 
 b2
 
 b3
 
 b4
 
 sub_sensors_touch
 Subscriber to the topic /miro/rob01/platform/sensors a message of type platform_sensors that cointains the information about the capacitive sensors. More...
 
 pub_platform_control
 Publisher to the topic /miro_good a message of type platform_control which corresponds to the "Good" action. More...
 

Detailed Description

The class GoodMode implements a cheerful behavior and allows to interact with Miro's capacitive body.

Definition at line 43 of file good.py.

Member Data Documentation

good.GoodMode.pub_platform_control

Publisher to the topic /miro_good a message of type platform_control which corresponds to the "Good" action.

Definition at line 63 of file good.py.

good.GoodMode.sub_sensors_touch

Subscriber to the topic /miro/rob01/platform/sensors a message of type platform_sensors that cointains the information about the capacitive sensors.

Definition at line 61 of file good.py.


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