MotionFA Software Library: MOTION_FA_Exported_Functions

Motion FA

MotionFA Software Library
MotionFA Software Library Documentation
MOTION_FA_Exported_Functions

Functions

void MotionFA_Initialize (void)
 Initialize the MotionFA engine. More...
 
void MotionFA_SetOrientation_Acc (const char *acc_orientation)
 Set the MotionFA accelerometer data orientation. More...
 
void MotionFA_BicepCurl_Update (MFA_input_t *data_in, MFA_output_t *data_out)
 Run bicep curl counter. More...
 
void MotionFA_Squat_Update (MFA_input_t *data_in, MFA_output_t *data_out)
 Run squat counter. More...
 
void MotionFA_BicepCurl_Reset (void)
 Reset bicep curl counter. More...
 
void MotionFA_Squat_Reset (void)
 Reset squat counter. More...
 
uint8_t MotionFA_GetLibVersion (char *version)
 Get the library version. More...
 

Detailed Description

Function Documentation

void MotionFA_BicepCurl_Reset ( void  )

Reset bicep curl counter.

Parameters
none
Return values
none
void MotionFA_BicepCurl_Update ( MFA_input_t data_in,
MFA_output_t data_out 
)

Run bicep curl counter.

Parameters
data_inpointer to accaleration in [g] and atmospheric pressure in [hPa]
data_outpointer to bicep curl counter
Return values
none
uint8_t MotionFA_GetLibVersion ( char *  version)

Get the library version.

Parameters
versionpointer to an array of 35 char
Return values
Numberof characters in the version string
void MotionFA_Initialize ( void  )

Initialize the MotionFA engine.

Parameters
none
Return values
none
void MotionFA_SetOrientation_Acc ( const char *  acc_orientation)

Set the MotionFA 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
void MotionFA_Squat_Reset ( void  )

Reset squat counter.

Parameters
none
Return values
none
void MotionFA_Squat_Update ( MFA_input_t data_in,
MFA_output_t data_out 
)

Run squat counter.

Parameters
data_inpointer to accaleration in [g] and atmospheric pressure in [hPa]
data_outpointer to squat counter
Return values
none
Generated on Mon Apr 24 2017 11:57:48 for MotionFA Software Library by   doxygen 1.8.9.1