MotionGC Software Library: MOTION_GC_Exported_Functions

Motion GC

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_biaspointer 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
knobspointer to knobs setting structure
Return values
none
uint8_t MotionGC_GetLibVersion ( char *  version)

Get the library version.

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

Initialize the MotionGC engine.

Parameters
freqsampling frequency
Return values
none
void MotionGC_SetCalParams ( MGC_output_t gyro_bias)

Set the initial gyroscope compensation parameters.

Parameters
gyro_biaspointer to actual gyroscope offset value in [dps]
Return values
none
void MotionGC_SetFrequency ( float  freq)

Set new sample frequency.

Parameters
freqnew sample frequency in Herz [Hz]
Return values
none
void MotionGC_SetKnobs ( MGC_knobs_t knobs)

Set the knobs setting of the library.

Parameters
knobspointer 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_inpointer to accaleration [g] and angular rate values [dps]
gyro_biaspointer to actual gyroscope offset value in [dps]
bias_updatepointer 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   doxygen 1.8.9.1