stm32duino / MotionFX

Sensor Fusion Library for ST sensors and microcontrollers
Other
4 stars 3 forks source link

MotionFX Library

The MotionFX is a software library that can run only on STM32 boards. It provides real-time motion-sensor data fusion. It also performs gyroscope bias and magnetometer hard iron calibration. This library is intended to work with ST MEMS only. The algorithm is provided in static library format and is designed to be used on STM32 microcontrollers based on the ARM Cortex-M0+, ARM Cortex-M3, ARM Cortex-M4, ARM Cortex-M7 or ARM Cortex-M33 architectures. The library acquires data from the accelerometer, gyroscope (6-axis fusion) and magnetometer (9-axis fusion) and provides real-time motion-sensor data fusion. The MotionFX filtering and predictive software uses advanced algorithms to intelligently integrate outputs from multiple MEMS sensors, regardless of environmental conditions, for an optimum performance. The complexity of the library dedicated to the Cortex-M0+ core is reduced due to the performance limitation of Cortex-M0+ architecture. This library uses different APIs and has less features in comparison with the version for Cortex-M3, Cortex-M4, Cortex-M7 and Cortex-M33. The recommended sensor data sampling frequency is 100 Hz. The output orientation of the algorithm can be ENU (East-North-Up) Android format or NED (North-East-Up) format.

Examples

There are several examples with the MotionFX library.

Note

Dependencies

The MotionFX library requires the following STM32duino libraries:

Documentation

You can find the library files at https://github.com/stm32duino/MotionFX

The MotionFX library user manual is available at https://www.st.com/content/ccc/resource/technical/document/user_manual/group0/31/0e/66/39/cb/f7/4e/cd/DM00394369/files/DM00394369.pdf/jcr:content/translations/en.DM00394369.pdf