osxMotionGR Software Library
osxMotionGR Software Library Documentation
|
OSX_MOTION_GR_Exported_Functions
Functions | |
uint8_t | osx_MotionGR_Initialize (void) |
Initialize the MotionGR engine. More... | |
void | osx_MotionGR_SetOrientation_Acc (const char *acc_orientation) |
Set the MotionGR Accelerometer data orientation. More... | |
osx_MGR_output_t | osx_MotionGR_Update (osx_MGR_input_t *data_in) |
Run Gesture Recognition Algorithm. More... | |
uint8_t | osx_MotionGR_GetLibVersion (char *version) |
Get the library version. More... | |
Detailed Description
Function Documentation
uint8_t osx_MotionGR_GetLibVersion | ( | char * | version | ) |
Get the library version.
- Parameters
-
version pointer to an array of 35 char
- Return values
-
Number of characters in the version string
uint8_t osx_MotionGR_Initialize | ( | void | ) |
Initialize the MotionGR engine.
- Parameters
-
None
- Return values
-
1 in case of success, 0 otherwise
void osx_MotionGR_SetOrientation_Acc | ( | const char * | acc_orientation | ) |
Set the MotionGR Accelerometer data orientation.
- Parameters
-
*acc_orientation reference system of the Accelerometer raw data (for instance: south west up became "swu", north east up became "ned")
- Return values
-
None
osx_MGR_output_t osx_MotionGR_Update | ( | osx_MGR_input_t * | data_in | ) |
Run Gesture Recognition Algorithm.
- Parameters
-
data_in pointer to the osx_MGR_input_t structure
- Return values
-
gesture index
Generated on Tue Jan 19 2016 10:38:09 for osxMotionGR Software Library by 1.8.9.1