MiRo-Training
The aim of the project is to develop a software architecture for interacting with Miro using vocal and gestural commands.
|
The Class SmartwatchData allows the subscription to the smartwatch's accelerometer data and publishing of the linear and angular velocities conveniently mapped. More...
Public Member Functions | |
def | __init__ |
Constructor. | |
def | callback_smartwatch_data |
Callback function that when the data from the smartwatch are received maps them into linear and angular velocities. More... | |
def | main |
Public Attributes | |
last_acc | |
Last acelleration data received from smartwatch. | |
mode | |
Control mode set from launch file. | |
sub_smartwatch | |
Subscriber to the topic /inertial a message of type Imu. | |
pub_mapping | |
Publisher on the topic /imu_mapping a message of type Twist. | |
The Class SmartwatchData allows the subscription to the smartwatch's accelerometer data and publishing of the linear and angular velocities conveniently mapped.
Definition at line 35 of file imu_data_map.py.
def imu_data_map.SmartwatchData.callback_smartwatch_data | ( | self, | |
imu_data | |||
) |
Callback function that when the data from the smartwatch are received maps them into linear and angular velocities.
Based on the value of the attribute mode, two different modalities of control are available
mode: basic
mode: advanced
Definition at line 64 of file imu_data_map.py.