cancel
Showing results for 
Search instead for 
Did you mean: 

About MotionFx library

burak_Guzeller
Associate II

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.

2 REPLIES 2
Federica Bossi
ST Employee

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.

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.
Federica Bossi
ST Employee

Hi @burak_Guzeller ,

Has my answer helped you?

In order to give better visibility on the answered topics, please click on 'Accept as Solution' on the reply which solved your issue or answered your question.