Important changes to repositories hosted on mbed.com
Mbed hosted mercurial repositories are deprecated and are due to be permanently deleted in July 2026.
To keep a copy of this software download the repository Zip archive or clone locally using Mercurial.
It is also possible to export all your personal repositories from the account settings page.
Dependencies: HTS221 LIS3MDL LPS22HB LSM303AGR LSM6DSL
Fork of MOTENV_Mbed by
FX_Driver
[DATALOG_FUSION]
Functions | |
| void | MotionFX_manager_init (unsigned char instance) |
| Initialises MotionFX algorithm. | |
| void | MotionFX_manager_run (MFX_input_t *data_in, MFX_output_t *data_out, float delta_time) |
| Run sensor fusion algorithm. | |
| void | MotionFX_manager_start_6X (void) |
| Start 6 axes MotionFX engine. | |
| void | MotionFX_manager_stop_6X (void) |
| Stop 6 axes MotionFX engine. | |
| void | MotionFX_manager_start_9X (void) |
| Start 9 axes MotionFX engine. | |
| void | MotionFX_manager_stop_9X (void) |
| Stop 9 axes MotionFX engine. | |
| void | MotionFX_manager_MagCal_run (MFX_MagCal_input_t *data_in, MFX_MagCal_output_t *data_out) |
| Run magnetometer calibration algorithm. | |
| void | MotionFX_manager_MagCal_start (int sampletime) |
| Start magnetometer calibration. | |
| void | MotionFX_manager_MagCal_stop (int sampletime) |
| Stop magnetometer calibration. | |
| char | MotionFX_LoadMagCalFromNVM (unsigned short int dataSize, unsigned int *data) |
| Load calibration parameter from memory. | |
| char | MotionFX_SaveMagCalInNVM (unsigned short int dataSize, unsigned int *data) |
| Save calibration parameter to memory. | |
Function Documentation
| char MotionFX_LoadMagCalFromNVM | ( | unsigned short int | dataSize, |
| unsigned int * | data | ||
| ) |
Load calibration parameter from memory.
- Parameters:
-
dataSize length ot the data data pointer to the data
- Return values:
-
(1) fail, (0) success
Definition at line 276 of file MotionFX_Manager.cpp.
| void MotionFX_manager_init | ( | unsigned char | instance ) |
Initialises MotionFX algorithm.
- Parameters:
-
handle handle to gyroscope sensor
- Return values:
-
none
Definition at line 83 of file MotionFX_Manager.cpp.
| void MotionFX_manager_MagCal_run | ( | MFX_MagCal_input_t * | data_in, |
| MFX_MagCal_output_t * | data_out | ||
| ) |
Run magnetometer calibration algorithm.
- Parameters:
-
None
- Return values:
-
None
Definition at line 241 of file MotionFX_Manager.cpp.
| void MotionFX_manager_MagCal_start | ( | int | sampletime ) |
Start magnetometer calibration.
- Parameters:
-
None
- Return values:
-
None
Definition at line 253 of file MotionFX_Manager.cpp.
| void MotionFX_manager_MagCal_stop | ( | int | sampletime ) |
Stop magnetometer calibration.
- Parameters:
-
None
- Return values:
-
None
Definition at line 264 of file MotionFX_Manager.cpp.
| void MotionFX_manager_run | ( | MFX_input_t * | data_in, |
| MFX_output_t * | data_out, | ||
| float | delta_time | ||
| ) |
Run sensor fusion algorithm.
- Parameters:
-
None
- Return values:
-
None
Definition at line 178 of file MotionFX_Manager.cpp.
| void MotionFX_manager_start_6X | ( | void | ) |
Start 6 axes MotionFX engine.
- Parameters:
-
None
- Return values:
-
None
Definition at line 197 of file MotionFX_Manager.cpp.
| void MotionFX_manager_start_9X | ( | void | ) |
Start 9 axes MotionFX engine.
- Parameters:
-
None
- Return values:
-
None
Definition at line 219 of file MotionFX_Manager.cpp.
| void MotionFX_manager_stop_6X | ( | void | ) |
Stop 6 axes MotionFX engine.
- Parameters:
-
None
- Return values:
-
None
Definition at line 208 of file MotionFX_Manager.cpp.
| void MotionFX_manager_stop_9X | ( | void | ) |
Stop 9 axes MotionFX engine.
- Parameters:
-
None
- Return values:
-
None
Definition at line 230 of file MotionFX_Manager.cpp.
| char MotionFX_SaveMagCalInNVM | ( | unsigned short int | dataSize, |
| unsigned int * | data | ||
| ) |
Save calibration parameter to memory.
- Parameters:
-
dataSize length ot the data data pointer to the data
- Return values:
-
(1) fail, (0) success
Definition at line 293 of file MotionFX_Manager.cpp.
Generated on Tue Jul 12 2022 21:01:59 by
1.7.2
