osxMotionCP Software Library
osxMotionCP Software Library Documentation
|
OSX_MOTION_CP_Exported_Functions
Functions | |
uint8_t | osx_MotionCP_Initialize (void) |
Initialize the MotionCP engine. More... | |
void | osx_MotionCP_SetOrientation_Acc (const char *acc_orientation) |
Set the MotionCP Accelerometer data orientation. More... | |
osx_MCP_output_t | osx_MotionCP_Update (osx_MCP_input_t *data_in) |
Run Carry Position Recognition Algorithm. More... | |
uint8_t | osx_MotionCP_GetLibVersion (char *version) |
Get the library version. More... | |
Detailed Description
Function Documentation
uint8_t osx_MotionCP_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_MotionCP_Initialize | ( | void | ) |
Initialize the MotionCP engine.
- Parameters
-
None
- Return values
-
1 in case of success, 0 otherwise
void osx_MotionCP_SetOrientation_Acc | ( | const char * | acc_orientation | ) |
Set the MotionCP 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_MCP_output_t osx_MotionCP_Update | ( | osx_MCP_input_t * | data_in | ) |
Run Carry Position Recognition Algorithm.
- Parameters
-
data_in pointer to the osx_MCP_input_t structure
- Return values
-
position index
Generated on Thu Oct 15 2015 15:17:20 for osxMotionCP Software Library by 1.8.8