#include <stdint.h>
#include <stddef.h>
#include "sensing/logical_sensor/sensor_command.h"
Go to the source code of this file.
|
struct | GestureTypes |
| the structure of gesture type. More...
|
|
struct | GestureDebugDumpInfo |
|
struct | SensorInitGesture |
| the structure of gesture type for initilaize. More...
|
|
struct | GestureSetRotation |
| Rotation matrix. Assume x_adjusted, y_adjusted, z_adjusted as adjusted x, y, z acceleration value accordingly. As well, x_sensor, y_sensor, z_sensor are defined as original x, y, z value from sensor accordingly. x_adjusted, y_adjusted and z_adjusted are calculated as follows: x_adjusted = x_sensor * xx + y_sensor * xy + z_sensor * xz; y_adjusted = x_sensor * yx + y_sensor * yy + z_sensor * yz; z_adjusted = x_sensor * zx + y_sensor * zy + z_sensor * zz;. More...
|
|
struct | SensorExecGesture |
| the struct of gesture for the execute command. More...
|
|
struct | SensorFlushGesture |
| the command of gesture terminate. More...
|
|
struct | SensorResultArmGesture |
| the structure of sensor result on arm gesture commands. More...
|
|
struct | SensorCmdArmGesture |
| the structure of arm gesture commands. More...
|
|
|
#define | GESTURE_ARM_UP 0x00000001 |
| ID for ARM_UP event, also used for setting arm state.
|
|
#define | GESTURE_ARM_DOWN 0x00000002 |
| ID for ARM_DOWN event, also used for setting arm state.
|
|
#define | GESTURE_TWIST 0x00000004 |
| ID for TWIST event.
|
|
#define | GESTURE_SHAKE 0x00000010 |
| ID for SHAKE event.
|
|