cancel
Showing results for 
Search instead for 
Did you mean: 

LSM6DSO inclinometer

gabriel.arnautu
Associate II

Hi,

I was playing around with Unico and I saw it has an inclinometer function. Is the code for that window available:? I tried an implementation with Kalman filter, but the Unico seems to show the angles much better.

Regards,

Gabriel

4 REPLIES 4
Eleon BORLINI
ST Employee

Hi Gabriel, welcome back. Unfortunately the source code for Unico is not available... You could however manage to implement the inclinometer function using the Tilt detection using the MotionTL middleware library of the X-CUBE-MEMS1 (here). Regards

gabriel.arnautu
Associate II

Hi Eleon,

Unico uses the same middleware?

Regards,

Gabriel

Eleon BORLINI
ST Employee

​yes Gabriel, almost similar. Sorry for my question, but are you interested in the algorithm results or in the graphical rendering of the inclinometer measure? Are you finding some lack of accuracy in using that libraries? Regards

gabriel.arnautu
Associate II

Hi Eleon,

I am intrested in the algorithm, not the GUI. Tomorrow I will try to use MotionTL and see how it goes. Actually, I need it in Python, but if I have it in C I can just convert it.

Regards