osxMotionCP Software Library: OSX_MOTION_CP_Exported_Functions

osxMotionCP

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
versionpointer to an array of 35 char
Return values
Numberof characters in the version string
uint8_t osx_MotionCP_Initialize ( void  )

Initialize the MotionCP engine.

Parameters
None
Return values
1in case of success, 0 otherwise
void osx_MotionCP_SetOrientation_Acc ( const char *  acc_orientation)

Set the MotionCP 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
osx_MCP_output_t osx_MotionCP_Update ( osx_MCP_input_t data_in)

Run Carry Position Recognition Algorithm.

Parameters
data_inpointer to the osx_MCP_input_t structure
Return values
positionindex
Generated on Thu Oct 15 2015 15:17:20 for osxMotionCP Software Library by   doxygen 1.8.8