TactigonDoc
1.3 - 2018-28-12
Documentation of Tactigon libraries exposed in Arduino IDE
|
#include <tactigon_BGDM.h>
Public Types | |
enum | BGDM_gestures { ROLL_ROT, PITCH_ROT, YAW_ROT, GENMOV_X, GENMOV_Y, GENMOV_Z, GENROT_X, GENROT_Y, GENROT_Z, ALL, HALT } |
Public Member Functions | |
T_BGDM (void) | |
void | enable (BGDM_gestures gestureToEnable) |
void | engineRun (void) |
int | configGest (BGDM_gestures gestureID, Gesture_params *pPar) |
int | installEventCB (BGDM_gestures gestureID, BGDM_evt_cb pCBFuncPointer) |
Public Attributes | |
BGDM_evt_cb | haltCB |
Virtual Gesture Class
Base Gesture Detection Module class
T_BGDM::T_BGDM | ( | void | ) |
class constructor: all general class initialization will be done here
int T_BGDM::configGest | ( | BGDM_gestures | gestureID, |
Gesture_params * | pPar | ||
) |
configure Gesture params
void T_BGDM::enable | ( | BGDM_gestures | gestureToEnable | ) |
enable the detection of selected gesture.
void T_BGDM::engineRun | ( | void | ) |
engine of gesture detection: user must call this method in Arduino loop() function
int T_BGDM::installEventCB | ( | BGDM_gestures | gestureID, |
BGDM_evt_cb | pCBFuncPointer | ||
) |
install a callback event for selected gesture callback Must be of type: void calBackName(uint8_t *pointer_to_data, uint8_t byte_data_size)