MotionGR Software Library: MOTION_GR_Exported_Functions

Motion GR

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
versionpointer to an array of 35 char
Return values
Numberof 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_orientationreference 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_inpointer to accaleration in [g]
data_outpointer to gesture index
Return values
none
Generated on Fri Mar 31 2017 11:09:18 for MotionGR Software Library by   doxygen 1.8.9.1