|
MotionAR Software Library
MotionAR Software Library Documentation
|
MOTION_AR_Exported_Functions
Functions | |
| void | MotionAR_Initialize (void) |
| Initialize the MotionAR engine. More... | |
| void | MotionAR_SetOrientation_Acc (const char *acc_orientation) |
| Set the MotionAR accelerometer data orientation. More... | |
| void | MotionAR_Update (MAR_input_t *data_in, MAR_output_t *data_out) |
| Run activity recognition algorithm. More... | |
| void | MotionAR_Reset (void) |
| Reset activity recognition algorithm. More... | |
| uint8_t | MotionAR_GetLibVersion (char *version) |
| Get the library version. More... | |
Detailed Description
Function Documentation
| uint8_t MotionAR_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 MotionAR_Initialize | ( | void | ) |
Initialize the MotionAR engine.
- Parameters
-
none
- Return values
-
none
| void MotionAR_Reset | ( | void | ) |
Reset activity recognition algorithm.
- Parameters
-
none
- Return values
-
none
| void MotionAR_SetOrientation_Acc | ( | const char * | acc_orientation | ) |
Set the MotionAR 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 MotionAR_Update | ( | MAR_input_t * | data_in, |
| MAR_output_t * | data_out | ||
| ) |
Run activity recognition algorithm.
- Parameters
-
data_in pointer to accaleration in [g] data_out pointer to activity index
- Return values
-
none
Generated on Fri Mar 31 2017 10:57:12 for MotionAR Software Library by
1.8.9.1