MotionGR Software Library
MotionGR Software Library Documentation
|
MOTION_GR_Exported_Functions
Functions | |
void | MotionGR_Initialize (void) |
Initialize the MotionGR engine. More... | |
void | MotionGR_SetOrientation_Acc (const char *acc_orientation) |
Set the MotionGR accelerometer data orientation. More... | |
void | MotionGR_Update (MGR_input_t *data_in, MGR_output_t *data_out) |
Run gesture recognition algorithm. More... | |
uint8_t | MotionGR_GetLibVersion (char *version) |
Get the library version. More... | |
Detailed Description
Function Documentation
uint8_t 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
void MotionGR_Initialize | ( | void | ) |
Initialize the MotionGR engine.
- Parameters
-
none
- Return values
-
none
void 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
void MotionGR_Update | ( | MGR_input_t * | data_in, |
MGR_output_t * | data_out | ||
) |
Run gesture recognition algorithm.
- Parameters
-
data_in pointer to accaleration in [g] data_out pointer to gesture index
- Return values
-
none
Generated on Fri Mar 31 2017 11:09:18 for MotionGR Software Library by
