|
MotionCP Software Library
MotionCP Software Library Documentation
|
MOTION_CP_Exported_Functions
Functions | |
| void | MotionCP_Initialize (void) |
| Initialize the MotionCP engine. More... | |
| void | MotionCP_SetOrientation_Acc (const char *acc_orientation) |
| Set the MotionCP accelerometer data orientation. More... | |
| void | MotionCP_Update (MCP_input_t *data_in, MCP_output_t *data_out) |
| Run carry position recognition algorithm. More... | |
| uint8_t | MotionCP_GetLibVersion (char *version) |
| Get the library version. More... | |
Detailed Description
Function Documentation
| uint8_t 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
| void MotionCP_Initialize | ( | void | ) |
Initialize the MotionCP engine.
- Parameters
-
none
- Return values
-
none
| void 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
| void MotionCP_Update | ( | MCP_input_t * | data_in, |
| MCP_output_t * | data_out | ||
| ) |
Run carry position recognition algorithm.
- Parameters
-
data_in pointer to accaleration in [g] data_out pointer to carry position index
- Return values
-
none
Generated on Fri Mar 31 2017 11:03:53 for MotionCP Software Library by
1.8.9.1