cancel
Showing results for 
Search instead for 
Did you mean: 

Can the STM32_MotionEC and STM32_MotionMC libraries use gyroscope data to enhance the compass response?

Rstua.1
Senior

Several months ago at an st.com seminar I was handed a SensorTile.box (STEVAL-MKSBOX1V1) to examine. I noticed right away the compass application was much more responsive then the one I implemented in our product using the STM32_MotionEC and STM32_MotionMC libraries. After a few moments it became obvious that the SensorTile.box was including the gyroscope sensors in its compass calculations.

How can I also add gyroscope data to my STM32_MotionEC and STM32_MotionMC based compass application?

-hope everyone is doing well, thanks

1 REPLY 1
Miroslav BATEK
ST Employee

Hello,

you can use MotionFX library in 9-axis mode , it performs sensor fusion from magnetometer, accelerometer and gyroscope.

It is not easily possible to add gyroscope to combination of MotionEC and MotionMC. because it is design for magnetometer and accelerometer only