The class GoodMode implements a cheerful behavior and allows to interact with Miro's capacitive body.
More...
|
|
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.
|
| |
|
|
| 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...
|
| |
The class GoodMode implements a cheerful behavior and allows to interact with Miro's capacitive body.
Definition at line 43 of file good.py.
| 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: