MotionGC Software Library
MotionGC Software Library Documentation
|
MOTION_GC_Exported_Functions
Functions | |
void | MotionGC_Initialize (float freq) |
Initialize the MotionGC engine. More... | |
void | MotionGC_GetKnobs (MGC_knobs_t *knobs) |
Get the knobs setting of the library. More... | |
void | MotionGC_SetKnobs (MGC_knobs_t *knobs) |
Set the knobs setting of the library. More... | |
void | MotionGC_Update (MGC_input_t *data_in, MGC_output_t *gyro_bias, int *bias_update) |
Run gyroscope calibration algorithm and return compensation parameters. More... | |
void | MotionGC_GetCalParams (MGC_output_t *gyro_bias) |
Get the gyroscope compensation parameters. More... | |
void | MotionGC_SetCalParams (MGC_output_t *gyro_bias) |
Set the initial gyroscope compensation parameters. More... | |
void | MotionGC_SetFrequency (float freq) |
Set new sample frequency. More... | |
uint8_t | MotionGC_GetLibVersion (char *version) |
Get the library version. More... | |
Detailed Description
Function Documentation
void MotionGC_GetCalParams | ( | MGC_output_t * | gyro_bias | ) |
Get the gyroscope compensation parameters.
- Parameters
-
gyro_bias pointer to actual gyroscope offset value in [dps]
- Return values
-
none
void MotionGC_GetKnobs | ( | MGC_knobs_t * | knobs | ) |
Get the knobs setting of the library.
- Parameters
-
knobs pointer to knobs setting structure
- Return values
-
none
uint8_t MotionGC_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 MotionGC_Initialize | ( | float | freq | ) |
Initialize the MotionGC engine.
- Parameters
-
freq sampling frequency
- Return values
-
none
void MotionGC_SetCalParams | ( | MGC_output_t * | gyro_bias | ) |
Set the initial gyroscope compensation parameters.
- Parameters
-
gyro_bias pointer to actual gyroscope offset value in [dps]
- Return values
-
none
void MotionGC_SetFrequency | ( | float | freq | ) |
Set new sample frequency.
- Parameters
-
freq new sample frequency in Herz [Hz]
- Return values
-
none
void MotionGC_SetKnobs | ( | MGC_knobs_t * | knobs | ) |
Set the knobs setting of the library.
- Parameters
-
knobs pointer to knobs setting structure
- Return values
-
none
void MotionGC_Update | ( | MGC_input_t * | data_in, |
MGC_output_t * | gyro_bias, | ||
int * | bias_update | ||
) |
Run gyroscope calibration algorithm and return compensation parameters.
- Parameters
-
data_in pointer to accaleration [g] and angular rate values [dps] gyro_bias pointer to actual gyroscope offset value in [dps] bias_update pointer to an integer that is set to 1 if the gyroscope bias was updated, 0 otherwise
- Return values
-
none
Generated on Fri Mar 31 2017 11:05:21 for MotionGC Software Library by 1.8.9.1