Skip to main content
Visitor II
April 25, 2020
Question

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

  • April 25, 2020
  • 1 reply
  • 624 views

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

    This topic has been closed for replies.

    1 reply

    ST Employee
    April 27, 2020

    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