Skip to main content
Explorer
January 16, 2024
Question

About MotionFx library

  • January 16, 2024
  • 2 replies
  • 3873 views

I want to calculate the displacement using the MotionX library with the LSM6DSR sensor on the stm32. For example, I want to write a code that calculates the displacement when the sensor moves 20 cm to the right on the table or calculates the displacement when it moves 20 cm to the left. As a result of my research, I found the MotionFx library, which belongs to the company ST. My problem is that I use this library. I don't know what functions to use, I would appreciate any help.

    This topic has been closed for replies.

    2 replies

    Technical Moderator
    January 19, 2024

    Hi @burak_Guzeller ,

    The motionFX library is used to get the orientation of an object in the 3D space, so it is only a step toward what you are looking for. Here is the link for the user manual that explains all the functionalities of the library.

    Technical Moderator
    February 1, 2024

    Hi @burak_Guzeller ,

    Has my answer helped you?