36#ifndef __INCLUDE_SENSING_LOGICAL_SENSOR_ARM_GESTURE_H
37#define __INCLUDE_SENSING_LOGICAL_SENSOR_ARM_GESTURE_H
51#include "sensing/sensor_api.h"
52#include "sensing/sensor_id.h"
53#include "sensing/sensor_ecode.h"
55#include "memutils/s_stl/queue.h"
70 void set_callback(FAR SensorCmd *cmd);
75 : m_cmd_pool_id(pool_id)
83 #define MAX_EXEC_COUNT 8
89 s_std::Queue<struct exe_mh_s, MAX_EXEC_COUNT> m_exe_que;
97 pthread_t m_thread_id;
Definition: arm_gesture.h:63
Memory Handler Class for "Memory Manager Lite". This is only wrapper class for convert project-specif...
Definition: MemManager.h:107
int GestureSetCoordinate(FAR GestureClass *ins, FAR GestureSetRotation *rotation)
Set Gesture coordinate.
int GestureWrite(FAR GestureClass *ins, FAR sensor_command_data_mh_t *command)
Send data to Gesture worker task.
int GestureClose(FAR GestureClass *ins)
Destory Gesture worker task.
FAR GestureClass * GestureCreate(MemMgrLite::PoolId cmd_pool_id)
Create GestureClass instance.
int GestureOpen(FAR GestureClass *ins)
Load Gesture library and boot up as worker task. After booted up, send initialize and wait complete.
Rotation matrix. Assume x_adjusted, y_adjusted, z_adjusted as adjusted x, y, z acceleration value acc...
Definition: arm_gesture_command.h:161
Definition: MemMgrTypes.h:88
The command of send some sensor data with MemHandle to the sensor manager. This function only can cal...
Definition: sensor_api.h:134