MotionAW Software Library
MotionAW Software Library Documentation
|
MOTION_AW_Exported_Functions
Functions | |
void | MotionAW_Initialize (void) |
Initialize the MotionAW engine. More... | |
void | MotionAW_SetOrientation_Acc (const char *acc_orientation) |
Set the MotionAW accelerometer data orientation. More... | |
void | MotionAW_Update (MAW_input_t *data_in, MAW_output_t *data_out) |
Run activity recognition algorithm. More... | |
void | MotionAW_Reset (void) |
Resets activity recognition algorithm. More... | |
void | MotionAW_Reset_Activity_Duration (void) |
Resets total activity duration counters. More... | |
uint8_t | MotionAW_GetLibVersion (char *version) |
Get the library version. More... | |
Detailed Description
Function Documentation
uint8_t MotionAW_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 MotionAW_Initialize | ( | void | ) |
Initialize the MotionAW engine.
- Parameters
-
none
- Return values
-
none
void MotionAW_Reset | ( | void | ) |
Resets activity recognition algorithm.
- Parameters
-
none
- Return values
-
none
void MotionAW_Reset_Activity_Duration | ( | void | ) |
Resets total activity duration counters.
- Parameters
-
none
- Return values
-
none
void MotionAW_SetOrientation_Acc | ( | const char * | acc_orientation | ) |
Set the MotionAW 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 MotionAW_Update | ( | MAW_input_t * | data_in, |
MAW_output_t * | data_out | ||
) |
Run activity recognition algorithm.
- Parameters
-
data_in pointer to accaleration in [g] data_out pointer to output activity structure
- Return values
-
none
Generated on Fri Mar 31 2017 11:00:54 for MotionAW Software Library by 1.8.9.1