MotionAC Software Library
MotionAC Software Library Documentation
|
MOTION_AC_Exported_Functions
Functions | |
void | MotionAC_Initialize (int sampletime, unsigned short int enable) |
Initialize the MotionAC engine. More... | |
void | MotionAC_Update (MAC_input_t *data_in) |
Run accelerometer calibration algorithm. More... | |
void | MotionAC_GetCalParams (MAC_output_t *data_out) |
Get the accelerometer compensation parameters. More... | |
uint8_t | MotionAC_GetLibVersion (char *version) |
Get the library version. More... | |
Detailed Description
Function Documentation
void MotionAC_GetCalParams | ( | MAC_output_t * | data_out | ) |
Get the accelerometer compensation parameters.
- Parameters
-
data_out pointer to actual accelerometer offset [g], scale factor correction matrix [-] and quality factor
- Return values
-
none
uint8_t MotionAC_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 MotionAC_Initialize | ( | int | sampletime, |
unsigned short int | enable | ||
) |
Initialize the MotionAC engine.
- Parameters
-
sampletime period in [ms] between the update function call enable enable or disable the library
- Return values
-
none
void MotionAC_Update | ( | MAC_input_t * | data_in | ) |
Run accelerometer calibration algorithm.
- Parameters
-
data_in pointer to accaleration [g] and timestamp values [ms]
- Return values
-
none
Generated on Fri Mar 31 2017 10:53:54 for MotionAC Software Library by
